-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
129 lines (117 loc) · 5.71 KB
/
index.html
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Your page description here" />
<meta name="keywords" content="Tailwind CSS, HTML, SEO, Template" />
<meta name="author" content="Your Name" />
<meta name="robots" content="index, follow" />
<title>Your Page Title</title>
<!-- Tailwind CSS CDN -->
<script src="https://unpkg.com/tailwindcss-cdn@3.4.3/tailwindcss.js"></script>
<script src="https://unpkg.com/tailwindcss-cdn@3.4.3/tailwindcss-with-all-plugins.js"></script>
<!-- Font Awesome CDN -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- Google Fonts: Imprima Static -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Imprima&display=swap"
rel="stylesheet"
/>
<style>
/* Custom CSS for using the Montserrat font */
.prima {
font-family: "Imprima", sans-serif;
}
</style>
</head>
<body class="bg-gray-100 text-gray-900 antialiased prima">
<!-- Navigation Bar -->
<nav class="bg-white shadow-md">
<div class="container mx-auto px-6 py-4 flex justify-between items-center">
<a href="#" class="text-2xl font-bold text-gray-900">Brand</a>
<div class="space-x-6">
<a href="#" class="text-gray-700 hover:text-gray-900">Home</a>
<a href="#" class="text-gray-700 hover:text-gray-900">About</a>
<a href="#" class="text-gray-700 hover:text-gray-900">Services</a>
<a href="#" class="text-gray-700 hover:text-gray-900">Contact</a>
</div>
<a href="#" class="text-gray-700 hover:text-gray-900">
<i class="fas fa-shopping-cart"></i>
</a>
</div>
</nav>
<!-- Hero Section -->
<header class="bg-gray-900 text-white py-20">
<div class="container mx-auto text-center">
<h1 class="text-5xl font-bold">Welcome to Tailwind CSS</h1>
<p class="text-lg mt-4">Build modern and responsive websites with ease.</p>
<a href="#" class="mt-8 inline-block bg-blue-600 text-white px-6 py-3 rounded hover:bg-blue-700">
Get Started
</a>
</div>
</header>
<!-- Features Section -->
<section class="container mx-auto py-12">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 text-center">
<div class="p-6 bg-white shadow rounded">
<i class="fas fa-laptop-code text-4xl text-blue-600"></i>
<h3 class="text-xl font-bold mt-4">Modern Design</h3>
<p class="mt-2 text-gray-700">Create stunning designs with Tailwind CSS.</p>
</div>
<div class="p-6 bg-white shadow rounded">
<i class="fas fa-mobile-alt text-4xl text-blue-600"></i>
<h3 class="text-xl font-bold mt-4">Responsive Layout</h3>
<p class="mt-2 text-gray-700">Your website looks great on any device.</p>
</div>
<div class="p-6 bg-white shadow rounded">
<i class="fas fa-bolt text-4xl text-blue-600"></i>
<h3 class="text-xl font-bold mt-4">Fast Performance</h3>
<p class="mt-2 text-gray-700">Optimized for speed and efficiency.</p>
</div>
</div>
</section>
<!-- Contact Section -->
<section class="bg-gray-200 py-12">
<div class="container mx-auto">
<h2 class="text-3xl font-bold text-center">Contact Us</h2>
<form class="mt-8 max-w-xl mx-auto bg-white p-6 rounded shadow">
<div class="mb-4">
<label for="name" class="block text-gray-700">Name</label>
<input type="text" id="name" class="w-full px-4 py-2 border rounded focus:outline-none focus:ring-2 focus:ring-blue-600" placeholder="Your Name">
</div>
<div class="mb-4">
<label for="email" class="block text-gray-700">Email</label>
<input type="email" id="email" class="w-full px-4 py-2 border rounded focus:outline-none focus:ring-2 focus:ring-blue-600" placeholder="Your Email">
</div>
<div class="mb-4">
<label for="message" class="block text-gray-700">Message</label>
<textarea id="message" rows="4" class="w-full px-4 py-2 border rounded focus:outline-none focus:ring-2 focus:ring-blue-600" placeholder="Your Message"></textarea>
</div>
<button type="submit" class="w-full bg-blue-600 text-white py-2 rounded hover:bg-blue-700">
Send Message
</button>
</form>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-8">
<div class="container mx-auto text-center">
<p>© 2024 Your Company. All rights reserved.</p>
<div class="mt-4 space-x-4">
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
</footer>
</body>
</html>