-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpublish.html
More file actions
283 lines (261 loc) · 10 KB
/
publish.html
File metadata and controls
283 lines (261 loc) · 10 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
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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<html>
<head>
<link rel="stylesheet" href="publish.css" />
<meta name="viewport" content="width=device-width , initial-scale=1.0" />
<link rel="stylesheet" href="dist/css/bootstrap.min.css" />
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link href="https://fonts.googleapis.com/css?family=Orbitron:400,700,900&display=swap" rel="stylesheet">
<link
href="https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap"
rel="stylesheet"
/>
<link href="https://fonts.googleapis.com/css?family=Ubuntu:400,700&display=swap" rel="stylesheet">
<link
href="https://fonts.googleapis.com/css?family=Merriweather&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="swiper.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.9.0/css/all.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.9.0/css/v4-shims.css">
<link
rel="preload"
href="https://cdn.vox-cdn.com/shared_fonts/unison/verge/AdelleSans-Italic.woff2"
as="font"
type="font/woff2"
crossorigin=""
/>
<link
href="https://fonts.googleapis.com/css?family=Oswald:200,400,700&display=swap"
rel="stylesheet"
/>
<link
rel="preload"
href="https://cdn.vox-cdn.com/shared_fonts/unison/verge/AdelleSans-Italic.woff2"
as="font"
type="font/woff2"
crossorigin=""
/>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="dist/js/bootstrap.min.js"></script>
<title>Tech Blog</title>
<script src="jav.js"></script>
<script src="swiper.js"></script>
</head>
<body>
<!------------heading----------->
<section id="heading">
<div class="text">
<h2>Tech blog</h2>
</div>
<img
src="https://proxy.duckduckgo.com/iu/?u=https%3A%2F%2Ftse2.mm.bing.net%2Fth%3Fid%3DOIP.l6aiFIOaB2N__dnmAnbYQgHaEK%26pid%3DApi&f=1"
/>
</section>
<!-------nav-bar-------->
<section id="nav-bar">
<div class="container">
<div class="navbar navbar-expand-lg navbar-dark">
<button
class="navbar-toggler"
type="button"
data-toggler="collapse"
data-target="navbar-nav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav" style="margin:auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Reviews</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">How To</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Phones</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Laptops</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="#">Photography</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="#">Software and Apps</a>
</li>
<li class="nav-item subnav">
<button class="nav-link subnavbtn">Services <i class="fa fa-caret-down"></i></button>
<div class="subnav-content">
<a href="#bring">Wearable</a>
<a href="#deliver">Gaming</a>
<a href="#package">Package</a>
<a href="#express">Express</a>
</div>
</li>
</ul>
</div>
</div>
</div>
</section>
<!------------Content-------->
<!---------------section--------------->
<div class="posts fluid-container" style="overflow: hidden;">
<div class="row">
<div class="col-12 col-md-4 liked py-5">
<!------------------popular------------->
<div class="col-12 like-inside4 ">
<h5>
<i style="font-weight:bold; text-decoration:none; color: black"
>You</i> may also like
</h5>
<div class="row">
<div class="col-12 mt-5">
<div>
<img
style="width:100%; height:auto;"
src="images/spidy.webp"
/>
</div>
<div class="liked-post-inner2">
<div>
Gizmodo Philly Park Officials Criticized for Installing
Devices That Blare High-Frequency Noise at Young People
</div>
<p class="date">
Yesterday 6:30PM
</p>
</div>
</div>
<div class="col-12 mt-5">
<div>
<img
style="width:100%; height:auto;"
src="images/spidy.webp"
/>
</div>
<div class="liked-post-inner2">
<div>
Gizmodo Philly Park Officials Criticized for Installing
Devices That Blare High-Frequency Noise at Young People
</div>
<p class="date">
Yesterday 6:30PM
</p>
</div>
</div>
<div class="col-12 mt-5">
<div>
<img
style="width:100%; height:auto;"
src="images/spidy.webp"
/>
</div>
<div class="liked-post-inner2">
<div>
Gizmodo Philly Park Officials Criticized for Installing
Devices That Blare High-Frequency Noise at Young People
</div>
<p class="date">
Yesterday 6:30PM
</p>
</div>
</div>
</div>
</div>
</div>
<!---------------main-leftside-article-------------->
<div class="col-12 col-md-8 recent">
<div class="row my-5">
<div class="col-11">
<div class="post-brief my-2">
<h2 class="post-brief1 my-1">
How to Always Get Someone to Let You Use Their Power Outlet at
the Airport
</h2>
<div class="name-type">
<img
src="images/phone.webp"
style="width:30px; height:30px; border-radius:30px;"
/>
Emily Stark | People's Blog
</div>
<img class="py-5" src="images/plug.webp" style="width:100%; height:auto;" />
<div class="post-brief2 my-1 py-5">
No matter what airline you’re flying on or where you’re going
I can guarantee you one thing: power will be at a premium.
</div>
</div>
</div>
</div>
</div>
<!------------footer----------->
<div class="foot p-5 text-center">
<div class="headname">
<h1>The Blog</h1>
</div>
<div class="row py-4" style="color:white; font-size: 25px;">
<div class="col-12 text-center">
<div style="background-color:#3b5998; border-radius:50px; padding:5px;"><i class="fab fa-facebook-f"></i></div>
<div style="background-color:#1da1f2; border-radius:50px; padding:5px;"><i class="fa fa-twitter"></i></div>
<div style="background-color:#c32aa3; border-radius:50px; padding:5px;"><i class="fab fa-instagram"></i></div>
<div style="background-color:#ff0000; border-radius:50px; padding:5px;"><i class="fab fa-youtube"></i></div></div>
</div>
<div class="row py-2">
<div class="col-12">
<a>About Blog</a><a>Need Held?</a><a>Authors</a><a>Privacy</a><a>Terms of Use</a><a>Advertising</a><a>Jobs</a>
</div>
</div>
<div class="row pt-4">
<div class="col-12">
<span><i class="far fa-copyright"></i> 2019 tech blog. All Rights Reserved</span>
</div>
</div>
</div>
<!-----------footer-end--------->
<script>
var galleryThumbs = new Swiper(".gallery-thumbs", {
spaceBetween: 10,
slidesPerView: 4,
loop: true,
freeMode: true,
loopedSlides: 5, //looped slides should be the same
watchSlidesVisibility: true,
watchSlidesProgress: true
});
var galleryTop = new Swiper(".gallery-top", {
spaceBetween: 10,
loop: true,
loopedSlides: 5, //looped slides should be the same
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev"
},
thumbs: {
swiper: galleryThumbs
}
});
window.onscroll = function() {
myFunction();
};
var header = document.getElementById("nav-bar");
var sticky = header.offsetTop;
function myFunction() {
if (window.pageYOffset > sticky) {
header.classList.add("sticky");
} else {
header.classList.remove("sticky");
}
}
</script>
</body>
</html>