-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
160 lines (149 loc) · 6.39 KB
/
contact.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://cdn.tailwindcss.com"></script>
<link
href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css"
rel="stylesheet"
/>
<title>Library Hub</title>
</head>
<body class="m-0 p-0 bg-gradient-to-r from-purple-500 to-pink-500 min-h-screen flex flex-col">
<nav class="bg-gray-800 text-white">
<div class="container mx-auto flex items-center justify-between py-4">
<div class="flex items-center">
<img src="logo.png" alt="Library Logo" class="h-8 w-8 mr-2" />
<span class="text-xl font-bold text-yellow-300"><a href="index.html">LibraryHub</a></span>
</div>
<div class="flex space-x-6">
<a href="Index.html" class="hover:text-yellow-300">Home</a>
<a href="category.html" class="hover:text-yellow-300">Category</a>
<a href="about.html" class="hover:text-yellow-300">About</a>
<a href="contact.html" class="hover:text-yellow-300">Contact</a>
<a href="faq.html" class="hover:text-yellow-300">FAQ</a>
</div>
</div>
</nav>
<main class="flex-grow">
<div class="container mx-auto px-4 py-8 sm:py-12">
<div class="max-w-3xl mx-auto bg-white rounded-lg shadow-lg p-4 sm:p-8">
<h1 class="text-2xl sm:text-3xl font-bold text-gray-800 mb-6 text-center">Contact Us</h1>
<form class="space-y-4 sm:space-y-6">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6">
<div>
<label for="firstName" class="block text-gray-700 font-medium mb-2">First Name</label>
<input type="text" id="firstName" name="firstName"
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
</div>
<div>
<label for="lastName" class="block text-gray-700 font-medium mb-2">Last Name</label>
<input type="text" id="lastName" name="lastName"
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
</div>
</div>
<div>
<label for="email" class="block text-gray-700 font-medium mb-2">Email Address</label>
<input type="email" id="email" name="email"
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
</div>
<div>
<label for="subject" class="block text-gray-700 font-medium mb-2">Subject</label>
<input type="text" id="subject" name="subject"
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
</div>
<div>
<label for="message" class="block text-gray-700 font-medium mb-2">Message</label>
<textarea id="message" name="message" rows="5"
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500"></textarea>
</div>
<div class="text-center">
<button type="submit"
class="bg-purple-600 text-white px-8 py-3 rounded-md hover:bg-purple-700 transition duration-300">
Send Message
</button>
</div>
</form>
</div>
</div>
</main>
<footer class="bg-gray-900 text-gray-400 py-8 mt-auto">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between">
<div class="mb-8 md:mb-0">
<h2 class="text-white font-bold mb-4 text-purple-500">About Us</h2>
<p>
Discover our world of broadcasting and entertainment through books
</p>
</div>
<div class="mb-8 md:mb-0">
<h2 class="text-white font-bold mb-4 text-orange-500">
Quick Links
</h2>
<ul>
<li>
<a href="index.html" class="text-gray-400 hover:text-gray-200"
>Home</a
>
</li>
<li>
<a
href="category.html"
class="text-gray-400 hover:text-gray-200"
>Explore</a
>
</li>
<li>
<a href="about.html" class="text-gray-400 hover:text-gray-200"
>About</a
>
</li>
<li>
<a href="contact.html" class="text-gray-400 hover:text-gray-200"
>Contact</a
>
</li>
</ul>
</div>
<div class="mb-8 md:mb-0">
<h2 class="text-white font-bold mb-4 text-green-500">
Contact Info
</h2>
<p>
<span class="text-gray-400">Address:</span>
<br />
123 Main Street, Anytown, CA 12345
</p>
<p>
<span class="text-gray-400">Phone:</span>
<br />
(123) 456-7890
</p>
</div>
<div>
<h2 class="text-white font-bold mb-4 text-red-500">Newsletter</h2>
<form>
<input
type="email"
placeholder="Enter your email"
class="border border-gray-500 rounded-md p-2 mb-4"
/>
<button
type="submit"
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"
>
Subscribe
</button>
</form>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-4">
<p class="text-center text-gray-500">
2024 Library Hub. All rights reserved.
</p>
</div>
</div>
</footer>
</body>
</html>