-
Notifications
You must be signed in to change notification settings - Fork 0
/
posts.html
162 lines (162 loc) · 7.07 KB
/
posts.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
<!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>Blog Posts | The Fluffy Piranha</title>
<meta name="description" content="Browse Leo's latest blog posts" />
<link rel="icon" href="images/logo_leo_small_head.png" />
<link href="css/styles.css" rel="stylesheet" />
<link href="css/pages/posts.css" rel="stylesheet" />
<script src="/js/posts.js" type="module" defer></script>
<script src="/js/components/nav_footer.js" type="module" defer></script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Courgette&family=Raleway:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet" />
<script src="https://kit.fontawesome.com/e4f6b5cf1a.js" crossorigin="anonymous"></script>
<!-- Hotjar Tracking Code for https://deft-scone-ef0e91.netlify.app/index.html -->
<script>
(function (h, o, t, j, a, r) {
h.hj =
h.hj ||
function () {
(h.hj.q = h.hj.q || []).push(arguments);
};
h._hjSettings = { hjid: 2960772, hjsv: 6 };
a = o.getElementsByTagName("head")[0];
r = o.createElement("script");
r.async = 1;
r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
a.appendChild(r);
})(window, document, "https://static.hotjar.com/c/hotjar-", ".js?sv=");
</script>
</head>
<body>
<header>
<div id="skip"><a href="#main-content">Skip to Main Content</a></div>
<div class="logo-header page-wrapper-large">
<a href="index.html"><img src="images/leo_page_logo.png" alt="The Fluffy Piranha, Logo" /></a>
</div>
<nav>
<ul class="navigation-menu hide-menu page-wrapper-large">
<li><a href="index.html">Home</a></li>
<li><a href="posts.html" id="current-page">Posts</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li>
<i class="search-button fa-solid fa-magnifying-glass" title="Search" role="button" tabindex="0"></i>
</li>
</ul>
<button class="menu-button">
<span class="visually-hidden">menu</span>
<span class="line1"></span>
<span class="line2"></span>
<span class="line3"></span>
</button>
</nav>
<div class="hidden-search search-container">
<form class="search-form page-wrapper-large">
<label for="search-input" class="visually-hidden">search</label>
<div class="search-bar">
<input type="text" class="search-input" id="search-input" />
<input type="submit" value="Search" class="search-btn cta" />
</div>
</form>
</div>
</header>
<main class="page-wrapper-large">
<section class="post-results">
<h1 id="main-content">Posts</h1>
<div class="search-terms"></div>
<div class="filters-sort">
<div>
<label for="filter">Tags:</label>
<select name="filter" id="filter">
<!-- js fills filter with categories -->
</select>
</div>
<div>
<label for="sort">Sort:</label>
<select name="sort" id="sort">
<option value="Newest">Newest</option>
<option value="Oldest">Oldest</option>
<!-- Not sure further sorts are required here, sort itself seems a redundant feature too-->
</select>
</div>
</div>
<div class="post-results-container">
<div class="loader">
<div class="outer-loader"></div>
<div class="inner-loader"></div>
<p>Getting posts, please wait...</p>
</div>
</div>
<div class="show-more-container">
<!-- js fills values -->
<p>Showing: <span class="current-shown-results"></span> of <span class="total-results"></span></p>
<!-- js disables when all posts displayed -->
<button class="show-more-results cta">Show More</button>
</div>
</section>
</main>
<footer>
<section class="page-wrapper-large footer-content-container">
<div>
<h3>Social Media</h3>
<div class="social-media">
<a href="#" class="social-media-icons">
<img src="images/icons_and_interface/icon-awesome-youtube.png" class="social-normal" alt="Youtube icon" />
<img src="images/icons_and_interface/icon-awesome-youtube-red.png" class="social-hover" alt="Youtube icon" />
</a>
<a href="#" class="social-media-icons">
<img src="images/icons_and_interface/icon-awesome-twitter.png" class="social-normal" alt="Twitter icon" />
<img src="images/icons_and_interface/icon-awesome-twitter-blue.png" class="social-hover" alt="Twitter icon" />
</a>
<a href="#" class="social-media-icons">
<img src="images/icons_and_interface/icon-awesome-instagram.png" class="social-normal" alt="Instagram icon" />
<img src="images/icons_and_interface/icon-awesome-instagram-purple.png" class="social-hover" alt="Instagram icon" />
</a>
<a href="#" class="social-media-icons">
<img src="images/icons_and_interface/icon-awesome-facebook.png" class="social-normal" alt="Facebook icon" />
<img src="images/icons_and_interface/icon-awesome-facebook-blue.png" class="social-hover" alt="Facebook icon" />
</a>
</div>
</div>
<div class="sign-up">
<h3>Newsletter</h3>
<label for="signup">Signup to are weekly newsletter</label>
<form action="POST" class="signup-form">
<input type="text" name="signup" id="signup" class="signup-input" />
<input type="submit" value="Signup" class="signup-submit cta" />
</form>
<div class="error" id="error-signup-email"></div>
</div>
<div>
<h3>Links</h3>
<ul class="footer-links">
<li><a href="index.html">Home</a></li>
<li><a href="posts.html">Posts</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</section>
<div class="footer-bottom">
<section class="page-wrapper-large">
<h2>Our Sponsors</h2>
<div class="sponsors-post-container">
<div class="loader">
<div class="outer-loader"></div>
<div class="inner-loader"></div>
<p>Getting sponsors, please wait...</p>
</div>
</div>
</section>
<p class="copyright">Copyright © 2022 Fluffy Piranha</p>
</div>
</footer>
</body>
</html>