-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
159 lines (149 loc) · 6.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Read our blog</title>
<link rel="stylesheet" href="./css/utilities.css" />
<link rel="stylesheet" href="./css/style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;1,300&display=swap"
rel="stylesheet"
/>
<script
src="https://kit.fontawesome.com/5bb162662f.js"
crossorigin="anonymous"
></script>
</head>
<body id="home">
<header class="hero blog">
<div class="navbar top" id="navbar">
<h1 class="logo">
<span class="text-primary"
><i class="fas fa-book-open"></i>Edge</span
>Ledger
</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="index.html#about">About</a></li>
<li><a href="index.html#cases">Cases</a></li>
<li><a href="index.html#blog">Blog</a></li>
<li><a href="index.html#contact Us">Contact</a></li>
</ul>
</nav>
</div>
<div class="content">
<h1>Blog</h1>
</div>
</header>
<main>
<article class="flex-columns">
<div class="row">
<div class="column">
<div class="column-1">
<img src="/images/blog/blog1.jpg" alt="" />
</div>
</div>
<div class="column">
<div class="column-2 bg-light">
<h2>Blog Post one</h2>
<p class="meta">
<i class="fas fa-user"></i> Posted By <strong>Kunal Dhingra</strong> | May 10 2020
</p>
<p>
Lorem ipsum, dolor sit amet consectetur
adipisicing elit. Labore rem laboriosam dolores
reprehenderit. Dolor nesciunt tempora illum
numquam modi consequuntur!
</p>
<a href="post.html" class="btn btn-dark">
<i class="fas fa-chevron-right"></i> Read More
</a>
</div>
</div>
</div>
</article>
<article class="flex-columns flex-reverse">
<div class="row">
<div class="column">
<div class="column-1">
<img src="/images/blog/blog2.jpg" alt="" />
</div>
</div>
<div class="column">
<div class="column-2 bg-dark">
<h2>Blog Post Two</h2>
<p class="meta">
<i class="fas fa-user"></i> Posted By <strong>John Doe</strong> | May 1 2020
</p>
<p>
Lorem ipsum, dolor sit amet consectetur
adipisicing elit. Labore rem laboriosam dolores
reprehenderit. Dolor nesciunt tempora illum
numquam modi consequuntur!
</p>
<a href="post.html" class="btn btn-light">
<i class="fas fa-chevron-right"></i> Read More
</a>
</div>
</div>
</div>
</article>
<article class="flex-columns">
<div class="row">
<div class="column">
<div class="column-1">
<img src="/images/blog/blog3.jpg" alt="" />
</div>
</div>
<div class="column">
<div class="column-2 bg-light">
<h2>Blog Post Three</h2>
<p class="meta">
<i class="fas fa-user"></i> Posted By <strong>Kunal Dhingra</strong> | April 15 2020
</p>
<p>
Lorem ipsum, dolor sit amet consectetur
adipisicing elit. Labore rem laboriosam dolores
reprehenderit. Dolor nesciunt tempora illum
numquam modi consequuntur!
</p>
<a href="post.html" class="btn btn-dark">
<i class="fas fa-chevron-right"></i> Read More
</a>
</div>
</div>
</div>
</article>
</main>
<footer class="footer bg-dark">
<div class="social">
<a href="#"><i class="fab fa-facebook fa-2x"></i></a>
<a href="#"><i class="fab fa-twitter fa-2x"></i></a>
<a href="#"><i class="fab fa-youtube fa-2x"></i></a>
<a href="#"><i class="fab fa-linkedin fa-2x"></i></a>
</div>
<p>Copyright © 2020 - EdgeLedger</p>
</footer>
<script>
const navbar = document.getElementById("navbar");
let scrolled = false;
window.onscroll = function () {
if (window.pageYOffset > 100) {
navbar.classList.remove("top");
if (!scrolled) {
navbar.style.transform = "translateY(-70px)";
}
setTimeout(function () {
navbar.style.transform = "translateY(0)";
scrolled = true;
}, 500);
} else {
navbar.classList.add("top");
scrolled = false;
}
};
</script>
</body>
</html>