-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
140 lines (131 loc) · 5.44 KB
/
blog.html
File metadata and controls
140 lines (131 loc) · 5.44 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
<!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="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA=="
crossorigin="anonymous" />
<link rel="stylesheet" href="css/utilities.css" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body id="home">
<header class="hero blog">
<div id="navbar" class="navbar top">
<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">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="column1">
<img src="images/blog/blog1.jpg" alt="">
</div>
</div>
<div class="column">
<div class="column2 bg-light">
<h2>Blog Post One</h2>
<p class="meta">
<i class="fas fa-user"></i>
Posted by <strong>John Doe</strong> | April 19 2020
</p>
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Culpa libero illum repellat eum
voluptatibus, ratione ipsa beatae expedita. Ipsum, aperiam!</p>
<a href="post.html" class="btn btn-dark">
<i class="fas fa-chevron"></i>Read More</a>
</div>
</div>
</div>
</article>
<article class="flex-columns flex-reverse">
<div class="row">
<div class="column">
<div class="column1">
<img src="images/blog/blog2.jpg" alt="">
</div>
</div>
<div class="column">
<div class="column2 bg-dark">
<h2>Blog Post Two</h2>
<p class="meta">
<i class="fas fa-user"></i>
Posted by <strong>Tracy Williams</strong> | June 19 2020
</p>
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Culpa libero illum repellat eum
voluptatibus, ratione ipsa beatae expedita. Ipsum, aperiam!</p>
<a href="post.html" class="btn btn-light">
<i class="fas fa-chevron"></i>Read More</a>
</div>
</div>
</div>
</article>
<article class="flex-columns">
<div class="row">
<div class="column">
<div class="column1">
<img src="images/blog/blog3.jpg" alt="">
</div>
</div>
<div class="column">
<div class="column2 bg-light">
<h2>Blog Post Three</h2>
<p class="meta">
<i class="fas fa-user"></i>
Posted by <strong>John Doe</strong> | May 19 2020
</p>
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Culpa libero illum repellat eum
voluptatibus, ratione ipsa beatae expedita. Ipsum, aperiam!</p>
<a href="post.html" class="btn btn-dark">
<i class="fas fa-chevron"></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>
<p>Copyrights © 2020 - EdgeLedger</p>
</div>
</footer>
<script>
//Bounce Effect
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;
}, 200);
} else {
navbar.classList.add('top');
scrolled = false;
}
};
</script>
</body>
</html>