chris506 commited on
Commit
cf05504
·
verified ·
1 Parent(s): dedfa51

build out the "Get a free quote" button so it take you to a booking section where clients can select times for the google meeting

Browse files
Files changed (1) hide show
  1. index.html +98 -8
index.html CHANGED
@@ -72,11 +72,12 @@
72
  <a href="#home" class="hover:text-green-400 transition">Home</a>
73
  <a href="#services" class="hover:text-green-400 transition">Services</a>
74
  <a href="#about" class="hover:text-green-400 transition">About</a>
 
75
  </div>
76
  <button class="md:hidden text-white">
77
  <i data-feather="menu"></i>
78
  </button>
79
- </div>
80
  </nav>
81
  <!-- Home Section -->
82
  <section id="home" class="snap-section flex items-center justify-center relative overflow-hidden min-h-screen">
@@ -91,13 +92,12 @@
91
  <span class="text-gradient">Excellence</span>
92
  </h1>
93
  <p class="text-xl md:text-2xl mb-10 max-w-3xl mx-auto animate-on-scroll">We create stunning, high-performing websites that help businesses thrive in the digital world.</p>
94
- <button class="bg-gradient-to-r from-green-500 to-teal-500 text-white px-8 py-4 rounded-full text-lg font-semibold glow hover:from-green-600 hover:to-teal-600 transition-all transform hover:scale-105 animate-on-scroll">
95
  Get a Free Quote
96
- </button>
97
  </div>
98
  </section>
99
-
100
- <!-- Services Section -->
101
  <section id="services" class="snap-section py-20 min-h-screen flex items-center">
102
  <div class="container mx-auto px-6">
103
  <h2 class="text-4xl font-bold text-center mb-16 animate-on-scroll">Our <span class="text-gradient">Services</span></h2>
@@ -134,7 +134,87 @@
134
  </div>
135
  </section>
136
 
137
- <!-- About Section -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  <section id="about" class="snap-section py-20 min-h-screen flex items-center">
139
  <div class="container mx-auto px-6">
140
  <div class="flex flex-col lg:flex-row items-center">
@@ -187,10 +267,11 @@
187
  <a href="#" class="text-gray-400 hover:text-green-400 transition">Home</a>
188
  <a href="#services" class="text-gray-400 hover:text-green-400 transition">Services</a>
189
  <a href="#about" class="text-gray-400 hover:text-green-400 transition">About</a>
 
190
  </div>
191
  <div class="flex space-x-4">
192
  <a href="#" class="text-gray-400 hover:text-green-400 transition">
193
- <i data-feather="twitter"></i>
194
  </a>
195
  <a href="#" class="text-gray-400 hover:text-green-400 transition">
196
  <i data-feather="linkedin"></i>
@@ -236,7 +317,6 @@
236
  parallax.style.transform = `translateY(${speed}px)`;
237
  }
238
  });
239
-
240
  // Smooth scrolling for navigation links
241
  document.querySelectorAll('a[href^="#"]').forEach(anchor => {
242
  anchor.addEventListener('click', function(e) {
@@ -250,6 +330,16 @@
250
  }
251
  });
252
  });
 
 
 
 
 
 
 
 
 
 
253
  </script>
254
  </body>
255
  </html>
 
72
  <a href="#home" class="hover:text-green-400 transition">Home</a>
73
  <a href="#services" class="hover:text-green-400 transition">Services</a>
74
  <a href="#about" class="hover:text-green-400 transition">About</a>
75
+ <a href="#booking" class="hover:text-green-400 transition">Booking</a>
76
  </div>
77
  <button class="md:hidden text-white">
78
  <i data-feather="menu"></i>
79
  </button>
80
+ </div>
81
  </nav>
82
  <!-- Home Section -->
83
  <section id="home" class="snap-section flex items-center justify-center relative overflow-hidden min-h-screen">
 
92
  <span class="text-gradient">Excellence</span>
93
  </h1>
94
  <p class="text-xl md:text-2xl mb-10 max-w-3xl mx-auto animate-on-scroll">We create stunning, high-performing websites that help businesses thrive in the digital world.</p>
95
+ <a href="#booking" class="bg-gradient-to-r from-green-500 to-teal-500 text-white px-8 py-4 rounded-full text-lg font-semibold glow hover:from-green-600 hover:to-teal-600 transition-all transform hover:scale-105 animate-on-scroll inline-block">
96
  Get a Free Quote
97
+ </a>
98
  </div>
99
  </section>
100
+ <!-- Services Section -->
 
101
  <section id="services" class="snap-section py-20 min-h-screen flex items-center">
102
  <div class="container mx-auto px-6">
103
  <h2 class="text-4xl font-bold text-center mb-16 animate-on-scroll">Our <span class="text-gradient">Services</span></h2>
 
134
  </div>
135
  </section>
136
 
