-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
204 lines (196 loc) · 9.81 KB
/
index.html
File metadata and controls
204 lines (196 loc) · 9.81 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
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
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Peddy</title>
<link
href="https://cdn.jsdelivr.net/npm/daisyui@4.12.14/dist/full.min.css"
rel="stylesheet"
type="text/css" />
<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=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lexend:wght@100..900&display=swap"
rel="stylesheet" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css"
integrity="sha512-5Hs3dF2AEPkpNAR7UiOHba+lRSJNeM2ECkwxUIxC1Q/FLycGTbNapWXB4tP889k5T5Ju8fs4b1P5z/iB4nMfSQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer" />
<script src="https://cdn.tailwindcss.com"></script>
<style>
.lato-font {
font-family: "Lato", sans-serif;
}
.inter-font {
font-family: "Inter", sans-serif;
}
html {
scroll-behavior: smooth;
}
</style>
</head>
<body>
<header>
<!-- navbar -->
<nav class="font-lato">
<div class="navbar bg-base-100">
<div class="navbar-start">
<div class="dropdown">
<div tabindex="0" role="button" class="btn btn-ghost lg:hidden">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor">
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M4 6h16M4 12h8m-8 6h16" />
</svg>
</div>
<ul
tabindex="0"
class="menu menu-sm dropdown-content bg-base-100 rounded-box z-[1] mt-3 w-52 p-2 shadow lato-font text-[#131313ff]">
<li><a>Home</a></li>
<li><a>Shop</a></li>
<li><a>Contact</a></li>
</ul>
</div>
<div class="flex justify-center items-center gap-2 ml-2">
<img src="images/logo.webp" alt="">
<h3 class="text-[32px] font-black">Peddy</h3>
</div>
</div>
<div class="navbar-center hidden lg:flex">
<ul class="menu menu-horizontal px-1">
<li><a>Home</a></li>
<li><a>Shop</a></li>
<li><a>Contact</a></li>
</ul>
</div>
<div class="navbar-end flex justify-self-center items-center">
<div class="h-14 w-14 flex justify-center items-center btn bg-white border-none shadow-none hover:bg-white">
<i class=" fa-regular fa-circle-user text-2xl hover:cursor-pointer"></i>
</div>
</div>
</div>
</nav>
<!-- hero section -->
<section">
<div class="hero min-h-screen">
<div class="hero-content text-center">
<div class="flex justify-center items-center flex-col space-y-6">
<div class="flex">
<p class="font-bold text-xl lg:text-2xl text-[#13131399]">Bringing Families Together </ lass="opacity-[100%] font-bold text-xl lg:text-2xl">❤️🔥</span>
</div>
<h1 class="lg:text-7xl text-5xl font-black text-[#131313] lg:w-[80%]">Your Path to Adoption Starts Here</h1>
<p class="text-[#131313] lg:w-[80%]">
At Peddy, we believe every pet deserves a loving home. Whether you're looking for a playful puppy, a cuddly kitten, or a loyal companion, we're here to help you find your perfect match. Join us in making a difference—because adoption is love, and every paw counts.
</p>
<a href="#main" class="btn btn-primary hover:bg-[#0e7a81] bg-[#0e7a81] border-none text-white">View More</a>
<img src="images/pet.webp" alt="">
</div>
</div>
</div>
</section>
</header>
<!-- adopt button modal -->
<div id="adopt-modal-container" class="h-full w-full bg-[#00000080] fixed top-0 z-10 flex justify-center items-center hidden">
<div class="bg-white rounded-2xl w-[60%] h-[60%] lg:h-[50%] lg:w-[30%] p-5 flex justify-center items-center flex-col">
<img src="images/handshake.png" alt="" class="lg:h-[100px] lg:w-[100px] h-[80px] w-[80px]">
<div class="flex justify-center items-center flex-col space-y-1">
<h1 class="font-bold text-3xl lg:text-4xl lato-font">Congrats</h1>
<p class="text-center lg:text-xl">Adoption process started for your pet</p>
<h1 id="countdown" class="font-black text-4xl lg:text-6xl">3</h1>
</div>
</div>
</div>
<!-- details modal -->
<div id="modal-container" class="h-full w-full bg-[#00000080] fixed top-0 z-10 flex justify-center items-center hidden">
</div>
<main id="main" class="mt-[100px]">
<!-- adopt section -->
<section class="w-[95%] flex flex-col items-center mx-auto text-center space-y-10 lg:space-y-12">
<h1 class="lato-font text-[#131313] font-black text-[40px]">Adopt Your Best Friend</h1>
<p class="lg:w-[60%] text-center lato-font text-[#131313B3]">At Peddy, we connect you with adorable companions waiting to become a part of your family. Adopting a pet isn't just about giving them a home; it's about gaining a loyal friend who will bring happiness to your life. Take the step today and make a difference—because your best friend is just a paw away.</p>
<div id="cards-btn-container" class="grid grid-cols-2 grid-rows-2 lg:grid-cols-4 lg:grid-rows-1 justify-center items-center gap-6 lg:justify-between w-full">
<!-- Category cards button will be dynamically shown here -->
</div>
<div class="flex items-center justify-between w-full">
<p class="font-black text-xl lg:text-2xl lato-font">Best Deal For you</p>
<button onclick="sortByPrice()" class="btn btn-primary hover:bg-[#0e7a81] bg-[#0e7a81] border-none text-white">Sort by Price</button>
</div>
<div class="space-y-6 lg:space-y-0 lg:grid lg:grid-cols-4 gap-6">
<!-- displaying cards container -->
<div id="cards-container" class="lg:col-span-3">
<!-- bird cards container -->
<div id="Bird-cards-container" class="hidden space-y-4 lg:space-y-0 lg:gap-6 lg:grid lg:grid-cols-3">
<!-- All bird cards will dynamically load here -->
</div>
<!-- rabbit cards container -->
<div id="Rabbit-cards-container" class="hidden space-y-4 lg:space-y-0 lg:gap-6 lg:grid lg:grid-cols-3">
<!-- All rabbit cards will dynamically load here -->
</div>
<!-- dog cards container -->
<div id="Dog-cards-container" class="hidden space-y-4 lg:space-y-0 lg:gap-6 lg:grid lg:grid-cols-3">
<!-- All dog cards will dynamically load here -->
</div>
<!-- cat cards container -->
<div id="Cat-cards-container" class="hidden space-y-4 lg:space-y-0 lg:gap-6 lg:grid lg:grid-cols-3">
<!-- All cat cards will dynamically load here -->
<!-- <h1>Kinnnn</h1> -->
</div>
<!-- all cards -->
<div id="all-cards-container" class="space-y-4 lg:space-y-0 lg:gap-6 lg:grid lg:grid-cols-3">
<!-- All cards will dynamically load here -->
</div>
</div>
<!-- spinner -->
<span id="spinner" class="loading loading-bars loading-lg hidden h-[70px] w-[70px] text-center"></span>
<!-- liked cards -->
<div id="liked-cards-sec" class="border-2 rounded-xl border-base-200 lg:col-span-1 p-5 w-[95%] mx-auto">
<div id="liked-cards-container" class="gap-4 grid grid-cols-2">
</div>
</div>
</div>
</section>
</main>
<footer class="w-full bg-black justify-around mt-8 flex h-[678px] items-center flex-col lg:flex-row lg:h-[338px] bottom-0">
<div class="flex flex-col gap-6">
<div class="flex gap-3 justify-center items-center lg:justify-start">
<img src="images/logo.webp" alt="">
<h1 class="lato-font font-black text-[32px] text-white">Peddy</h1>
</div>
<div class="lato-font text-[#FFFFFFE5] text-center lg:text-left">
<p>Location: av. Washington 165, NY CA 54003</p>
<p>Phone: +31 85 964 47 25</p>
<p>Email: info@yourdomain.com</p>
<p>Openings hours: 9.00 AM - 5.00 PM</p>
</div>
</div>
<div class="flex flex-col gap-5 lg:gap-8">
<h1 class="font-bold inter-font text-[18px] text-white lg:text-left">Useful Links</h1>
<div class="text-center lg:text-left">
<p class="lato-font text-[#FFFFFF99]">Home</p>
<p class="lato-font text-[#FFFFFF99]">About Us</p>
<p class="lato-font text-[#FFFFFF99]">Animals</p>
<p class="lato-font text-[#FFFFFF99]">Foundation</p>
<p class="lato-font text-[#FFFFFF99]">Contact</p>
</div>
</div>
<div class="space-y-6 lg:space-y-8">
<h1 class="inter-font font-bold text-[18px] text-[#FFFFFFE5] text-center lg:text-left">Drop a Message</h1>
<div class="flex flex-col gap-4">
<input type="text" placeholder="Enter your email" class="text-[#FFFFFF99] bg-[#FFFFFF0D] py-[15px] pl-[17px] rounded-xl">
<button class="btn btn-primary hover:bg-[#0e7a81] bg-[#0e7a81] border-none text-white">Subscribe</button>
</div>
</div>
</footer>
<script src="scripts/app.js"></script>
</body>
</html>