-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
237 lines (230 loc) · 11.2 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>example.com</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<style>
.menu-open {
transform: rotate(90deg);
transition: transform 0.3s ease;
}
.dropdown {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.dropdown-open {
max-height: 100px; /* Adjust based on your menu items */
}
</style>
</head>
<body class="bg-gray-100">
<!-- Navbar -->
<nav class="bg-white shadow-lg">
<div class="max-w-6xl mx-auto px-4">
<div class="flex justify-between items-center">
<!-- Logo -->
<div class="flex items-center py-4 px-2">
<img src="Logo.webp" alt="Logo" class="h-8 w-8 mr-2">
<span class="font-semibold text-gray-500 text-lg">example.com</span>
</div>
<!-- Primary Navbar items -->
<div class="hidden md:flex justify-center flex-1 items-center space-x-4">
<a href="index.html" class="py-4 px-2 text-gray-500 font-semibold hover:text-green-500 transition duration-300">
<i class="fas fa-envelope mr-1"></i> Home
</a>
<a href="about.html" class="py-4 px-2 text-gray-500 font-semibold hover:text-green-500 transition duration-300">
<i class="fas fa-concierge-bell mr-1"></i> About
</a>
<a href="blog.html" class="py-4 px-2 text-gray-500 font-semibold hover:text-green-500 transition duration-300">
<i class="fas fa-info-circle mr-1"></i> Blog
</a>
<a href="#" class="py-4 px-2 text-gray-500 font-semibold hover:text-green-500 transition duration-300">
<i class="fas fa-shop mr-1"></i> Shop
</a>
<a href="services.html" class="py-4 px-2 text-gray-500 font-semibold hover:text-green-500 transition duration-300">
<i class="fas fa-gear mr-1"></i> Services
</a>
<a href="contact.html" class="py-4 px-2 text-gray-500 border-b-4 border-green-500 font-semibold">
<i class="fas fa-home mr-1"></i> Contact
</a>
</div>
<div class="hidden md:flex items-center space-x-3">
<input type="text" placeholder="Search..." class="px-4 py-2 border rounded-md text-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500">
<button class="px-4 py-2 bg-green-500 text-white rounded-md hover:bg-green-700 transition duration-300">
<i class="fas fa-search"></i>
</button>
</div>
<!-- Social Media Icons -->
<div class="hidden md:flex space-x-3 ml-3">
<a href="#" class="text-gray-500 hover:text-green-500 transition duration-300">
<i class="fab fa-github"></i>
</a>
<a href="#" class="text-gray-500 hover:text-green-500 transition duration-300">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
<!-- Mobile menu button -->
<div class="md:hidden flex items-center">
<button class="outline-none mobile-menu-button">
<svg class="w-6 h-6 text-gray-500 hover:text-green-500 transition duration-300" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor">
<path d="M4 6h16M4 12h16m-7 6h7"></path>
</svg>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div class="hidden mobile-menu">
<ul class="bg-white">
<li>
<a href="#" class="block text-sm px-2 py-4 text-white bg-green-500 font-semibold">
<i class="fas fa-home mr-1"></i> Home
</a>
</li>
<li>
<div class="relative">
</div>
</li>
<li><a href="blog.html" class="block text-sm px-2 py-4 hover:bg-green-500 transition duration-300">
<i class="fas fa-concierge-bell mr-1"></i> About
</a></li>
<li><a href="blog.html" class="block text-sm px-2 py-4 hover:bg-green-500 transition duration-300">
<i class="fas fa-info-circle mr-1"></i> Blog
</a></li>
<li><a href="#" class="block text-sm px-2 py-4 hover:bg-green-500 transition duration-300">
<i class="fas fa-shop mr-1"></i> Shop
</a></li>
<li><a href="#" class="block text-sm px-2 py-4 hover:bg-green-500 transition duration-300">
<i class="fas fa-gear mr-1"></i> Services
</a></li>
<li><a href="contact.html" class="block text-sm px-2 py-4 hover:bg-green-500 transition duration-300">
<i class="fas fa-envelope mr-1"></i> Contact
</a></li>
<li class="px-2 py-4">
<input type="text" placeholder="Search..." class="w-full px-2 py-2 border rounded-md text-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500">
<button class="w-full px-4 py-2 mt-2 bg-green-500 text-white rounded-md hover:bg-green-700 transition duration-300">
<i class="fas fa-search"></i>
</button>
</li>
<!-- Social Media Icons -->
<li class="flex justify-center space-x-3 py-4">
<a href="#" class="text-gray-500 hover:text-green-500 transition duration-300">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-gray-500 hover:text-green-500 transition duration-300">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-500 hover:text-green-500 transition duration-300">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-gray-500 hover:text-green-500 transition duration-300">
<i class="fab fa-linkedin-in"></i>
</a>
</li>
</ul>
</div>
</nav>
<script>
const btn = document.querySelector("button.mobile-menu-button");
const menu = document.querySelector(".mobile-menu");
const dropdownToggles = document.querySelectorAll(".dropdown-toggle");
btn.addEventListener("click", () => {
menu.classList.toggle("hidden");
btn.querySelector("svg").classList.toggle("menu-open");
});
dropdownToggles.forEach(toggle => {
toggle.addEventListener("click", () => {
const dropdown = toggle.nextElementSibling;
dropdown.classList.toggle("hidden");
dropdown.classList.toggle("dropdown-open");
});
});
</script>
<!-- Contact Me Page -->
<section id="contact" class="relative py-12 bg-gray-100">
<div class="absolute inset-0">
<img src="dark-green-background.jpg" alt="Dark Green Background" class="w-full h-full object-cover">
<div class="absolute inset-0 bg-black opacity-50"></div>
</div>
<div class="relative max-w-2xl mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-8 text-white">Contact Me</h2>
<form action="verify_recaptcha.php" method="POST" class="space-y-6">
<div>
<label for="name" class="block text-sm font-medium text-white">Name</label>
<input type="text" id="name" name="name" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" required>
</div>
<div>
<label for="email" class="block text-sm font-medium text-white">Email</label>
<input type="email" id="email" name="email" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" required>
</div>
<div>
<label for="subject" class="block text-sm font-medium text-white">Subject</label>
<input type="text" id="subject" name="subject" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" required>
</div>
<div>
<label for="message" class="block text-sm font-medium text-white">Message</label>
<textarea id="message" name="message" rows="4" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" required></textarea>
</div>
<div class="flex justify-center">
<div class="g-recaptcha" data-sitekey="YOUR_SITE_KEY"></div>
</div>
<div>
<button type="submit" class="w-full px-4 py-2 bg-green-500 text-white rounded-md hover:bg-green-700 transition duration-300">
Send Message
</button>
</div>
</form>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-gray-300 py-8 mt-8">
<div class="max-w-6xl mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<!-- Company Information -->
<div class="flex flex-col items-center md:items-start">
<img src="Logo.webp" alt="Logo" class="h-8 w-8 mb-2">
<span class="font-semibold text-lg">example.com</span>
<p class="mt-2 text-center md:text-left">We are a powerful hacker group.</p>
</div>
<!-- Navigation Links -->
<div class="flex flex-col items-center">
<a href="index.html" class="text-gray-300 hover:text-white transition duration-300">Home</a>
<a href="about.html" class="text-gray-300 hover:text-white transition duration-300">Site Map</a>
<a href="blog.html" class="text-gray-300 hover:text-white transition duration-300">Privacy Policy</a>
<a href="#" class="text-gray-300 hover:text-white transition duration-300">Terms of Service</a>
<a href="#" class="text-gray-300 hover:text-white transition duration-300">Subscribe</a>
<a href="contact.html" class="text-gray-300 hover:text-white transition duration-300">Contact</a>
</div>
<!-- Subscription Section -->
<div class="flex flex-col items-center">
<h3 class="font-semibold mb-2">Subscribe to Our Newsletter</h3>
<form class="flex">
<input type="email" placeholder="Your Email" class="px-3 py-2 border border-gray-600 rounded-l-md focus:outline-none focus:ring-2 focus:ring-blue-500" required>
<button type="submit" class="px-4 py-2 bg-green-500 text-white rounded-r-md hover:bg-green-700 transition duration-300">Subscribe</button>
</form>
<div class="flex space-x-4 mt-4">
<a href="#" class="text-gray-300 hover:text-white transition duration-300">
<i class="fa-solid fa-at"></i>
</a>
<a href="#" class="text-gray-300 hover:text-white transition duration-300">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-300 hover:text-white transition duration-300">
<i class="fa fa-globe"></i>
</a>
<a href="#" class="text-gray-300 hover:text-white transition duration-300">
<i class="fab fa-discord"></i>
</a>
</div>
<p class="mt-4 text-center">© 2024 example LLC. All rights reserved.</p>
</div>
</div>
</div>
</footer>
</body>
</html>