137
+ <!-- Booking Section -->
138
+ <section id="booking" class="snap-section py-20 min-h-screen flex items-center bg-gray-900">
139
+ <div class="container mx-auto px-6">
140
+ <h2 class="text-4xl font-bold text-center mb-16 animate-on-scroll">Book a <span class="text-gradient">Free Consultation</span></h2>
141
+ <div class="max-w-4xl mx-auto glass rounded-2xl p-8 md:p-12">
142
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-12">
143
+ <div>
144
+ <h3 class="text-2xl font-semibold mb-6">Select a Time</h3>
145
+ <div class="space-y-4">
146
+ <div class="glass p-4 rounded-xl hover:bg-gray-800 transition cursor-pointer">
147
+ <div class="flex justify-between items-center">
148
+ <div>
149
+ <div class="font-semibold">30-Minute Consultation</div>
150
+ <div class="text-gray-400 text-sm">Basic project discussion</div>
151
+ </div>
152
+ <div class="text-green-400">Free</div>
153
+ </div>
154
+ </div>
155
+ <div class="glass p-4 rounded-xl hover:bg-gray-800 transition cursor-pointer">
156
+ <div class="flex justify-between items-center">
157
+ <div>
158
+ <div class="font-semibold">60-Minute Strategy Session</div>
159
+ <div class="text-gray-400 text-sm">In-depth project planning</div>
160
+ </div>
161
+ <div class="text-green-400">Free</div>
162
+ </div>
163
+ </div>
164
+ </div>
165
+ <h3 class="text-2xl font-semibold mt-10 mb-6">Available Times</h3>
166
+ <div class="grid grid-cols-2 sm:grid-cols-3 gap-3">
167
+ <div class="glass p-3 rounded-lg text-center hover:bg-gray-800 transition cursor-pointer">
168
+ <div class="font-semibold">Mon, 2:00 PM</div>
169
+ <div class="text-gray-400 text-sm">EST</div>
170
+ </div>
171
+ <div class="glass p-3 rounded-lg text-center hover:bg-gray-800 transition cursor-pointer">
172
+ <div class="font-semibold">Tue, 10:00 AM</div>
173
+ <div class="text-gray-400 text-sm">EST</div>
174
+ </div>
175
+ <div class="glass p-3 rounded-lg text-center hover:bg-gray-800 transition cursor-pointer">
176
+ <div class="font-semibold">Wed, 4:00 PM</div>
177
+ <div class="text-gray-400 text-sm">EST</div>
178
+ </div>
179
+ <div class="glass p-3 rounded-lg text-center hover:bg-gray-800 transition cursor-pointer">
180
+ <div class="font-semibold">Thu, 1:00 PM</div>
181
+ <div class="text-gray-400 text-sm">EST</div>
182
+ </div>
183
+ <div class="glass p-3 rounded-lg text-center hover:bg-gray-800 transition cursor-pointer">
184
+ <div class="font-semibold">Fri, 11:00 AM</div>
185
+ <div class="text-gray-400 text-sm">EST</div>
186
+ </div>
187
+ </div>
188
+ </div>
189
+ <div>
190
+ <h3 class="text-2xl font-semibold mb-6">Your Information</h3>
191
+ <form class="space-y-6">
192
+ <div>
193
+ <label class="block text-gray-300 mb-2">Full Name</label>
194
+ <input type="text" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 focus:outline-none focus:border-green-500 transition" placeholder="John Doe">
195
+ </div>
196
+ <div>
197
+ <label class="block text-gray-300 mb-2">Email Address</label>
198
+ <input type="email" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 focus:outline-none focus:border-green-500 transition" placeholder="john@example.com">
199
+ </div>
200
+ <div>
201
+ <label class="block text-gray-300 mb-2">Company (Optional)</label>
202
+ <input type="text" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 focus:outline-none focus:border-green-500 transition" placeholder="Your Company">
203
+ </div>
204
+ <div>
205
+ <label class="block text-gray-300 mb-2">Project Details</label>
206
+ <textarea class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 focus:outline-none focus:border-green-500 transition" rows="4" placeholder="Tell us about your project..."></textarea>
207
+ </div>
208
+ <button type="submit" class="w-full bg-gradient-to-r from-green-500 to-teal-500 text-white py-3 rounded-lg font-semibold hover:from-green-600 hover:to-teal-600 transition">
209
+ Schedule Meeting
210
+ </button>
211
+ </form>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ </div>
216
+ </section>
217
+ <!-- About Section -->
218
  <section id="about" class="snap-section py-20 min-h-screen flex items-center">
219
  <div class="container mx-auto px-6">
220
  <div class="flex flex-col lg:flex-row items-center">
 
267
  <a href="#" class="text-gray-400 hover:text-green-400 transition">Home</a>
268
  <a href="#services" class="text-gray-400 hover:text-green-400 transition">Services</a>
269
  <a href="#about" class="text-gray-400 hover:text-green-400 transition">About</a>
270
+ <a href="#booking" class="text-gray-400 hover:text-green-400 transition">Booking</a>
271
  </div>
272
  <div class="flex space-x-4">
273
  <a href="#" class="text-gray-400 hover:text-green-400 transition">
274
+ <i data-feather="twitter"></i>
275
  </a>
276
  <a href="#" class="text-gray-400 hover:text-green-400 transition">
277
  <i data-feather="linkedin"></i>
 
317
  parallax.style.transform = `translateY(${speed}px)`;
318
  }
319
  });
 
320
  // Smooth scrolling for navigation links
321
  document.querySelectorAll('a[href^="#"]').forEach(anchor => {
322
  anchor.addEventListener('click', function(e) {
 
330
  }
331
  });
332
  });
333
+
334
+ // Booking time selection
335
+ document.querySelectorAll('#booking .glass').forEach(item => {
336
+ item.addEventListener('click', function() {
337
+ document.querySelectorAll('#booking .glass').forEach(el => {
338
+ el.classList.remove('ring-2', 'ring-green-500');
339
+ });
340
+ this.classList.add('ring-2', 'ring-green-500');
341
+ });
342
+ });
343
  </script>
344
  </body>
345
  </html>