forked from CSI-DMCE-2024/Tourism-Blog-Hacktoberfest-2024
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
248 lines (228 loc) · 9.22 KB
/
blog.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
<!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" />
<title>Tourism Blog</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./Resources/css/style.css" />
<link rel="shortcut icon" href="./Resources/images/earth.png" type="image/x-icon">
</head>
<body>
<div class="blog" id="top">
<!-- Nav -->
<nav class="navbar fixed-top navbar-expand-sm style="z-index: 999;"">
<a class="navbar-brand" href="index.html"
><img
style="width: 4rem"
src="./Resources/images/earth.png"
alt="logo"
/></a>
<button
class="navbar-toggler bg-transparent text-light"
type="button"
data-toggle="collapse"
data-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon text-danger"><i class="fa fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-md-auto">
<li class="nav-item">
<a class="nav-link" href="index.html"
>Home <span class="sr-only">(current)</span></a
>
</li>
<li class="nav-item">
<a class="nav-link active" href="blog.html">Blog</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link" href="contact.html">Contact Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="signup.html">Login</a>
</li>
</ul>
</div>
</nav>
<!-- Nav End -->
<!-- blogs -->
<div class="main">
<div class="container ml-auto">
<h2>Recent Posts</h2>
<div class="row">
<div class=" col-md-4 mx-auto">
<div class="card rotate" >
<img src="./Resources/images/all.jpg" class="card-img-top" alt=".." />
<div class="card-body">
<p class="card-text">
Some quick example text to build on the card title and make
up the bulk of the card's content.
</p>
<a target="_blank" href="#">Read more</a>
</div>
</div>
</div>
<div class=" col-md-4">
<div class="card rotate" >
<img src="./Resources/images/all.jpg" class="card-img-top" alt=".." />
<div class="card-body">
<p class="card-text">
Some quick example text to build on the card title and make
up the bulk of the card's content.
</p>
<a target="_blank" href="#">Read more</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card rotate" >
<img src="./Resources/images/all.jpg" class="card-img-top" alt=".." />
<div class="card-body">
<p class="card-text">
Some quick example text to build on the card title and make
up the bulk of the card's content.
</p>
<a target="_blank" href="#">Read more</a>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="card rotate" >
<img src="./Resources/images/all.jpg" class="card-img-top" alt=".." />
<div class="card-body">
<p class="card-text">
Some quick example text to build on the card title and make
up the bulk of the card's content.
</p>
<a target="_blank" href="#">Read more</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card rotate" >
<img src="./Resources/images/all.jpg" class="card-img-top" alt=".." />
<div class="card-body">
<p class="card-text">
Some quick example text to build on the card title and make
up the bulk of the card's content.
</p>
<a target="_blank" href="#">Read more</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card rotate" >
<img src="./Resources/images/all.jpg" class="card-img-top" alt=".." />
<div class="card-body">
<p class="card-text">
Some quick example text to build on the card title and make
up the bulk of the card's content.
</p>
<a target="_blank" href="#">Read more</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- blogs end -->
<!-- read more -->
<div class="container mx-auto" id="read">
<h2>Read more ..</h2>
<ul class="list-unstyled">
<li class="media">
<img src="./Resources/images/boat.jpg" class="mr-3" alt=".." style="width: 128px;">
<div class="media-body">
<h5 class="mt-0 mb-1">List-based media object</h5>
<p>Are you brave enough to let me see your peacock? There’s no going back. This is the last time you say, after the last line you break. At the eh-end of it all. <a target="_blank" href="#">Read more</a></p>
</div>
</li>
<li class="media">
<img src="./Resources/images/boat.jpg" class="mr-3" alt=".." style="width: 128px;">
<div class="media-body">
<h5 class="mt-0 mb-1">List-based media object</h5>
<p>Are you brave enough to let me see your peacock? There’s no going back. This is the last time you say, after the last line you break. At the eh-end of it all. <a target="_blank" href="#">Read more</a></p>
</div>
</li>
<li class="media">
<img src="./Resources/images/boat.jpg" class="mr-3" alt=".." style="width: 128px;">
<div class="media-body">
<h5 class="mt-0 mb-1">List-based media object</h5>
<p>Are you brave enough to let me see your peacock? There’s no going back. This is the last time you say, after the last line you break. At the eh-end of it all. <a target="_blank" href="#">Read more</a></p>
</div>
</li>
<li class="media">
<img src="./Resources/images/boat.jpg" class="mr-3" alt=".." style="width: 128px;">
<div class="media-body">
<h5 class="mt-0 mb-1">List-based media object</h5>
<p>Are you brave enough to let me see your peacock? There’s no going back. This is the last time you say, after the last line you break. At the eh-end of it all. <a target="_blank" href="#">Read more</a></p>
</div>
</li>
</ul>
<a href="#">
<button type="button" class="btn btn-lg btn-block">Read More</button></a>
</div>
</div>
</div>
<!-- read more ends -->
</div>
<!-- Footer -->
<!-- Footer End -->
<!-- CC -->
<div class="cc">
<div class="container-fluid">
<p>COPYRIGHT</p>
</div>
</div>
<!-- CC End-->
<!-- Scripts -->
<script>
// back to top btn js
const backToTopButton = document.getElementById("back-to-top");
// Show the button when the user scrolls down a certain amount
window.addEventListener("scroll", function() {
if (document.documentElement.scrollTop > 100) {
backToTopButton.style.display = "block";
} else {
backToTopButton.style.display = "none";
}
});
// Function for smooth scrolling to the top
function scrollToTop() {
const smoothScrollToTop = () => {
const currentPosition = document.documentElement.scrollTop;
if (currentPosition > 0) {
window.requestAnimationFrame(smoothScrollToTop);
window.scrollTo(0, currentPosition - currentPosition / 10);
}
};
smoothScrollToTop();
}
// Scroll to the top smoothly when the button is clicked
backToTopButton.addEventListener("click", scrollToTop);
//
</script>
<script src="https://kit.fontawesome.com/15a0e7cd00.js" crossorigin="anonymous"></script>
<script
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
crossorigin="anonymous"
></script>
</body>
</html>