forked from gabrysia694/MyPetSpotlight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
162 lines (137 loc) · 5.67 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
<!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="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.">
<meta property="og:type" content="website">
<meta property="og:image"
content="https://media.istockphoto.com/id/1296353202/photo/group-of-pets-posing-around-a-border-collie-dog-cat-ferret-rabbit-bird-fish-rodent.jpg?s=612x612&w=0&k=20&c=l4UJze9hXcNABS_3QJcaOU07R1pcuV3L7w_IJTu9o2c=">
<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" />
<script src="https://kit.fontawesome.com/198d543dbf.js" crossorigin="anonymous"></script>
<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-Card-Template -->
<div id="list">
<script id="pet-card-template" type="text/x-handlebars-template">
<div class="card">
<img src="{{ imgURL }}" alt="{{ altName }}" >
<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="./JS/data.js"></script>
<script src="./JS/slider.js"></script>
<script src="./JS/script.js"></script>
</html>