ecommerce
1 year ago
tools
2 years ago
add_new_instructor.php
2 years ago
addons.php
1 year ago
announcements.php
2 years ago
answer.php
3 years ago
course-builder.php
1 year ago
course-list.php
1 year ago
enable_disable_addons.php
3 years ago
feature-promotion.php
2 years ago
get-pro.php
2 years ago
instructors.php
1 year ago
question_answer.php
2 years ago
quiz_attempts.php
3 years ago
students.php
3 years ago
tools.php
3 years ago
tutor-pro-addons.php
1 year ago
view_attempt.php
3 years ago
welcome.php
1 year ago
whats-new.php
1 year ago
withdraw_requests.php
2 years ago
welcome.php
341 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Welcome page |
| 4 | * |
| 5 | * @package Tutor\Views |
| 6 | * @subpackage Tutor\Welcome |
| 7 | * @author Themeum <support@themeum.com> |
| 8 | * @link https://themeum.com |
| 9 | * @since 1.0.0 |
| 10 | */ |
| 11 | |
| 12 | $image_url = 'https://tutorlms.com/wp-content/uploads/2024/11'; |
| 13 | ?> |
| 14 | |
| 15 | <style type="text/css"> |
| 16 | *, |
| 17 | ::after, |
| 18 | ::before { |
| 19 | box-sizing: border-box; |
| 20 | } |
| 21 | |
| 22 | .notice, .tutor-user-registration-notice-wrapper, #wpbody-content .error { |
| 23 | display: none; |
| 24 | } |
| 25 | |
| 26 | .tutor-welcome-card { |
| 27 | background: #F8F8F8; |
| 28 | border-radius: 18px; |
| 29 | } |
| 30 | |
| 31 | .tutor-hide-welcome-button { |
| 32 | position: absolute; |
| 33 | top: -20px; |
| 34 | right: 12px; |
| 35 | display: flex; |
| 36 | align-items: center; |
| 37 | gap: 4px; |
| 38 | color: #ffffff; |
| 39 | border-color: rgba(255,255,255,0.6); |
| 40 | } |
| 41 | |
| 42 | .tutor-hide-welcome-button:hover { |
| 43 | background-color: #ffffff; |
| 44 | color: #3E64DE; |
| 45 | } |
| 46 | |
| 47 | .tutor-lms-welcome-page { |
| 48 | margin-left: -20px; |
| 49 | } |
| 50 | |
| 51 | .tutor-lms-welcome-page img { |
| 52 | max-width: 100%; |
| 53 | } |
| 54 | |
| 55 | .tutor-lms-welcome-page .tutor-header-section { |
| 56 | padding: 64px 0px 90px; |
| 57 | background-color: #0049F8; |
| 58 | } |
| 59 | |
| 60 | .tutor-header-section .tutor-container { |
| 61 | position: relative; |
| 62 | } |
| 63 | |
| 64 | .tutor-header-section .banner-content { |
| 65 | margin-top: 50px; |
| 66 | } |
| 67 | |
| 68 | .tutor-header-section .banner-title { |
| 69 | font-size: 32px; |
| 70 | line-height: 50px; |
| 71 | font-weight: 400; |
| 72 | color: #ffffff; |
| 73 | margin: 0px; |
| 74 | } |
| 75 | .tutor-header-section .banner-title strong { |
| 76 | font-weight: 700; |
| 77 | } |
| 78 | |
| 79 | .tutor-builder-section { |
| 80 | position: relative; |
| 81 | background: #F8F8F8; |
| 82 | border-radius: 18px; |
| 83 | margin-top: -124px; |
| 84 | } |
| 85 | |
| 86 | .tutor-section-title { |
| 87 | font-size: 30px; |
| 88 | line-height: 36px; |
| 89 | color: #212327; |
| 90 | margin-top: 0px; |
| 91 | margin-bottom: 16px; |
| 92 | } |
| 93 | |
| 94 | .tutor-section-title.ai-studio { |
| 95 | background: linear-gradient(73.09deg, #FF9645 18.05%, #FF6471 30.25%, #CF6EBD 55.42%, #A477D1 71.66%, #3E64DE 97.9%); |
| 96 | background-clip: text; |
| 97 | -webkit-background-clip: text; |
| 98 | -webkit-text-fill-color: transparent; |
| 99 | } |
| 100 | |
| 101 | .tutor-section-description { |
| 102 | font-size: 16px; |
| 103 | line-height: 24px; |
| 104 | color: #5B616F; |
| 105 | margin: 0px; |
| 106 | } |
| 107 | |
| 108 | @media (max-width: 1560px) { |
| 109 | .tutor-container { |
| 110 | max-width: 1080px; |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | @media (max-width: 767px) { |
| 115 | .tutor-lms-welcome-page { |
| 116 | margin-left: -10px; |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | </style> |
| 121 | |
| 122 | <div class="tutor-lms-welcome-page"> |
| 123 | <section class="tutor-header-section"> |
| 124 | <div class="tutor-container"> |
| 125 | <div class="tutor-row"> |
| 126 | <div class="tutor-col-lg-5"> |
| 127 | <div class="banner-content"> |
| 128 | <div class="tutor-mb-32"> |
| 129 | <a href="https://tutorlms.com" class="tutor-d-inline-block"> |
| 130 | <img src="<?php echo esc_url( tutor()->url ) . 'assets/images/tutor-logo-white.svg'; ?>" alt="Tutor LMS" /> |
| 131 | </a> |
| 132 | </div> |
| 133 | <h3 class="banner-title"> |
| 134 | Welcome to <strong>Tutor LMS <?php echo esc_html( TUTOR_VERSION ); ?>!</strong><br/>Redefining eLearning on WordPress |
| 135 | </h3> |
| 136 | </div> |
| 137 | </div> |
| 138 | |
| 139 | <div class="tutor-col-lg-7"> |
| 140 | <button class="tutor-btn tutor-btn-outline-primary tutor-btn-lg tutor-hide-welcome-button"> |
| 141 | <i class="tutor-icon-times"></i> |
| 142 | <?php esc_html_e( "Don't Show Again", 'tutor' ); ?> |
| 143 | </button> |
| 144 | <img src="<?php echo esc_url( $image_url ) . '/banner.png'; ?>" alt="banner" class="banner-image" /> |
| 145 | </div> |
| 146 | </div> |
| 147 | </div> |
| 148 | </section> |
| 149 | |
| 150 | <section> |
| 151 | <div class="tutor-container"> |
| 152 | <div class="tutor-builder-section"> |
| 153 | <div class="tutor-row tutor-align-center"> |
| 154 | <div class="tutor-col-lg-4 tutor-gap-4"> |
| 155 | <div class="tutor-pl-lg-40 tutor-p-24 tutor-p-lg-0"> |
| 156 | <h3 class="tutor-section-title"> |
| 157 | <?php esc_html_e( 'Reimagined Course & Quiz Builder', 'tutor' ); ?> |
| 158 | </h3> |
| 159 | <p class="tutor-section-description"> |
| 160 | <?php esc_html_e( "The reimagined course & quiz builder lets instructors craft visually rich, interactive lessons, and quizzes with ease. Add multimedia, captivating quizzes, custom paths, and more to elevate every learner's journey.", 'tutor' ); ?> |
| 161 | </p> |
| 162 | </div> |
| 163 | </div> |
| 164 | <div class="tutor-col-lg-8"> |
| 165 | <img src="<?php echo esc_url( $image_url ) . '/course-builder.png'; ?>" alt="Course builder" /> |
| 166 | </div> |
| 167 | </div> |
| 168 | </div> |
| 169 | </div> |
| 170 | </section> |
| 171 | |
| 172 | <section class="tutor-mt-32"> |
| 173 | <div class="tutor-container"> |
| 174 | <div class="tutor-row tutor-g-4"> |
| 175 | <div class="tutor-col-lg-5"> |
| 176 | <div class="tutor-welcome-card"> |
| 177 | <div class="tutor-p-24 tutor-p-lg-48 tutor-pb-lg-32"> |
| 178 | <h3 class="tutor-section-title"> |
| 179 | <?php esc_html_e( 'Native eCommerce', 'tutor' ); ?> |
| 180 | </h3> |
| 181 | <p class="tutor-section-description"> |
| 182 | <?php esc_html_e( 'Sell courses easily with native payments! Control orders, coupons, and taxes while enjoying secure payments via top gateways—all without relying on third-party tools or dependencies.', 'tutor' ); ?> |
| 183 | </p> |
| 184 | </div> |
| 185 | <div> |
| 186 | <img src="https://tutorlms.com/wp-content/uploads/2024/11/welcome-ecommerce.png" alt="Ecommerce" /> |
| 187 | </div> |
| 188 | </div> |
| 189 | </div> |
| 190 | <div class="tutor-col-lg-7"> |
| 191 | <div class="tutor-welcome-card tutor-pt-44 tutor-pb-40 tutor-px-32"> |
| 192 | <div class="tutor-row tutor-align-center"> |
| 193 | <div class="tutor-col-md-6"> |
| 194 | <img src="<?php echo esc_url( $image_url ) . '/subscriptions.png'; ?>" alt="Subscriptions" /> |
| 195 | </div> |
| 196 | <div class="tutor-col-md-6"> |
| 197 | <div class=""> |
| 198 | <h3 class="tutor-section-title"> |
| 199 | <?php esc_html_e( 'Subscriptions', 'tutor' ); ?> |
| 200 | </h3> |
| 201 | <p class="tutor-section-description"> |
| 202 | <?php esc_html_e( 'Create a recurring revenue stream with a robust subscription system. Effortlessly handle billing, and renewals, while offering flexible pricing tiers—whether monthly or yearly.', 'tutor' ); ?> |
| 203 | </p> |
| 204 | </div> |
| 205 | </div> |
| 206 | </div> |
| 207 | </div> |
| 208 | <div class="tutor-welcome-card tutor-mt-32"> |
| 209 | <div class="tutor-row tutor-align-center"> |
| 210 | <div class="tutor-col-md-6"> |
| 211 | <img src="<?php echo esc_url( $image_url ) . '/analytics.png'; ?>" alt="Analytics" /> |
| 212 | </div> |
| 213 | <div class="tutor-col-md-6"> |
| 214 | <div class="tutor-p-24 tutor-pr-md-40"> |
| 215 | <h3 class="tutor-section-title"> |
| 216 | <?php esc_html_e( 'Advanced Analytics', 'tutor' ); ?> |
| 217 | </h3> |
| 218 | <p class="tutor-section-description"> |
| 219 | <?php esc_html_e( 'Get detailed insights on courses, students, earnings, statements, and do so much more with advanced analytics.', 'tutor' ); ?> |
| 220 | </p> |
| 221 | </div> |
| 222 | </div> |
| 223 | </div> |
| 224 | </div> |
| 225 | </div> |
| 226 | </div> |
| 227 | </div> |
| 228 | </section> |
| 229 | |
| 230 | <section class="tutor-mt-32"> |
| 231 | <div class="tutor-container"> |
| 232 | <div class="tutor-welcome-card"> |
| 233 | <div class="tutor-row tutor-align-center"> |
| 234 | <div class="tutor-col-lg-4 tutor-gap-4"> |
| 235 | <div class="tutor-pl-lg-60 tutor-p-24 tutor-p-lg-0"> |
| 236 | <h3 class="tutor-section-title ai-studio"> |
| 237 | <?php esc_html_e( 'AI Studio', 'tutor' ); ?> |
| 238 | </h3> |
| 239 | <p class="tutor-section-description"> |
| 240 | <?php esc_html_e( 'Tap into the power of AI to save your course creation time and improve course quality. Generate course outlines, images, and contextual content at the click of a button.', 'tutor' ); ?> |
| 241 | </p> |
| 242 | </div> |
| 243 | </div> |
| 244 | <div class="tutor-col-lg-8"> |
| 245 | <img src="<?php echo esc_url( $image_url ) . '/ai-studio.png'; ?>" alt="AI Studio" /> |
| 246 | </div> |
| 247 | </div> |
| 248 | </div> |
| 249 | </div> |
| 250 | </section> |
| 251 | |
| 252 | <section class="tutor-mt-32"> |
| 253 | <div class="tutor-container"> |
| 254 | <div class="tutor-row tutor-g-4"> |
| 255 | <div class="tutor-col-lg-7"> |
| 256 | <div class="tutor-welcome-card tutor-pt-40 tutor-pl-lg-32"> |
| 257 | <div class="tutor-row tutor-align-center"> |
| 258 | <div class="tutor-col-md-6"> |
| 259 | <img src="<?php echo esc_url( $image_url ) . '/design.png'; ?>" alt="Design" /> |
| 260 | </div> |
| 261 | <div class="tutor-col-md-6"> |
| 262 | <div class="tutor-p-24 tutor-pr-md-40"> |
| 263 | <h3 class="tutor-section-title"> |
| 264 | <?php esc_html_e( 'Unified Design', 'tutor' ); ?> |
| 265 | </h3> |
| 266 | <p class="tutor-section-description"> |
| 267 | <?php esc_html_e( 'A cohesive, intuitive design that enhances user experience across all aspects of course creation and management.', 'tutor' ); ?> |
| 268 | </p> |
| 269 | </div> |
| 270 | </div> |
| 271 | </div> |
| 272 | </div> |
| 273 | </div> |
| 274 | <div class="tutor-col-lg-5"> |
| 275 | <div class="tutor-welcome-card tutor-p-40 tutor-d-flex tutor-align-center" style="height: 100%;"> |
| 276 | <div class="tutor-row tutor-g-4 tutor-align-center"> |
| 277 | <div class="tutor-col-md-4"> |
| 278 | <img src="<?php echo esc_url( $image_url ) . '/add-more.png'; ?>" alt="Add more" /> |
| 279 | </div> |
| 280 | <div class="tutor-col-md-8"> |
| 281 | <div class="tutor-pr-md-40"> |
| 282 | <h3 class="tutor-section-title"> |
| 283 | <?php esc_html_e( 'And more…', 'tutor' ); ?> |
| 284 | </h3> |
| 285 | <p class="tutor-section-description"> |
| 286 | <?php esc_html_e( 'Explore additional features designed to elevate your eLearning experience.', 'tutor' ); ?> |
| 287 | </p> |
| 288 | </div> |
| 289 | </div> |
| 290 | </div> |
| 291 | </div> |
| 292 | </div> |
| 293 | </div> |
| 294 | </div> |
| 295 | </section> |
| 296 | |
| 297 | <section class="tutor-mt-80"> |
| 298 | <div class="tutor-container"> |
| 299 | <div class="tutor-d-flex tutor-flex-column tutor-flex-md-row tutor-justify-center tutor-gap-4"> |
| 300 | <a class="tutor-btn tutor-btn-primary tutor-btn-lg tutor-d-block" href="<?php echo esc_url( admin_url( 'admin.php?page=tutor' ) ); ?>"> |
| 301 | <?php esc_html_e( "Let's Start Building", 'tutor' ); ?> |
| 302 | </a> |
| 303 | <a target="_blank" class="tutor-btn tutor-btn-outline-primary tutor-btn-lg tutor-d-block" |
| 304 | href="https://tutorlms.com/free-vs-pro/?utm_source=wizard&utm_medium=wp_dashboard&utm_campaign=free_vs_pro#pricing-section" rel="noreferrer noopener"> |
| 305 | <?php esc_html_e( 'Compare Free vs Pro', 'tutor' ); ?> |
| 306 | </a> |
| 307 | </div> |
| 308 | </div> |
| 309 | </section> |
| 310 | </div> |
| 311 | |
| 312 | <script> |
| 313 | jQuery(document).ready(function($) { |
| 314 | $('.tutor-hide-welcome-button').on('click', function(e) { |
| 315 | |
| 316 | const courseUrl = '<?php echo esc_url( admin_url( 'admin.php?page=tutor' ) ); ?>'; |
| 317 | const nonce = '<?php echo esc_attr( wp_create_nonce( 'tutor_nonce_action' ) ); ?>'; |
| 318 | |
| 319 | $.ajax({ |
| 320 | url: ajaxurl, |
| 321 | type: 'POST', |
| 322 | data: { |
| 323 | _tutor_nonce: nonce, |
| 324 | action: 'tutor_do_not_show_feature_page' |
| 325 | }, |
| 326 | beforeSend: function () { |
| 327 | e.target.classList.add('is-loading'); |
| 328 | e.target.setAttribute('disabled', true); |
| 329 | }, |
| 330 | success: function(response) { |
| 331 | window.location.href = courseUrl; |
| 332 | }, |
| 333 | complete: function() { |
| 334 | e.target.classList.remove('is-loading'); |
| 335 | e.target.removeAttribute('disabled'); |
| 336 | } |
| 337 | }); |
| 338 | }); |
| 339 | }); |
| 340 | </script> |
| 341 |