-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (63 loc) · 3.1 KB
/
Copy pathindex.html
File metadata and controls
70 lines (63 loc) · 3.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HealthyLife Clinic</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50 text-gray-800">
<!-- Navbar -->
<nav class="bg-white shadow-md p-4 flex justify-between items-center">
<h1 class="text-2xl font-bold text-blue-600">HealthyLife</h1>
<ul class="flex space-x-4">
<li><a href="#services" class="hover:text-blue-600">Services</a></li>
<li><a href="#about" class="hover:text-blue-600">About</a></li>
<li><a href="#contact" class="hover:text-blue-600">Contact</a></li>
</ul>
</nav>
<!-- Hero Section -->
<section class="text-center py-20 bg-blue-100">
<h2 class="text-4xl font-bold mb-4">Caring For Your Health</h2>
<p class="text-lg mb-6">Your trusted medical clinic for family and individual care.</p>
<a href="#contact" class="bg-blue-600 text-white px-6 py-3 rounded-full hover:bg-blue-700">Book Appointment</a>
</section>
<!-- Services Section -->
<section id="services" class="py-16 px-4 max-w-6xl mx-auto">
<h3 class="text-3xl font-bold text-center mb-10">Our Services</h3>
<div class="grid md:grid-cols-3 gap-8 text-center">
<div class="p-6 bg-white rounded shadow">
<h4 class="text-xl font-semibold mb-2">General Checkups</h4>
<p>Routine physical exams and diagnostics for all ages.</p>
</div>
<div class="p-6 bg-white rounded shadow">
<h4 class="text-xl font-semibold mb-2">Pediatrics</h4>
<p>Specialized care for infants, children, and adolescents.</p>
</div>
<div class="p-6 bg-white rounded shadow">
<h4 class="text-xl font-semibold mb-2">Chronic Care</h4>
<p>Ongoing support for diabetes, hypertension, and more.</p>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="bg-white py-16 px-4 max-w-4xl mx-auto text-center">
<h3 class="text-3xl font-bold mb-4">About Dr. Jane Smith</h3>
<p class="text-lg mb-6">Dr. Smith is a board-certified family physician with over 15 years of experience helping patients live healthier lives. Our clinic combines compassion, technology, and personalized care.</p>
</section>
<!-- Contact Section -->
<section id="contact" class="bg-blue-50 py-16 px-4 max-w-xl mx-auto">
<h3 class="text-3xl font-bold text-center mb-6">Contact Us</h3>
<form class="space-y-4">
<input type="text" placeholder="Your Name" class="w-full p-3 border rounded" required />
<input type="email" placeholder="Your Email" class="w-full p-3 border rounded" required />
<textarea placeholder="Your Message" class="w-full p-3 border rounded" rows="4" required></textarea>
<button type="submit" class="w-full bg-blue-600 text-white py-3 rounded hover:bg-blue-700">Send Message</button>
</form>
</section>
<!-- Footer -->
<footer class="text-center text-sm text-gray-600 py-6">
© 2025 HealthyLife Clinic. All rights reserved.
</footer>
</body>
</html>