| @@ -1,0 +1,63 @@ | ||
| 1 | +<?php | |
| 2 | +defined('ABSPATH') || die('Restricted Access'); | |
| 3 | +?> | |
| 4 | +<script type="text/javascript"> | |
| 5 | + window.acymailingSplash = <?php echo json_encode($data['splashJson']); ?>; | |
| 6 | +</script> | |
| 7 | + | |
| 8 | +<div id="acym__splashscreen" class="cell grid-x "> | |
| 9 | + <div class="acym__splashscreen__container"> | |
| 10 | + <div class="acym__splashscreen__box"> | |
| 11 | + <div class="acym__splashscreen__menu"> | |
| 12 | + <div class="acym__splashscreen__menu__title"> | |
| 13 | + <h2> | |
| 14 | + <span class="acym__splashscreen__menu__title-big">NEW</span> | |
| 15 | + <span class="acym__splashscreen__menu__title-updates">VERSION</span> | |
| 16 | + </h2> | |
| 17 | + | |
| 18 | + <button class="acym_vcenter align-center large-shrink button" | |
| 19 | + type="button" @click="skipButton"> | |
| 20 | + <?php echo esc_html(acym_translation('ACYM_SKIP')); ?> | |
| 21 | + </button> | |
| 22 | + </div> | |
| 23 | + | |
| 24 | + <div v-for="menu in menus" :key="menu.menu_title" @click="toggleMenu(menu)"> | |
| 25 | + <h3 :class="{ acym__splashscreen__menu__active: activeMenu==menu }" class="acym__splashscreen__menu__container"> | |
| 26 | + <span class="acym__splashscreen__menu__span"> ></span> {{ menu.menu_title }} <i :class="menu.menu_icon"></i> | |
| 27 | + </h3> | |
| 28 | + </div> | |
| 29 | + </div> | |
| 30 | + | |
| 31 | + <div class="acym__splashscreen__body"> | |
| 32 | + <div v-if="activeMenu"> | |
| 33 | + <div class="acym__splashscreen__body__buttonWrapper"> | |
| 34 | + <a href="<?php echo esc_url(ACYM_ACYMAILING_WEBSITE).'changelog/'; ?>" | |
| 35 | + class="acym_vcenter align-center large-shrink button" | |
| 36 | + target="_blank"> | |
| 37 | + <?php echo esc_html(acym_translation('ACYM_SEE_FULL_CHANGELOG')); ?> | |
| 38 | + </a> | |
| 39 | + <a v-if="this.menus.indexOf(this.activeMenu)+1 < this.menus.length" | |
| 40 | + class="acym_vcenter align-center large-shrink button button-secondary" | |
| 41 | + @click="toggleNextMenu"><?php echo esc_html(acym_translation('ACYM_NEXT')); ?></a> | |
| 42 | + <a v-if="this.menus.indexOf(this.activeMenu)+1 === this.menus.length" | |
| 43 | + class="acym_vcenter align-center large-shrink button button-secondary acym__splashscreen__bottom__skip__button" | |
| 44 | + @click="skipButton"><?php echo esc_html(acym_translation('ACYM_SKIP')); ?></a> | |
| 45 | + </div> | |
| 46 | + | |
| 47 | + <h2 class="acym__splashscreen__title">{{activeMenu.title}}</h2> | |
| 48 | + | |
| 49 | + <div v-for="article in activeMenu.articles" :key="article.title" class="acym__splashscreen__body__content"> | |
| 50 | + <h3><i :class="activeMenu.menu_icon"></i> {{ article.title }}</h3> | |
| 51 | + <p>{{ article.desc }}</p> | |
| 52 | + </div> | |
| 53 | + <button v-if="this.menus.indexOf(this.activeMenu)+1 === this.menus.length" | |
| 54 | + class="acym_vcenter align-center large-shrink button acym__splashscreen__bottom__skip__button" | |
| 55 | + type="button" | |
| 56 | + @click="skipButton"> | |
| 57 | + <?php echo esc_html(acym_translation('ACYM_SKIP')); ?> | |
| 58 | + </button> | |
| 59 | + </div> | |
| 60 | + </div> | |
| 61 | + </div> | |
| 62 | + </div> | |
| 63 | +</div> | |