-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhome.html
196 lines (163 loc) · 6.77 KB
/
home.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
---
---
<!DOCTYPE html>
<head>
<link href="https://fonts.googleapis.com/css?family=Work+Sans:400" rel="stylesheet">
<link href="/css/styles.css" rel="stylesheet" type="text/css">
<meta charset="utf-8">
<title>Tech & Tarot Blog</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="wot-verification" content="eb4c7684ad59af1c5010" />
<meta name="description"
content="The Technology & Tarot blog touches on a range of topics: technology, spiritual growth, love, music, politics, self-care, android/iOS development, and website design. ">
<meta name="author" content="Nia Williams">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<script src="https://www.w3schools.com/lib/w3.js"></script>
<script id="mcjs">
function showPopup() {
!function (c, h, i, m, p) { m = c.createElement(h), p = c.getElementsByTagName(h)[0], m.async = 1, m.src = i, p.parentNode.insertBefore(m, p) }(document, "script", "https://chimpstatic.com/mcjs-connected/js/users/a8120e69a7436706de6c22f08/ea9f1bf1251f23905ec1cd738.js");
//unsetting the cookie
document.cookie = "MCPopupClosed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
document.cookie = "MCPopupSubscribed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
}
document.getElementById("show-popup").onclick = function () { showPopup(); }
</script>
</head>
<body class="blog-body">
<header class="col-1">
<div class="nav-container">
<div class="logo-div">
<a href="https://niaapps.github.io/index.html"><img src="/../../images/logo.png" height="50px" width="65px"
alt="logo" class="logo"></a>
</div>
<nav>
<ul>
<li><a href="https://niaapps.github.io/index.html">Home</a></li>
<li><a href="https://niaapps.github.io/about.html">About</a></li>
<li><a href="https://niaapps.github.io/niaapps-blog/">Blog</a></li>
<li><a href="https://niaapps.github.io/contact.html">Contact</a></li>
<li><a href="https://niaapps.github.io/pricing.html">Pricing</a></li>
<li><a href="https://niaapps.github.io/portfolio.html">Portfolio</a></li>
</ul>
</nav>
</div>
</header>
<div class="page-title col-4">
<p>
<h2>Technology & Tarot Blog</h2>
</p>
</div>
<div class="wrapper-home col-2">
<h2 class="blog-recent">Recent Posts</h2>
<div class="select-div">
<select name="post-type" id="post-type" onchange="show_post_type(this)">
<optgroup>
<option value="1">All Posts</option>
<option value="2">Coding Posts</option>
<option value="3">Personal Posts </option>
</optgroup>
</select>
</div>
<div id="all-posts">
<ul>
{% for post in site.posts %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</div>
<div id="coding-posts">
<ul>{% for post in site.categories.updates-coding %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</div>
<div id="personal-posts">
<ul>{% for post in site.categories.updates-personal %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
<footer class="footer-blog-home">
<div class="footer-links-left">
<ul class="social">
<li>
<a href="https://www.facebook.com/niaapplications/" target="_blank">
<img src="/images/fb.png" alt="fb-link" style="width: 32px; height:32px">
</a>
</li>
<li>
<a href="https://www.instagram.com/nia.apps/" target="_blank">
<img src="/images/ig.png" alt="instagram-link" style="width: 32px; height:32px ">
</a>
</li>
<li>
<a href="https://twitter.com/niawillie" target="_blank">
<img src="/images/twitter.png" alt="twi-link" style="width: 28px; height:28px">
</a>
</li>
<li>
<a href="https://www.linkedin.com/in/niaapps" target="_blank">
<img src="/images/li.png" alt="li-link" style="width: 32px; height:32px">
</a>
</li>
<li>
<a href="https://github.com/niaapps" target="_blank">
<img src="/images/git.png" alt="git-link" style="width: 32px; height:32px ">
</a>
</li>
</ul>
</div>
<div class="footer-subscribe">
<p>Subscribe for Updates:</p>
<div class="sub-b">
<button id="mc-btn" onclick="showPopup()" style="float: right;">Sign Up</button>
</div>
</div>
<!-- <div class="footer-copyright"> © 2020 Copyright: Nia Applications
</div> -->
<!-- Footer Links -->
</footer>
<script>
function show_post_type(element) {
if (element.value == 1) {
document.getElementById("all-posts").style.display = 'inline-block';
document.getElementById("personal-posts").style.display = 'none';
document.getElementById("coding-posts").style.display = 'none';
}
if (element.value == 3) {
document.getElementById("personal-posts").style.display = 'inline-block';
document.getElementById("all-posts").style.display = 'none';
document.getElementById("coding-posts").style.display = 'none';
}
if (element.value == 2) {
document.getElementById("coding-posts").style.display = 'inline-block';
document.getElementById("all-posts").style.display = 'none';
document.getElementById("personal-posts").style.display = 'none';
}
}
</script>
</body>
</html>