-
Notifications
You must be signed in to change notification settings - Fork 1
/
scrollspy.html
252 lines (249 loc) · 16.6 KB
/
scrollspy.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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!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"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<title>Sweet Factory</title>
<script src="https://kit.fontawesome.com/8beace882b.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="scrollspy.css">
<link href="https://fonts.googleapis.com/css2?family=Catamaran:wght@500&family=Hind:wght@300;400&family=Lora&family=Montserrat:wght@100;200;300;600&display=swap" rel="stylesheet">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"
integrity="sha512-tS3S5qG0BlhnQROyJXvNjeEM4UpMXHrQfTGmbQ1gKmelCxlSEBUaxhRBj/EFTzpbP4RVSrpEikbmdJobCvhE3g=="
crossorigin="anonymous" />
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css"
integrity="sha512-sMXtMNL1zRzolHYKEujM2AqCLUR9F2C4/05cdbxjjLSRvMQIciEPCQZo++nk7go3BtSuK9kfa/s+a4f4i5pLkw=="
crossorigin="anonymous" />
</head>
<body data-spy="scroll" data-target=".navbar" data-offset="50" class="w-100">
<nav class="navbar navbar-expand-lg fixed-top">
<a href="#" class="navbar-brand">Sweet Factory</a>
<button class="navbar-toggler" data-toggle="collapse" type="button" data-target="#navbarCollapsing">
<i class="fas fa-angle-double-down icon"></i>
</button>
<div class="collapse navbar-collapse" id="navbarCollapsing">
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a href="#home" class="nav-link">Home</a></li>
<li class="nav-item"><a href="#why-sweet" class="nav-link">Why Sweet Factory?</a></li>
<li class="nav-item"><a href="#categories" class="nav-link">Categories</a></li>
<li class="nav-item"><a href="#reviews" class="nav-link">Reviews</a></li>
<li class="nav-item"><a href="#contact" class="nav-link">Contact Us!</a></li>
<li class="nav-link">
<div class="dropdown show">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" id="dropdownMenu"><i class="fas fa-share-alt icon"></i></a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuLink">
<a href="#" class="dropdown-item"><i class="fab fa-facebook-square"></i></a>
<a href="#" class="dropdown-item"><i class="fab fa-twitter-square"></i></a>
<a href="#" class="dropdown-item"><i class="fab fa-instagram"></i></a>
<a href="#" class="dropdown-item"><i class="fab fa-youtube"></i></a>
<a href="#" class="dropdown-item"><i class="fab fa-pinterest"></i></a>
</div></div>
</li>
</ul>
</div>
</nav>
<main id="home">
<div class="container">
<div class="main-text">
<h3 class="display-4 text-center" style="font-family:'Lora';">Sweet Factory</h3>
<p class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit. Perspiciatis nemo commodi dic quos, nobis accusantium adipis.</p>
</div>
</div>
</main>
<section id="why-sweet">
<h4 class="text-center display-4 text-white text-uppercase">Why Sweet Factory?</h4>
<div class="why-sweet-text container-fluid mx-auto">
<div class="row mx-auto">
<div class="container why-list d-flex justify-content-center p-3">
<div class="col-md-3">
<div class="card border-0">
<div class="card-body why-reasons">
<div class="card-title text-center"><i class="fas fa-egg fa-5x"></i><p class="text-white">Fresh Ingredients</p></div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="card border-0">
<div class="card-body why-reasons">
<div class="card-title text-center"><i class="fas fa-pump-medical fa-5x"></i>
<p class="text-white">Hygiene Standards</p>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="card border-0">
<div class="card-body why-reasons">
<div class="card-title text-center"><i class="fas fa-donate fa-5x"></i><p class="text-white">Donations for Shelters</p></div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="card border-0">
<div class="card-body why-reasons">
<div class="card-title text-center"><i class="fas fa-gifts fa-5x"></i><p class="text-white">Customised Gifts</p></div>
</div>
</div>
</div>
</div>
</div>
</div>
<hr class=" border border-white">
<div class="final mt-5 px-5">
<p class="lead text-white px-5">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cum, accusamus. Lorem ipsum dolor sit amet consectetur adipisicing elit. Repellendus esse quibusdam quas maxime, illo placeat. Lorem ipsum dolor sit amet consectetur adipisicing elit. At doloribus unde fuga laudantium? Iure in fuga obcaecati itaque omnis porro maiores nihil, repellat illo repudiandae impedit temporibus neque suscipit? Quos culpa in suscipit nemo quaerat quae cupiditate sed similique obcaecati? Sit, odio doloremque optio fugit tenetur ea aliquid et repellat!</p>
<p class="text-white mt-4 px-5">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cum, accusamus. Lorem ipsum dolor sit amet consectetur adipisicing elit. Repellendus esse quibusdam quas maxime, illo placeat. Lorem ipsum dolor sit amet consectetur adipisicing elit. Atque, eligendi.</p>
</div>
</section>
<section id="categories">
<div class="categories-text w-75 mx-auto">
<h4 class="display-4 text-uppercase text-center ">Categories</h4>
<p class="text-center">Lorem, ipsum dolor sit amet consectetur adipisicing elit. Veritatis consequatur iste voluptatum. Voluptatem totam molestiae, id accusamus quod in, facere pariatur aut quos harum minus sed rat? Lorem ipsum dolor sit, amet consectetur adipisicing elit. Totam quia illum, assumenda culpa esse vero ullam veniam natus recusandae sed omnis exercitationem deserunt rem aliquam sequi a nostrum eum odio.</p>
</div>
<div class="container-fluid slider-img my-5">
<div class="row">
<div class="owl-carousel owl-theme">
<div class="item mb-4">
<div class="card category border-0 shadow">
<img src="https://cdn.sallysbakingaddiction.com/wp-content/uploads/2013/09/best-pumpkin-chocolate-chip-cookies.jpg" alt="cookie" class="card-img-top">
<div class="card-img-overlay">
<h4 class="card-title cnames">Cookies</h4>
</div>
</div>
</div>
<!--item ends-->
<div class="item mb-4">
<div class="card category border-0 shadow">
<img src="https://www.darngoodveggies.com/wp-content/uploads/2020/10/1J4A7772.jpg" class="card-img-top">
<div class="card-img-overlay">
<h4 class="card-title cnames">Pies</h4>
</div>
</div>
</div>
<!--item ends-->
<div class="item mb-4">
<div class="card category border-0 shadow">
<img src="https://cdn.sallysbakingaddiction.com/wp-content/uploads/2021/01/small-6-inch-chocolate-cake.jpg" alt="cakes" class="card-img-top">
<div class="card-img-overlay">
<h4 class="card-title cnames">Cakes</h4>
</div>
</div>
</div>
<!--item ends-->
<div class="item mb-4">
<div class="card category border-0 shadow">
<img src="https://www.inspiredtaste.net/wp-content/uploads/2016/07/Pancake-Recipe-1-1200.jpg" class="card-img-top">
<div class="card-img-overlay">
<h4 class="card-title cnames">Pancakes</h4>
</div>
</div>
</div>
<!--item ends-->
<div class="item mb-4">
<div class="card category border-0 shadow">
<img src="https://www.sugarandsoul.co/wp-content/uploads/2021/04/chocolate-milkshake-8.jpg" class="card-img-top">
<div class="card-img-overlay">
<h4 class="card-title cnames">Milkshakes</h4>
</div>
</div>
</div>
<!--item ends-->
</div>
</div>
</div>
</section>
<section id="reviews">
<h4 class="display-4 mb-4 text-white text-center">REVIEWS</h4>
<p class="font-italic text-center text-white">Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatem, illo.</p>
<div class="container-fluid">
<div class="row">
<div class="card-columns">
<div class="card p-3 shadow">
<div class="d-flex justify-content-between align-items-center">
<div class="rating card-title">
<i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i><i class="far fa-star"></i>
<h6>Joel M.</h6>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Esse, animi nobis eligendi magnam doloribus dolorum id impedit a soluta. Quod molestias eligendi animi officia consequuntur, vero minus ipsum explicabo at! Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptate, expedita. Lorem ipsum dolor sit amet consectetur, adipisicing elit. Fugit, iure? Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ipsam, tenetur...</p>
<button class="btn btn-success">Read More</button>
</div>
</div>
</div>
<div class="card p-3">
<div class="d-flex justify-content-between align-items-center">
<div class="rating card-title">
<i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i><i class="far fa-star"></i><i class="far fa-star"></i>
<h6>Ellie W.</h6>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Esse, animi nobis eligendi magnam doloribus dolorum id impedit a soluta. Quod molestias eligendi animi officia consequuntur, vero minus ipsum explicabo at! Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptate, expedita. Lorem ipsum dolor sit amet consectetur, adipisicing elit. Fugit, iure? Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ipsam, tenetur...</p>
<button class="btn btn-success">Read More</button>
</div>
</div>
</div>
<div class="card p-3">
<div class="d-flex justify-content-between align-items-center">
<div class="rating card-title">
<i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i>
<h6>Tommy M.</h6>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Esse, animi nobis eligendi magnam doloribus dolorum id impedit a soluta. Quod molestias eligendi animi officia consequuntur, vero minus ipsum explicabo at! Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptate, expedita. Lorem ipsum dolor sit amet consectetur, adipisicing elit. Fugit, iure? Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ipsam, tenetur...</p>
<button class="btn btn-success">Read More</button>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="contact">
<h4 class="display-4 mb-4 text-white text-center">CONTACT US</h4>
<div class="container-fluid float-center w-75">
<div class="row">
<div class="name-address col-md-6 ml-5">
<form action="">
<label for="name" class="text-white form-label">Name</label>
<input type="text" id="name" class="form-control w-75" placeholder="Please enter your name" required >
<label for="email" class="text-white form-label mt-2" >E-mail</label>
<input type="email" id="name" class="form-control w-75" placeholder="Please enter your e-mail" required>
<label for="textarea" class="text-white form-label mt-2">Message</label>
<textarea class="form-control w-75" name="message" id="" cols="30" rows="10" placeholder="Write a message"></textarea>
<button class="btn btn-danger mt-3">Submit</button></form>
</div>
<div class="map-responsive col-md-5">
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d193448.10755816847!2d-74.0241544!3d40.7482394!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c24fa5d33f083b%3A0xc80b8f06e177fe62!2sNew%20York%2C%20Amerika%20Birle%C5%9Fik%20Devletleri!5e0!3m2!1str!2str!4v1641979182898!5m2!1str!2str" width="600" height="400" style="border:0;" allowfullscreen="" loading="lazy" class="mt-4"></iframe>
</div>
</div>
</div>
</section>
<footer class="text-center">A Sample Website Design</footer>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.min.js" integrity="sha384-VHvPCCyXqtD5DqJeNxl2dtTyhF78xXNXdkwX1CZeRusQfRKp+tA7hAShOK/B/fQ2" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"
integrity="sha512-bPs7Ae6pVvhOSiIcyUClR7/q2OAsRiovw4vAkX+zJbw3ShAeeqezq50RIIcIURq7Oa20rW2n2q+fyXBNcU9lrw=="
crossorigin="anonymous"></script>
<script>
$('.owl-carousel').owlCarousel({
loop: true,
margin: 15,
nav: true,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 4
}
}
})
</script>
</body>
</html>