-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathindex.html
173 lines (146 loc) · 5.73 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Open Graph Tags -->
<meta property="og:title" content="My Pet Spotlight">
<meta property="og:url" content="https://mypetspotlight.netlify.app">
<meta property="og:description" content="Join us in giving your furry friends the spotlight they deserve. Showcase their unique personalities. Celebrate the love and joy our pets bring!">
<meta property="og:type" content="website">
<meta property="og:image" content="https://github.com/gabrysia694/MyPetSpotlight/assets/95538354/2c1561d3-06f1-4e4d-b064-a275ab627288" />
<title>MyPetSpotlight</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css" />
<link rel="stylesheet" href="./CSS/style.css" />
<link rel="icon" type="image/x-icon" href="./assets/icons/owner.ico">
</head>
<body>
<!-- SLider -->
<div class="swiper">
<div class="swiper-wrapper">
<div class="swiper-slide" id="s1"> <img src="./assets/slider_img/cat.jpg" alt="" srcset=""> </div>
<div class="swiper-slide" id="s2"> <img src="./assets/slider_img/dog.jpg" alt="" srcset=""> </div>
<div class="swiper-slide" id="s3"> <img src="./assets/slider_img/hamster1.jpg" alt="" srcset=""> </div>
<div class="swiper-slide" id="s4"> <img src="./assets/slider_img/dog1.jpg" alt="" srcset=""> </div>
<div class="swiper-slide" id="s3"> <img src="./assets/slider_img/hamster.jpg" alt="" srcset=""> </div>
</div>
<div class="swiper-pagination"></div>
</div>
<!-- Introduction -->
<div class="welcome">
<h2>Welcome to MyPetSpotlight!</h2>
<p id="petcommunity">Welcome to our pet lovers community!</p>
<p id="describe">
We are excited to provide you with a platform where you can showcase
your furry friends and their unique personalities. Our website allows
you to submit your pet's name, age, and favourite toy, giving them the
spotlight they deserve. Whether you have a playful pup or a lazy
feline, we want to see them all! Join us in celebrating the love and
joy that our pets bring into our lives.
</p>
<p id="submit">
Submit your pet's information now and share their story with the
world!
</p>
<nav>
<a class="navbar-button" href="https://github.com/gabrysia694/MyPetSpotlight" target="_blank">
Add your pet!
</a>
</nav>
</div>
<img id="photo" alt="" />
<!-- Pet Type Section -->
<div id="petType">
<ul>
<li><a data-filter="all">All</a></li>
<li><a data-filter="Dog">Dogs</a></li>
<li><a data-filter="Cat">Cats</a></li>
<li><a data-filter="others">Others</a></li>
</ul>
</div>
<!-- Pet-Card-Template -->
<div id="list">
<script id="pet-card-template" type="text/x-handlebars-template">
<div class="card" data-pet-type="{{type}}">
<div class="image">
<div class="loader"></div>
<img data-src="{{ imgURL }}" alt="{{ altName }}" >
</div>
<div class="content">
<div class="name">
<strong> Name: </strong>
<span>{{name}}</span>
</div>
<div class="animal">
<strong> Type of animal: </strong>
<span>{{type}}</span>
</div>
<div class="age">
<strong> Age: </strong>
<span>{{age}}</span>
</div>
<div class="personality">
<strong> Personality: </strong>
<ul>
{{#each personalities}}
<li>{{this}}</li>
{{/each}}
</ul>
</div>
<div class="toy">
<strong> Favourite toy: </strong>
<span>{{toy}}</span>
</div>
<div class="owner">
<strong> Owner: </strong>
<span> <a href=" {{ownerURL}} "> {{owner}} </a> </span>
</div>
</div>
</div>
</script>
</div>
<!--Back to top button-->
<button id="back-to-top-btn">
<i class="fa fa-arrow-up"></i>
</button>
<!--Footer-->
<footer>
<div class="footer-line">
<p class="logo">MyPetSpotlight</p>
<div class="social-media">
<p>Get in touch</p>
<ul>
<li class="list-item">
<a href=""><i class="fa-brands fa-facebook fa-2xl"></i></a>
</li>
<li class="list-item">
<a href=""><i class="fa-brands fa-twitter fa-2xl"></i></a>
</li>
<li class="list-item">
<a href=""><i class="fa-brands fa-tiktok fa-2xl"></i></a>
</li>
<li class="list-item">
<a href=""><i class="fa-brands fa-instagram fa-2xl"></i></a>
</li>
<li class="list-item">
<a href=""><i class="fa-brands fa-github fa-2xl"></i></a>
</li>
</ul>
</div>
</div>
<div class="copyright">
<p> Copyright © 2023 <span style="color: aqua;">MyPetSpotlight</span>. All Rights Reserved</p>
</div>
</footer>
</body>
<!-- Scripts -->
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/handlebars@4.7.7/dist/handlebars.min.js"></script>
<script src="https://kit.fontawesome.com/198d543dbf.js" crossorigin="anonymous"></script>
<script src="./JS/data.js"></script>
<script src="./JS/slider.js"></script>
<script src="./JS/script.js"></script>
<script src="./JS/loader.js"></script>
</html>