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.6.2 3.6.3 3.6.4 3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.8.0 3.8.1 3.8.2 3.8.3 3.9.0 3.9.1 3.9.10 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 3.9.7 3.9.8 3.9.9
tutor / views / pages / welcome.php
tutor / views / pages Last commit date
ecommerce 2 months ago tools 2 months ago add_new_instructor.php 2 years ago addons.php 1 year ago announcements.php 2 months ago answer.php 3 years ago course-builder.php 1 year ago course-list.php 2 months ago enable_disable_addons.php 10 months ago feature-promotion.php 2 years ago get-pro.php 8 months ago instructors.php 2 months ago question_answer.php 11 months ago quiz_attempts.php 9 months ago students.php 2 months ago tools.php 3 years ago view_attempt.php 5 months ago welcome.php 1 year ago whats-new.php 11 months ago withdraw_requests.php 2 months ago
welcome.php
354 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 .rtl .tutor-lms-welcome-page {
52 margin-left: 0px;
53 margin-right: -20px;
54 }
55
56 .tutor-lms-welcome-page img {
57 max-width: 100%;
58 }
59
60 .tutor-lms-welcome-page .tutor-header-section {
61 padding: 64px 0px 90px;
62 background-color: #0049F8;
63 }
64
65 .tutor-header-section .tutor-container {
66 position: relative;
67 }
68
69 .tutor-header-section .banner-content {
70 margin-top: 50px;
71 }
72
73 .tutor-header-section .banner-title {
74 font-size: 32px;
75 line-height: 50px;
76 font-weight: 400;
77 color: #ffffff;
78 margin: 0px;
79 }
80 .tutor-header-section .banner-title strong {
81 font-weight: 700;
82 }
83
84 .tutor-builder-section {
85 position: relative;
86 background: #F8F8F8;
87 border-radius: 18px;
88 margin-top: -124px;
89 }
90
91 .tutor-section-title {
92 font-size: 30px;
93 line-height: 36px;
94 color: #212327;
95 margin-top: 0px;
96 margin-bottom: 16px;
97 }
98
99 .tutor-section-title.ai-studio {
100 background: linear-gradient(73.09deg, #FF9645 18.05%, #FF6471 30.25%, #CF6EBD 55.42%, #A477D1 71.66%, #3E64DE 97.9%);
101 background-clip: text;
102 -webkit-background-clip: text;
103 -webkit-text-fill-color: transparent;
104 }
105
106 .tutor-section-description {
107 font-size: 16px;
108 line-height: 24px;
109 color: #5B616F;
110 margin: 0px;
111 }
112
113 @media (max-width: 1560px) {
114 .tutor-container {
115 max-width: 1080px;
116 }
117 }
118
119 @media (max-width: 767px) {
120 .tutor-lms-welcome-page {
121 margin-left: -10px;
122 }
123 }
124
125 </style>
126
127 <div class="tutor-lms-welcome-page">
128 <section class="tutor-header-section">
129 <div class="tutor-container">
130 <div class="tutor-row">
131 <div class="tutor-col-lg-5">
132 <div class="banner-content">
133 <div class="tutor-mb-32">
134 <a href="https://tutorlms.com" class="tutor-d-inline-block">
135 <img src="<?php echo esc_url( tutor()->url ) . 'assets/images/tutor-logo-white.svg'; ?>" alt="Tutor LMS" />
136 </a>
137 </div>
138 <h3 class="banner-title">
139 <?php
140 echo wp_kses_post(
141 sprintf(
142 /* translators: %s: Tutor LMS version */
143 __( 'Welcome to <strong>Tutor LMS %s!</strong><br/>Redefining eLearning on WordPress', 'tutor' ),
144 esc_html( TUTOR_VERSION )
145 )
146 );
147 ?>
148 </h3>
149 </div>
150 </div>
151
152 <div class="tutor-col-lg-7">
153 <button class="tutor-btn tutor-btn-outline-primary tutor-btn-lg tutor-hide-welcome-button">
154 <i class="tutor-icon-times"></i>
155 <?php esc_html_e( "Don't Show Again", 'tutor' ); ?>
156 </button>
157 <img src="<?php echo esc_url( $image_url ) . '/banner.png'; ?>" alt="banner" class="banner-image" />
158 </div>
159 </div>
160 </div>
161 </section>
162
163 <section>
164 <div class="tutor-container">
165 <div class="tutor-builder-section">
166 <div class="tutor-row tutor-align-center">
167 <div class="tutor-col-lg-4 tutor-gap-4">
168 <div class="tutor-pl-lg-40 tutor-p-24 tutor-p-lg-0">
169 <h3 class="tutor-section-title">
170 <?php esc_html_e( 'Reimagined Course & Quiz Builder', 'tutor' ); ?>
171 </h3>
172 <p class="tutor-section-description">
173 <?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' ); ?>
174 </p>
175 </div>
176 </div>
177 <div class="tutor-col-lg-8">
178 <img src="<?php echo esc_url( $image_url ) . '/course-builder.png'; ?>" alt="Course builder" />
179 </div>
180 </div>
181 </div>
182 </div>
183 </section>
184
185 <section class="tutor-mt-32">
186 <div class="tutor-container">
187 <div class="tutor-row tutor-g-4">
188 <div class="tutor-col-lg-5">
189 <div class="tutor-welcome-card">
190 <div class="tutor-p-24 tutor-p-lg-48 tutor-pb-lg-32">
191 <h3 class="tutor-section-title">
192 <?php esc_html_e( 'Native eCommerce', 'tutor' ); ?>
193 </h3>
194 <p class="tutor-section-description">
195 <?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' ); ?>
196 </p>
197 </div>
198 <div>
199 <img src="https://tutorlms.com/wp-content/uploads/2024/11/welcome-ecommerce.png" alt="Ecommerce" />
200 </div>
201 </div>
202 </div>
203 <div class="tutor-col-lg-7">
204 <div class="tutor-welcome-card tutor-pt-44 tutor-pb-40 tutor-px-32">
205 <div class="tutor-row tutor-align-center">
206 <div class="tutor-col-md-6">
207 <img src="<?php echo esc_url( $image_url ) . '/subscriptions.png'; ?>" alt="Subscriptions" />
208 </div>
209 <div class="tutor-col-md-6">
210 <div class="">
211 <h3 class="tutor-section-title">
212 <?php esc_html_e( 'Subscriptions & Memberships', 'tutor' ); ?>
213 </h3>
214 <p class="tutor-section-description">
215 <?php esc_html_e( 'Create a recurring revenue stream with a robust subscriptions and memberships system. Provide course-specific or full-site access with customizable pricing tiers.', 'tutor' ); ?>
216 </p>
217 </div>
218 </div>
219 </div>
220 </div>
221 <div class="tutor-welcome-card tutor-mt-32">
222 <div class="tutor-row tutor-align-center">
223 <div class="tutor-col-md-6">
224 <img src="<?php echo esc_url( $image_url ) . '/analytics.png'; ?>" alt="Analytics" />
225 </div>
226 <div class="tutor-col-md-6">
227 <div class="tutor-p-24 tutor-pr-md-40">
228 <h3 class="tutor-section-title">
229 <?php esc_html_e( 'Advanced Analytics', 'tutor' ); ?>
230 </h3>
231 <p class="tutor-section-description">
232 <?php esc_html_e( 'Get detailed insights on courses, students, earnings, statements, and do so much more with advanced analytics.', 'tutor' ); ?>
233 </p>
234 </div>
235 </div>
236 </div>
237 </div>
238 </div>
239 </div>
240 </div>
241 </section>
242
243 <section class="tutor-mt-32">
244 <div class="tutor-container">
245 <div class="tutor-welcome-card">
246 <div class="tutor-row tutor-align-center">
247 <div class="tutor-col-lg-4 tutor-gap-4">
248 <div class="tutor-pl-lg-60 tutor-p-24 tutor-p-lg-0">
249 <h3 class="tutor-section-title ai-studio">
250 <?php esc_html_e( 'AI Studio', 'tutor' ); ?>
251 </h3>
252 <p class="tutor-section-description">
253 <?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' ); ?>
254 </p>
255 </div>
256 </div>
257 <div class="tutor-col-lg-8">
258 <img src="<?php echo esc_url( $image_url ) . '/ai-studio.png'; ?>" alt="AI Studio" />
259 </div>
260 </div>
261 </div>
262 </div>
263 </section>
264
265 <section class="tutor-mt-32">
266 <div class="tutor-container">
267 <div class="tutor-row tutor-g-4">
268 <div class="tutor-col-lg-7">
269 <div class="tutor-welcome-card tutor-pt-40 tutor-pl-lg-32">
270 <div class="tutor-row tutor-align-center">
271 <div class="tutor-col-md-6">
272 <img src="<?php echo esc_url( $image_url ) . '/design.png'; ?>" alt="Design" />
273 </div>
274 <div class="tutor-col-md-6">
275 <div class="tutor-p-24 tutor-pr-md-40">
276 <h3 class="tutor-section-title">
277 <?php esc_html_e( 'Unified Design', 'tutor' ); ?>
278 </h3>
279 <p class="tutor-section-description">
280 <?php esc_html_e( 'A cohesive, intuitive design that enhances user experience across all aspects of course creation and management.', 'tutor' ); ?>
281 </p>
282 </div>
283 </div>
284 </div>
285 </div>
286 </div>
287 <div class="tutor-col-lg-5">
288 <div class="tutor-welcome-card tutor-p-40 tutor-d-flex tutor-align-center" style="height: 100%;">
289 <div class="tutor-row tutor-g-4 tutor-align-center">
290 <div class="tutor-col-md-4">
291 <img src="<?php echo esc_url( $image_url ) . '/add-more.png'; ?>" alt="Add more" />
292 </div>
293 <div class="tutor-col-md-8">
294 <div class="tutor-pr-md-40">
295 <h3 class="tutor-section-title">
296 <?php esc_html_e( 'And more…', 'tutor' ); ?>
297 </h3>
298 <p class="tutor-section-description">
299 <?php esc_html_e( 'Explore additional features designed to elevate your eLearning experience.', 'tutor' ); ?>
300 </p>
301 </div>
302 </div>
303 </div>
304 </div>
305 </div>
306 </div>
307 </div>
308 </section>
309
310 <section class="tutor-mt-80">
311 <div class="tutor-container">
312 <div class="tutor-d-flex tutor-flex-column tutor-flex-md-row tutor-justify-center tutor-gap-4">
313 <a class="tutor-btn tutor-btn-primary tutor-btn-lg tutor-d-block" href="<?php echo esc_url( admin_url( 'admin.php?page=tutor' ) ); ?>">
314 <?php esc_html_e( "Let's Start Building", 'tutor' ); ?>
315 </a>
316 <a target="_blank" class="tutor-btn tutor-btn-outline-primary tutor-btn-lg tutor-d-block"
317 href="https://tutorlms.com/free-vs-pro/?utm_source=wizard&utm_medium=wp_dashboard&utm_campaign=free_vs_pro#pricing-section" rel="noreferrer noopener">
318 <?php esc_html_e( 'Compare Free vs Pro', 'tutor' ); ?>
319 </a>
320 </div>
321 </div>
322 </section>
323 </div>
324
325 <script>
326 jQuery(document).ready(function($) {
327 $('.tutor-hide-welcome-button').on('click', function(e) {
328
329 const courseUrl = '<?php echo esc_url( admin_url( 'admin.php?page=tutor' ) ); ?>';
330 const nonce = '<?php echo esc_attr( wp_create_nonce( 'tutor_nonce_action' ) ); ?>';
331
332 $.ajax({
333 url: ajaxurl,
334 type: 'POST',
335 data: {
336 _tutor_nonce: nonce,
337 action: 'tutor_do_not_show_feature_page'
338 },
339 beforeSend: function () {
340 e.target.classList.add('is-loading');
341 e.target.setAttribute('disabled', true);
342 },
343 success: function(response) {
344 window.location.href = courseUrl;
345 },
346 complete: function() {
347 e.target.classList.remove('is-loading');
348 e.target.removeAttribute('disabled');
349 }
350 });
351 });
352 });
353 </script>
354