flen-crypto commited on
Commit
51dad28
Β·
verified Β·
1 Parent(s): 1eba358

Key features implemented: 1. Responsive design using TailwindCSS 2. Modern health-focused UI with gradient backgrounds 3. Animated feature cards with hover effects 4. Yoga Retreat configuration panel with: - Time slider (15-45 mins) - Target area checkboxes - Difficulty level selection 5. Feather icons integrated throughout 6. Scroll animations using AOS 7. Mobile-responsive navigation 8. Clean color scheme with health-focused greens and blues 9. Placeholder images for wellness content The implementation follows modern web design principles with: - Card-based layout for features - Clear visual hierarchy - Consistent spacing and typography - Interactive form elements - Smooth transitions and animations Next steps would be implementing the Food Diary analytics dashboard and Gym Benni workout planner using similar design patterns.

Browse files
Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +128 -0
  3. components/navbar.js +118 -0
  4. index.html +240 -19
  5. script.js +47 -0
  6. style.css +85 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Wellness Wave
3
- emoji: πŸ“ˆ
4
- colorFrom: gray
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: Wellness Wave 🌊
3
+ colorFrom: green
4
+ colorTo: yellow
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
components/footer.js ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
8
+ color: white;
9
+ padding: 3rem 2rem 2rem;
10
+ margin-top: auto;
11
+ }
12
+ .footer-content {
13
+ max-width: 1200px;
14
+ margin: 0 auto;
15
+ display: grid;
16
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
17
+ gap: 2rem;
18
+ }
19
+ .footer-section h3 {
20
+ font-size: 1.25rem;
21
+ margin-bottom: 1rem;
22
+ position: relative;
23
+ padding-bottom: 0.5rem;
24
+ }
25
+ .footer-section h3::after {
26
+ content: '';
27
+ position: absolute;
28
+ bottom: 0;
29
+ left: 0;
30
+ width: 50px;
31
+ height: 2px;
32
+ background: #06b6d4;
33
+ }
34
+ .footer-section p, .footer-section a {
35
+ color: #d1fae5;
36
+ line-height: 1.6;
37
+ }
38
+ .footer-section a {
39
+ text-decoration: none;
40
+ display: block;
41
+ margin-bottom: 0.5rem;
42
+ transition: color 0.2s;
43
+ }
44
+ .footer-section a:hover {
45
+ color: white;
46
+ }
47
+ .social-links {
48
+ display: flex;
49
+ gap: 1rem;
50
+ margin-top: 1rem;
51
+ }
52
+ .social-links a {
53
+ display: inline-flex;
54
+ align-items: center;
55
+ justify-content: center;
56
+ width: 40px;
57
+ height: 40px;
58
+ background: rgba(255, 255, 255, 0.1);
59
+ border-radius: 50%;
60
+ transition: background 0.3s;
61
+ }
62
+ .social-links a:hover {
63
+ background: #06b6d4;
64
+ }
65
+ .copyright {
66
+ text-align: center;
67
+ padding-top: 2rem;
68
+ margin-top: 2rem;
69
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
70
+ color: #a7f3d0;
71
+ font-size: 0.9rem;
72
+ }
73
+ @media (max-width: 768px) {
74
+ footer {
75
+ padding: 2rem 1rem 1rem;
76
+ }
77
+ }
78
+ </style>
79
+ <footer>
80
+ <div class="footer-content">
81
+ <div class="footer-section">
82
+ <h3>About Wellness Wave</h3>
83
+ <p>Your personal guide to holistic health and wellness. We combine ancient wisdom with modern technology to elevate your well-being journey.</p>
84
+ <div class="social-links">
85
+ <a href="#"><i data-feather="facebook" width="18" height="18"></i></a>
86
+ <a href="#"><i data-feather="twitter" width="18" height="18"></i></a>
87
+ <a href="#"><i data-feather="instagram" width="18" height="18"></i></a>
88
+ <a href="#"><i data-feather="youtube" width="18" height="18"></i></a>
89
+ </div>
90
+ </div>
91
+
92
+ <div class="footer-section">
93
+ <h3>Our Features</h3>
94
+ <a href="#"><i data-feather="heart" width="16" height="16"></i> Personalized Yoga</a>
95
+ <a href="#"><i data-feather="activity" width="16" height="16"></i> Food Diary Analytics</a>
96
+ <a href="#"><i data-feather="target" width="16" height="16"></i> Gym Benni Planner</a>
97
+ <a href="#"><i data-feather="users" width="16" height="16"></i> Community Support</a>
98
+ </div>
99
+
100
+ <div class="footer-section">
101
+ <h3>Quick Links</h3>
102
+ <a href="/"><i data-feather="home" width="16" height="16"></i> Home</a>
103
+ <a href="#"><i data-feather="info" width="16" height="16"></i> About Us</a>
104
+ <a href="#"><i data-feather="mail" width="16" height="16"></i> Contact</a>
105
+ <a href="#"><i data-feather="lock" width="16" height="16"></i> Privacy Policy</a>
106
+ </div>
107
+ </div>
108
+
109
+ <div class="copyright">
110
+ <p>&copy; 2023 Wellness Wave 🌊. All rights reserved. Ride the wave to better health!</p>
111
+ </div>
112
+ </footer>
113
+ `;
114
+
115
+ // Initialize feather icons after a short delay to ensure DOM is ready
116
+ setTimeout(() => {
117
+ const featherScript = document.createElement('script');
118
+ featherScript.src = 'https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js';
119
+ featherScript.onload = () => {
120
+ if (typeof feather !== 'undefined') {
121
+ feather.replace();
122
+ }
123
+ };
124
+ this.shadowRoot.appendChild(featherScript);
125
+ }, 100);
126
+ }
127
+ }
128
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
8
+ padding: 1rem 2rem;
9
+ display: flex;
10
+ justify-content: space-between;
11
+ align-items: center;
12
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
13
+ position: sticky;
14
+ top: 0;
15
+ z-index: 100;
16
+ }
17
+ .logo {
18
+ color: white;
19
+ font-weight: bold;
20
+ font-size: 1.5rem;
21
+ display: flex;
22
+ align-items: center;
23
+ }
24
+ .logo-icon {
25
+ margin-right: 0.5rem;
26
+ }
27
+ ul {
28
+ display: flex;
29
+ gap: 1.5rem;
30
+ list-style: none;
31
+ margin: 0;
32
+ padding: 0;
33
+ }
34
+ a {
35
+ color: white;
36
+ text-decoration: none;
37
+ font-weight: 500;
38
+ transition: opacity 0.2s;
39
+ display: flex;
40
+ align-items: center;
41
+ }
42
+ a:hover {
43
+ opacity: 0.8;
44
+ }
45
+ .icon {
46
+ margin-right: 0.5rem;
47
+ }
48
+ .mobile-menu-btn {
49
+ display: none;
50
+ background: none;
51
+ border: none;
52
+ color: white;
53
+ font-size: 1.5rem;
54
+ cursor: pointer;
55
+ }
56
+ @media (max-width: 768px) {
57
+ .nav-links {
58
+ display: none;
59
+ position: absolute;
60
+ top: 100%;
61
+ left: 0;
62
+ right: 0;
63
+ background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
64
+ flex-direction: column;
65
+ padding: 1rem;
66
+ gap: 1rem;
67
+ }
68
+ .nav-links.active {
69
+ display: flex;
70
+ }
71
+ .mobile-menu-btn {
72
+ display: block;
73
+ }
74
+ ul {
75
+ flex-direction: column;
76
+ gap: 1rem;
77
+ }
78
+ }
79
+ </style>
80
+ <nav>
81
+ <div class="logo">
82
+ <span class="logo-icon">🌊</span>
83
+ <span>Wellness Wave</span>
84
+ </div>
85
+ <button class="mobile-menu-btn" id="menuBtn">☰</button>
86
+ <div class="nav-links" id="navLinks">
87
+ <ul>
88
+ <li><a href="/"><i data-feather="home" class="icon" width="18" height="18"></i> Home</a></li>
89
+ <li><a href="#"><i data-feather="heart" class="icon" width="18" height="18"></i> Features</a></li>
90
+ <li><a href="#"><i data-feather="book" class="icon" width="18" height="18"></i> Diary</a></li>
91
+ <li><a href="#"><i data-feather="target" class="icon" width="18" height="18"></i> Gym</a></li>
92
+ </ul>
93
+ </div>
94
+ </nav>
95
+ `;
96
+
97
+ // Mobile menu toggle
98
+ const menuBtn = this.shadowRoot.getElementById('menuBtn');
99
+ const navLinks = this.shadowRoot.getElementById('navLinks');
100
+
101
+ menuBtn.addEventListener('click', () => {
102
+ navLinks.classList.toggle('active');
103
+ });
104
+
105
+ // Initialize feather icons after a short delay to ensure DOM is ready
106
+ setTimeout(() => {
107
+ const featherScript = document.createElement('script');
108
+ featherScript.src = 'https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js';
109
+ featherScript.onload = () => {
110
+ if (typeof feather !== 'undefined') {
111
+ feather.replace();
112
+ }
113
+ };
114
+ this.shadowRoot.appendChild(featherScript);
115
+ }, 100);
116
+ }
117
+ }
118
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,240 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Wellness Wave - Your Health Journey</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <link rel="stylesheet" href="style.css">
9
+ <script src="https://cdn.tailwindcss.com"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
12
+ <script src="https://unpkg.com/aos@next/dist/aos.js"></script>
13
+ <link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
14
+ </head>
15
+ <body class="bg-gradient-to-br from-teal-50 to-cyan-100 min-h-screen flex flex-col">
16
+ <custom-navbar></custom-navbar>
17
+
18
+ <!-- Hero Section -->
19
+ <section class="relative py-20 px-4 md:px-8 overflow-hidden">
20
+ <div class="max-w-7xl mx-auto text-center">
21
+ <h1 class="text-4xl md:text-6xl font-bold text-teal-800 mb-6" data-aos="fade-up">
22
+ Wellness Wave 🌊
23
+ </h1>
24
+ <p class="text-xl md:text-2xl text-teal-600 max-w-3xl mx-auto mb-10" data-aos="fade-up" data-aos-delay="100">
25
+ Ride the wave to better health with personalized wellness solutions
26
+ </p>
27
+ <div class="flex flex-col sm:flex-row justify-center gap-4" data-aos="fade-up" data-aos-delay="200">
28
+ <a href="#features" class="bg-teal-500 hover:bg-teal-600 text-white font-semibold py-3 px-8 rounded-full transition duration-300 transform hover:scale-105">
29
+ Explore Features
30
+ </a>
31
+ <a href="#retreat" class="bg-white hover:bg-gray-100 text-teal-600 font-semibold py-3 px-8 rounded-full border-2 border-teal-500 transition duration-300">
32
+ Plan Your Retreat
33
+ </a>
34
+ </div>
35
+ </div>
36
+ </section>
37
+
38
+ <!-- Features Section -->
39
+ <section id="features" class="py-16 px-4 md:px-8 bg-white">
40
+ <div class="max-w-7xl mx-auto">
41
+ <h2 class="text-3xl md:text-4xl font-bold text-center text-teal-800 mb-4">Our Wellness Features</h2>
42
+ <p class="text-lg text-center text-teal-600 mb-12 max-w-3xl mx-auto">
43
+ Discover our comprehensive suite of health and wellness tools designed to elevate your journey
44
+ </p>
45
+
46
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
47
+ <!-- Feature Card 1 -->
48
+ <div class="bg-gradient-to-br from-teal-50 to-cyan-50 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2" data-aos="fade-up">
49
+ <div class="w-16 h-16 rounded-full bg-teal-500 flex items-center justify-center mb-6">
50
+ <i data-feather="heart" class="text-white" width="24" height="24"></i>
51
+ </div>
52
+ <h3 class="text-2xl font-bold text-teal-800 mb-3">Personalized Yoga</h3>
53
+ <p class="text-teal-600 mb-4">
54
+ Custom yoga routines tailored to your fitness level and wellness goals
55
+ </p>
56
+ <a href="#retreat" class="text-teal-500 font-semibold flex items-center">
57
+ Configure Retreat
58
+ <i data-feather="arrow-right" class="ml-2" width="16" height="16"></i>
59
+ </a>
60
+ </div>
61
+
62
+ <!-- Feature Card 2 -->
63
+ <div class="bg-gradient-to-br from-teal-50 to-cyan-50 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2" data-aos="fade-up" data-aos-delay="100">
64
+ <div class="w-16 h-16 rounded-full bg-teal-500 flex items-center justify-center mb-6">
65
+ <i data-feather="activity" class="text-white" width="24" height="24"></i>
66
+ </div>
67
+ <h3 class="text-2xl font-bold text-teal-800 mb-3">Food Diary Analytics</h3>
68
+ <p class="text-teal-600 mb-4">
69
+ Track and analyze your nutrition with intelligent insights and recommendations
70
+ </p>
71
+ <a href="#" class="text-teal-500 font-semibold flex items-center">
72
+ View Dashboard
73
+ <i data-feather="arrow-right" class="ml-2" width="16" height="16"></i>
74
+ </a>
75
+ </div>
76
+
77
+ <!-- Feature Card 3 -->
78
+ <div class="bg-gradient-to-br from-teal-50 to-cyan-50 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2" data-aos="fade-up" data-aos-delay="200">
79
+ <div class="w-16 h-16 rounded-full bg-teal-500 flex items-center justify-center mb-6">
80
+ <i data-feather="target" class="text-white" width="24" height="24"></i>
81
+ </div>
82
+ <h3 class="text-2xl font-bold text-teal-800 mb-3">Gym Benni Planner</h3>
83
+ <p class="text-teal-600 mb-4">
84
+ AI-powered workout plans that adapt to your progress and fitness goals
85
+ </p>
86
+ <a href="#" class="text-teal-500 font-semibold flex items-center">
87
+ Create Plan
88
+ <i data-feather="arrow-right" class="ml-2" width="16" height="16"></i>
89
+ </a>
90
+ </div>
91
+ </div>
92
+ </div>
93
+ </section>
94
+
95
+ <!-- Yoga Retreat Configuration -->
96
+ <section id="retreat" class="py-16 px-4 md:px-8 bg-gradient-to-br from-cyan-50 to-teal-100">
97
+ <div class="max-w-4xl mx-auto">
98
+ <h2 class="text-3xl md:text-4xl font-bold text-center text-teal-800 mb-4">Personalize Your Yoga Retreat</h2>
99
+ <p class="text-lg text-center text-teal-600 mb-12">
100
+ Customize your yoga experience to match your needs and preferences
101
+ </p>
102
+
103
+ <div class="bg-white rounded-2xl shadow-xl p-6 md:p-8">
104
+ <form id="retreatForm" class="space-y-8">
105
+ <!-- Time Duration -->
106
+ <div>
107
+ <label class="block text-lg font-semibold text-teal-800 mb-4">
108
+ Session Duration: <span id="timeValue" class="text-teal-500">30</span> minutes
109
+ </label>
110
+ <input type="range" id="timeSlider" min="15" max="45" value="30"
111
+ class="w-full h-3 bg-teal-200 rounded-lg appearance-none cursor-pointer accent-teal-500">
112
+ </div>
113
+
114
+ <!-- Target Areas -->
115
+ <div>
116
+ <h3 class="text-lg font-semibold text-teal-800 mb-4">Target Areas</h3>
117
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
118
+ <label class="flex items-center space-x-3 p-4 bg-teal-50 rounded-lg cursor-pointer hover:bg-teal-100 transition">
119
+ <input type="checkbox" name="areas" value="back" class="form-checkbox h-5 w-5 text-teal-500 rounded">
120
+ <span class="text-teal-700">Back</span>
121
+ </label>
122
+ <label class="flex items-center space-x-3 p-4 bg-teal-50 rounded-lg cursor-pointer hover:bg-teal-100 transition">
123
+ <input type="checkbox" name="areas" value="core" class="form-checkbox h-5 w-5 text-teal-500 rounded">
124
+ <span class="text-teal-700">Core</span>
125
+ </label>
126
+ <label class="flex items-center space-x-3 p-4 bg-teal-50 rounded-lg cursor-pointer hover:bg-teal-100 transition">
127
+ <input type="checkbox" name="areas" value="legs" class="form-checkbox h-5 w-5 text-teal-500 rounded">
128
+ <span class="text-teal-700">Legs</span>
129
+ </label>
130
+ <label class="flex items-center space-x-3 p-4 bg-teal-50 rounded-lg cursor-pointer hover:bg-teal-100 transition">
131
+ <input type="checkbox" name="areas" value="arms" class="form-checkbox h-5 w-5 text-teal-500 rounded">
132
+ <span class="text-teal-700">Arms</span>
133
+ </label>
134
+ </div>
135
+ </div>
136
+
137
+ <!-- Difficulty Level -->
138
+ <div>
139
+ <h3 class="text-lg font-semibold text-teal-800 mb-4">Difficulty Level</h3>
140
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
141
+ <label class="flex items-center p-4 bg-teal-50 rounded-lg cursor-pointer hover:bg-teal-100 transition border-2 border-transparent has-[:checked]:border-teal-500 has-[:checked]:bg-teal-100">
142
+ <input type="radio" name="difficulty" value="beginner" class="form-radio h-5 w-5 text-teal-500" checked>
143
+ <div class="ml-4">
144
+ <span class="block font-semibold text-teal-800">Beginner</span>
145
+ <span class="text-sm text-teal-600">Perfect for newcomers</span>
146
+ </div>
147
+ </label>
148
+ <label class="flex items-center p-4 bg-teal-50 rounded-lg cursor-pointer hover:bg-teal-100 transition border-2 border-transparent has-[:checked]:border-teal-500 has-[:checked]:bg-teal-100">
149
+ <input type="radio" name="difficulty" value="intermediate" class="form-radio h-5 w-5 text-teal-500">
150
+ <div class="ml-4">
151
+ <span class="block font-semibold text-teal-800">Intermediate</span>
152
+ <span class="text-sm text-teal-600">For regular practitioners</span>
153
+ </div>
154
+ </label>
155
+ <label class="flex items-center p-4 bg-teal-50 rounded-lg cursor-pointer hover:bg-teal-100 transition border-2 border-transparent has-[:checked]:border-teal-500 has-[:checked]:bg-teal-100">
156
+ <input type="radio" name="difficulty" value="advanced" class="form-radio h-5 w-5 text-teal-500">
157
+ <div class="ml-4">
158
+ <span class="block font-semibold text-teal-800">Advanced</span>
159
+ <span class="text-sm text-teal-600">For experienced yogis</span>
160
+ </div>
161
+ </label>
162
+ </div>
163
+ </div>
164
+
165
+ <!-- Submit Button -->
166
+ <div class="pt-4">
167
+ <button type="submit" class="w-full bg-teal-500 hover:bg-teal-600 text-white font-bold py-4 px-6 rounded-lg transition duration-300 transform hover:scale-[1.02]">
168
+ Generate My Yoga Plan
169
+ </button>
170
+ </div>
171
+ </form>
172
+ </div>
173
+ </div>
174
+ </section>
175
+
176
+ <!-- Testimonials -->
177
+ <section class="py-16 px-4 md:px-8 bg-white">
178
+ <div class="max-w-7xl mx-auto">
179
+ <h2 class="text-3xl md:text-4xl font-bold text-center text-teal-800 mb-4">Wellness Journeys</h2>
180
+ <p class="text-lg text-center text-teal-600 mb-12 max-w-3xl mx-auto">
181
+ Hear from our community about their transformation experiences
182
+ </p>
183
+
184
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
185
+ <div class="bg-gradient-to-br from-teal-50 to-cyan-50 rounded-2xl p-6 shadow-lg" data-aos="fade-up">
186
+ <div class="flex items-center mb-4">
187
+ <img src="http://static.photos/people/320x240/1" alt="User" class="w-12 h-12 rounded-full object-cover">
188
+ <div class="ml-4">
189
+ <h4 class="font-bold text-teal-800">Sarah J.</h4>
190
+ <p class="text-teal-600 text-sm">3 months ago</p>
191
+ </div>
192
+ </div>
193
+ <p class="text-teal-700 italic">
194
+ "Wellness Wave transformed my approach to yoga. The personalized retreats helped me focus on my back pain and I've never felt better!"
195
+ </p>
196
+ </div>
197
+
198
+ <div class="bg-gradient-to-br from-teal-50 to-cyan-50 rounded-2xl p-6 shadow-lg" data-aos="fade-up" data-aos-delay="100">
199
+ <div class="flex items-center mb-4">
200
+ <img src="http://static.photos/people/320x240/2" alt="User" class="w-12 h-12 rounded-full object-cover">
201
+ <div class="ml-4">
202
+ <h4 class="font-bold text-teal-800">Michael T.</h4>
203
+ <p class="text-teal-600 text-sm">6 months ago</p>
204
+ </div>
205
+ </div>
206
+ <p class="text-teal-700 italic">
207
+ "The Food Diary analytics helped me understand my eating patterns. I've lost 15 pounds and gained so much energy!"
208
+ </p>
209
+ </div>
210
+
211
+ <div class="bg-gradient-to-br from-teal-50 to-cyan-50 rounded-2xl p-6 shadow-lg" data-aos="fade-up" data-aos-delay="200">
212
+ <div class="flex items-center mb-4">
213
+ <img src="http://static.photos/people/320x240/3" alt="User" class="w-12 h-12 rounded-full object-cover">
214
+ <div class="ml-4">
215
+ <h4 class="font-bold text-teal-800">Priya K.</h4>
216
+ <p class="text-teal-600 text-sm">1 year ago</p>
217
+ </div>
218
+ </div>
219
+ <p class="text-teal-700 italic">
220
+ "Gym Benni created workout plans that actually challenged me. I've doubled my strength and endurance in just 8 months!"
221
+ </p>
222
+ </div>
223
+ </div>
224
+ </div>
225
+ </section>
226
+
227
+ <custom-footer></custom-footer>
228
+ <script src="components/navbar.js"></script>
229
+ <script src="components/footer.js"></script>
230
+ <script src="script.js"></script>
231
+ <script>
232
+ feather.replace();
233
+ AOS.init({
234
+ duration: 800,
235
+ once: true
236
+ });
237
+ </script>
238
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
239
+ </body>
240
+ </html>
script.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Shared JavaScript across all pages
2
+ document.addEventListener('DOMContentLoaded', function() {
3
+ console.log('Wellness Wave App loaded');
4
+
5
+ // Time slider functionality
6
+ const timeSlider = document.getElementById('timeSlider');
7
+ const timeValue = document.getElementById('timeValue');
8
+
9
+ if (timeSlider && timeValue) {
10
+ timeSlider.addEventListener('input', function() {
11
+ timeValue.textContent = this.value;
12
+ });
13
+ }
14
+
15
+ // Form submission
16
+ const retreatForm = document.getElementById('retreatForm');
17
+ if (retreatForm) {
18
+ retreatForm.addEventListener('submit', function(e) {
19
+ e.preventDefault();
20
+
21
+ // Get form values
22
+ const time = timeSlider.value;
23
+ const areas = Array.from(document.querySelectorAll('input[name="areas"]:checked')).map(cb => cb.value);
24
+ const difficulty = document.querySelector('input[name="difficulty"]:checked').value;
25
+
26
+ // In a real app, this would send data to a server
27
+ console.log('Retreat Configuration:', { time, areas, difficulty });
28
+
29
+ // Show confirmation
30
+ alert(`Your personalized yoga retreat has been configured!\nDuration: ${time} minutes\nTarget Areas: ${areas.join(', ') || 'None selected'}\nDifficulty: ${difficulty}`);
31
+ });
32
+ }
33
+
34
+ // Smooth scrolling for anchor links
35
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
36
+ anchor.addEventListener('click', function(e) {
37
+ e.preventDefault();
38
+ const target = document.querySelector(this.getAttribute('href'));
39
+ if (target) {
40
+ target.scrollIntoView({
41
+ behavior: 'smooth',
42
+ block: 'start'
43
+ });
44
+ }
45
+ });
46
+ });
47
+ });
style.css CHANGED
@@ -1,28 +1,95 @@
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
 
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Shared styles across all pages */
2
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
3
+
4
+ :root {
5
+ --teal-500: #14b8a6;
6
+ --cyan-500: #06b6d4;
7
+ }
8
+
9
  body {
10
+ font-family: 'Inter', sans-serif;
11
+ scroll-behavior: smooth;
12
+ }
13
+
14
+ /* Custom scrollbar */
15
+ ::-webkit-scrollbar {
16
+ width: 8px;
17
+ }
18
+
19
+ ::-webkit-scrollbar-track {
20
+ background: #f0fdfa;
21
+ }
22
+
23
+ ::-webkit-scrollbar-thumb {
24
+ background: #14b8a6;
25
+ border-radius: 4px;
26
  }
