-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
102 lines (92 loc) · 4.95 KB
/
index.html
File metadata and controls
102 lines (92 loc) · 4.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="en" x-data="darkMode()" x-init="init()" :class="{ 'dark': isDark }">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Yoga Learning - Introduction</title>
<!-- Tailwind CDN -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Tell Tailwind to use class-based dark mode -->
<script>
tailwind.config = {
darkMode: 'class',
}
</script>
<!-- Alpine -->
<script src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js" defer></script>
</head>
<body class="bg-gray-100 dark:bg-gray-900 p-6 sm:p-10 transition-colors duration-300">
<!-- Top bar with Dark Mode Switch -->
<header class="flex justify-between items-center max-w-5xl mx-auto mb-8">
<h1 class="text-2xl sm:text-3xl font-bold text-gray-900 dark:text-gray-100">🧘 Yoga Learning System</h1>
<button @click="toggle()"
class="p-2 rounded-full bg-gray-200 dark:bg-gray-700 hover:scale-110 transition"
x-tooltip="Toggle Dark Mode">
<!-- Sun Icon (Light Mode) -->
<svg x-show="!isDark" xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6 text-yellow-500" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 3.75a.75.75 0 01.75-.75h.75a.75.75 0 010 1.5h-.75A.75.75 0 0112 3.75zM6.22 6.22a.75.75 0 011.06 0l.53.53a.75.75 0 01-1.06 1.06l-.53-.53a.75.75 0 010-1.06zm11.31 0a.75.75 0 010 1.06l-.53.53a.75.75 0 01-1.06-1.06l.53-.53a.75.75 0 011.06 0zM12 6.75a5.25 5.25 0 110 10.5 5.25 5.25 0 010-10.5zm8.25 5.25a.75.75 0 01-.75.75h-.75a.75.75 0 010-1.5h.75a.75.75 0 01.75.75zM6.75 12a.75.75 0 01-.75-.75v-.75a.75.75 0 011.5 0v.75a.75.75 0 01-.75.75zM17.78 17.78a.75.75 0 01-1.06 0l-.53-.53a.75.75 0 111.06-1.06l.53.53a.75.75 0 010 1.06zM6.22 17.78a.75.75 0 010-1.06l.53-.53a.75.75 0 111.06 1.06l-.53.53a.75.75 0 01-1.06 0zM12 19.5a.75.75 0 01.75.75v.75a.75.75 0 01-1.5 0v-.75a.75.75 0 01.75-.75z"/>
</svg>
<!-- Moon Icon (Dark Mode) -->
<svg x-show="isDark" xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6 text-gray-200" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M21 12.79A9 9 0 1111.21 3
7 7 0 0021 12.79z" />
</svg>
</button>
</header>
<!-- Introduction Section -->
<section class="max-w-5xl mx-auto bg-white dark:bg-gray-800 rounded-2xl shadow-lg overflow-hidden transition-colors duration-300">
<div class="flex flex-col md:flex-row items-center">
<!-- Image -->
<div class="w-full md:w-1/3 px-5">
<img src="images/alok-pathak.jpg" alt="Asst. Prof. Alok Pathak"
class="w-full h-full object-cover md:rounded-l-2xl">
</div>
<!-- Text Content -->
<div class="w-full md:w-2/3 p-6 sm:p-10">
<h2 class="text-2xl sm:text-3xl font-bold text-gray-900 dark:text-gray-100 mb-4">
Yoga Learning System
</h2>
<p class="text-lg text-gray-700 dark:text-gray-300 mb-3">
This is Yoga Education based innovative educational tool developed with the vision of blending traditional knowledge with modern digital learning.
</p>
<p class="text-md text-gray-600 dark:text-gray-400 mb-3">
<span class="font-semibold">Developed by:</span> <br/>
Asst. Prof. <strong>Alok Pathak</strong><br/>
(M. Sc., M. Ed., M.Phil., NET [Education])<br/>
</p>
<p class="text-md text-gray-600 dark:text-gray-400">
The purpose of this system is to make learning <strong>interactive, engaging, and self-assessing</strong>, especially in the field of Yoga education. With thoughtfully curated frames and questions, it encourages students to test, revise, and strengthen their knowledge in a professional, yet user-friendly environment.
</p>
</div>
</div>
</section>
<!-- Start Quiz Button -->
<div class="max-w-5xl mx-auto mt-8 flex justify-center">
<a href="/quiz.html"
class="w-full sm:w-auto px-10 py-4 text-lg font-bold text-white bg-gradient-to-r from-yellow-400 to-orange-500 rounded-xl shadow-lg hover:scale-105 hover:from-yellow-500 hover:to-orange-600 transition transform text-center">
🚀 Start
</a>
</div>
<!-- Footer -->
<footer class="mt-10 text-center text-gray-600 dark:text-gray-400 text-sm">
<p>© 2025 Yoga Learning System | Designed for Educational Excellence</p>
</footer>
<script>
function darkMode() {
return {
isDark: JSON.parse(localStorage.getItem('isDark')) || false,
init() {
this.isDark = JSON.parse(localStorage.getItem('isDark')) || false;
},
toggle() {
this.isDark = !this.isDark;
localStorage.setItem('isDark', JSON.stringify(this.isDark));
}
}
}
</script>
</body>
</html>