welcome.php
31 lines
| 1 | <div class="ctf-fb-full-wrapper ctf-fb-fs" v-if="viewsActive.pageScreen == 'welcome' && !iscustomizerScreen"> |
| 2 | <?php |
| 3 | /** |
| 4 | * CFF Admin Notices |
| 5 | * |
| 6 | * @since 2.0 |
| 7 | */ |
| 8 | do_action('ctf_admin_notices'); |
| 9 | ?> |
| 10 | |
| 11 | <div class="ctf-fb-wlcm-header ctf-fb-fs"> |
| 12 | <h2>{{welcomeScreen.mainHeading}}</h2> |
| 13 | <div class="sb-positioning-wrap" v-bind:class="{ 'sb-onboarding-highlight' : viewsActive.onboardingStep === 1 }"> |
| 14 | <div class="ctf-fb-btn ctf-fb-btn-new ctf-btn-orange" @click.prevent.default="createNewFeed()"> |
| 15 | <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"> |
| 16 | <path d="M9.66537 5.66659H5.66536V9.66659H4.33203V5.66659H0.332031V4.33325H4.33203V0.333252H5.66536V4.33325H9.66537V5.66659Z" fill="white"/> |
| 17 | </svg> |
| 18 | <span>{{genericText.addNew}}</span> |
| 19 | </div> |
| 20 | </div> |
| 21 | </div> |
| 22 | <?php |
| 23 | include_once CTF_BUILDER_DIR . 'templates/sections/empty-state.php'; |
| 24 | include_once CTF_BUILDER_DIR . 'templates/sections/feeds-list.php'; |
| 25 | ?> |
| 26 | <div v-if="licenseType == 'free'" class="ctf-fb-fs"> |
| 27 | <?php |
| 28 | TwitterFeed\Admin\CTF_View::render( 'sections.builder_footer_cta' ); |
| 29 | ?> |
| 30 | </div> |
| 31 | </div> |