Repository navigation
Expand file tree
/
Copy pathHome Dilevry.html
More file actions
109 lines (104 loc) · 6.56 KB
/
Copy pathHome Dilevry.html
File metadata and controls
109 lines (104 loc) · 6.56 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home delivery</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<script src="https://cdn.tailwindcss.com"></script>
<style>
/* Custom transition for the dropdown */
.dropdown-menu {
transition: max-height 0.3s ease-out;
}
/* Animation for sliding content from the bottom */
.slide-up {
opacity: 0;
transform: translateY(100%);
transition: transform 1s ease-out, opacity 1s ease-out;
}
.slide-up.show {
opacity: 1;
transform: translateY(0);
}
</style>
</head>
<body class="bg-gray-200">
<!-- navbar -->
<nav class="bg-gray-800 p-2">
<div class="container mx-auto flex justify-between items-center py-2">
<ul class="hidden sm:flex space-x-4">
<li><a href="index.html" class="text-white hover:bg-gray-700 px-3 py-2 rounded">Home</a></li>
<li><a href="#collections" class="text-white hover:bg-gray-700 px-3 py-2 rounded">Collections</a></li>
</ul>
<div class="text-center sm:text-left text-white lg:text-2xl md:text-[23px]">Horizon Auto Group</div>
<ul class="hidden sm:flex space-x-4">
<li><a href="#about" class="text-white hover:bg-gray-700 px-3 py-2 rounded">About</a></li>
<li><a href="#contact" class="text-white hover:bg-gray-700 px-3 py-2 rounded">Contact</a></li>
</ul>
<div class="sm:hidden text-white">
<i class="fa-solid fa-bars pr-2 sm:text-xl cursor-pointer" id="menu-toggle"></i>
</div>
</div>
<div class="hidden sm:hidden transition-max-height duration-300 ease-out" id="mobile-menu">
<ul class="space-y-2 p-2">
<li><a href="#home" class="text-white hover:bg-gray-700 block px-3 py-2 rounded">Home</a></li>
<li><a href="#collections" class="text-white hover:bg-gray-700 block px-3 py-2 rounded">Collections</a></li>
<li><a href="#about" class="text-white hover:bg-gray-700 block px-3 py-2 rounded">About</a></li>
<li><a href="#contact" class="text-white hover:bg-gray-700 block px-3 py-2 rounded">Contact</a></li>
</ul>
</div>
</nav>
<!-- Image Section with Blurred Background -->
<section class="relative w-full h-screen">
<img src="https://www.cottrelltrailers.com/wp-content/uploads/2022/07/Home_Delivery_1-Car_Unit_Web.jpg" alt="Background Image" class="absolute inset-0 w-full h-full object-cover blur-lg">
<div id="content" class="relative z-10 flex flex-col items-center justify-center w-full h-full bg-black bg-opacity-50 text-white p-8 slide-up">
<h1 class="text-4xl font-bold mb-4">Home Delivery</h1>
<p class="max-w-xl text-center mb-8">
At Horizon Auto Group, we offer a convenient home delivery service for your new car. Simply provide us with your name, email, and address, and our team will handle the rest. After confirming your purchase, we will contact you to arrange a suitable delivery time. Our professional delivery team ensures your vehicle arrives in perfect condition at your doorstep. This hassle-free service saves you time and effort, allowing you to enjoy your new car without the need to visit our dealership. Experience the ease and convenience of home delivery with Horizon Auto Group.
</p>
<i id="scroll-arrow" class="fa-solid fa-caret-down animate-bounce pt-4" style="font-size: 35px; cursor: pointer;"></i>
</div>
</section>
<!-- FAQ's -->
<hr>
<div class="container mx-auto py-8">
<h2 class="text-2xl font-bold mb-4 pl-3 text-center sm:text-left">Fill your Details</h2>
<p class="mb-4 pl-3 text-center sm:text-left pb-2">Your email address will not be published. Required fields are marked *</p>
<form class="flex flex-wrap mb-4">
<div class="w-full md:w-1/2 px-3 mb-6 md:mb-0">
<label for="name" class="block text-gray-700 text-sm font-bold mb-2">Name *</label>
<input type="text" id="name" name="name" class="w-full px-3 py-2 border rounded-md text-gray-700 focus:outline-none focus:border-blue-500">
</div>
<div class="w-full md:w-1/2 px-3 mb-6 md:mb-0">
<label for="email" class="block text-gray-700 text-sm font-bold mb-2">Email *</label>
<input type="email" id="email" name="email" class="w-full px-3 py-2 border rounded-md text-gray-700 focus:outline-none focus:border-blue-500">
</div>
</form>
<div class="mb-4 pr-3 pl-3">
<label for="comment" class="block text-gray-700 text-sm font-bold mb-2">Address *</label>
<textarea id="comment" name="comment" rows="4" class="w-full px-3 py-2 border rounded-md text-gray-700 focus:outline-none focus:border-blue-500"></textarea>
</div>
<button type="submit" class="bg-gray-500 hover:bg-blue-700 text-white px-4 py-2 ml-4 rounded-md hover:scale-110 duration-500">Submit</button>
</div>
<!-- end -->
<hr>
<section>
<div class="container mx-auto bg-gray-500">
<div class="terms bg-white shadow-md rounded-md p-6">
<h2 class="text-2xl font-bold mb-4">Terms and Conditions</h2>
<p class="mb-4">Users must agree to terms and conditions; content accuracy not guaranteed and subject to change without notice.</p>
<p class="mb-4">Horizon Auto Group is not liable for any damages arising from the use or inability to use the website.</p>
<p class="mb-4">All website content, including logos and images, is protected by copyright and must not be used without permission.</p>
<p class="mb-4">Users must not post any unlawful, harmful, or offensive material; such content will be removed.</p>
<p class="mb-4">By using this website, you agree to comply with all applicable laws and regulations governing its use.</p>
</div>
<div class="mt-8 text-center text-white pb-8">
<p>© 2024 Horizon Auto Group. All rights reserved.</p>
</div>
</div>
</section>
<script src="Home.js"></script>
</body>
</html>