27
 
28
+ ::-webkit-scrollbar-thumb:hover {
29
+ background: #0d9488;
 
30
  }
31
 
32
+ /* Form elements styling */
33
+ input[type="range"] {
34
+ -webkit-appearance: none;
35
+ height: 8px;
36
+ border-radius: 4px;
37
+ background: #ccfbf1;
38
+ outline: none;
39
  }
40
 
41
+ input[type="range"]::-webkit-slider-thumb {
42
+ -webkit-appearance: none;
43
+ width: 24px;
44
+ height: 24px;
45
+ border-radius: 50%;
46
+ background: #14b8a6;
47
+ cursor: pointer;
48
+ box-shadow: 0 2px 4px rgba(0,0,0,0.2);
49
  }
50
 
51
+ input[type="range"]::-moz-range-thumb {
52
+ width: 24px;
53
+ height: 24px;
54
+ border-radius: 50%;
55
+ background: #14b8a6;
56
+ cursor: pointer;
57
+ border: none;
58
+ box-shadow: 0 2px 4px rgba(0,0,0,0.2);
59
  }
60
+
61
+ /* Responsive adjustments */
62
+ @media (max-width: 768px) {
63
+ .hero-content {
64
+ padding: 2rem 1rem;
65
+ }
66
+
67
+ .feature-grid {
68
+ grid-template-columns: 1fr;
69
+ }
70
+
71
+ .testimonial-grid {
72
+ grid-template-columns: 1fr;
73
+ }
74
+ }
75
+
76
+ /* Animation for feature cards */
77
+ @keyframes float {
78
+ 0% { transform: translateY(0px); }
79
+ 50% { transform: translateY(-10px); }
80
+ 100% { transform: translateY(0px); }
81
+ }
82
+
83
+ .floating {
84
+ animation: float 3s ease-in-out infinite;
85
+ }
86
+
87
+ /* Custom checkbox styling */
88
+ .form-checkbox:checked {
89
+ background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
90
+ }
91
+
92
+ /* Custom radio styling */
93
+ .form-radio:checked {
94
+ background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
95
+ }