-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path404.html
155 lines (136 loc) · 5.46 KB
/
404.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
<!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"><!-- Begin Jekyll SEO tag v2.6.1 -->
<title>Piyush Agrawal | A lazy developer on a mission to make life easy.</title>
<meta name="generator" content="Jekyll v3.8.6" />
<meta property="og:title" content="Piyush Agrawal" />
<meta name="author" content="poush" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="A lazy developer on a mission to make life easy." />
<meta property="og:description" content="A lazy developer on a mission to make life easy." />
<meta property="og:site_name" content="Piyush Agrawal" />
<script type="application/ld+json">
{"description":"A lazy developer on a mission to make life easy.","@type":"WebPage","headline":"Piyush Agrawal","url":"/404.html","author":{"@type":"Person","name":"poush"},"@context":"https://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/assets/css/style.css">
<link rel="icon" type="image/png" href="/assets/favicon.png" /><link type="application/atom+xml" rel="alternate" href="/feed.xml" title="Piyush Agrawal" /><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/default.min.css">
<link rel="stylesheet" href="/assets/dracula.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body><div class="site-header">
<div class="wrapper wrapper-header">
<a class="site-title" rel="author" href="/"><span class="muted">/Users/</span>Piyush Agrawal<b class="command_prompt"></b><b class="blinking_cursor">_</b></a>
<div class="author-box">
<!-- <img src="https://gravatar.com/avatar/e6e6f4e575ebd10763d358825bd441b5?s=256" class="author-avatar" /> -->
<span style="color: #50BD6A; float:right">A lazy developer on a mission to make life easy.
</span>
</div>
</div>
</div>
<!-- <span class="social_links">
<a class="color-cyan-hover" href="https://twitter.com/mepoush"><i class="fab fa-twitter-square"></i></a><a class="color-purple-hover" href="https://github.com/poush"><i class="fab fa-github-square"></i></a>
</span> -->
<main class="page-content" aria-label="Content">
<div class="wrapper">
<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<div class="container">
<h1>404</h1>
<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
</div>
</main><footer class="site-footer">
<div class="wrapper">
<div class="credits"><!-- <div class="toggleWrapper">
<input type="checkbox" class="dn" id="theme-toggle" onclick="modeSwitcher()" checked />
<label for="theme-toggle" class="toggle">
<span class="toggle__handler">
<span class="crater crater--1"></span>
<span class="crater crater--2"></span>
<span class="crater crater--3"></span>
</span>
<span class="star star--1"></span>
<span class="star star--2"></span>
<span class="star star--3"></span>
<span class="star star--4"></span>
<span class="star star--5"></span>
<span class="star star--6"></span>
</label>
</div> -->
<script type="text/javascript">
const theme = localStorage.getItem('theme');
if (theme === 'undefined') {
theme = "dark";
}
if (theme === "dark") {
document.documentElement.setAttribute('data-theme', 'dark');
} else {
document.documentElement.setAttribute('data-theme', 'light');
}
const userPrefers = getComputedStyle(document.documentElement).getPropertyValue('content');
function activateDarkTheme() {
// document.getElementById('theme-toggle').checked = true;
document.documentElement.setAttribute('data-theme', 'dark');
document.documentElement.classList.add('theme--dark');
document.documentElement.classList.remove('theme--light');
// document.getElementById("theme-toggle").className = 'light';
window.localStorage.setItem('theme', 'dark');
}
function activateLightTheme() {
// document.getElementById('theme-toggle').checked = false;
document.documentElement.setAttribute('data-theme', 'light');
document.documentElement.classList.add('theme--light');
document.documentElement.classList.remove('theme--dark');
document.getElementById("theme-toggle").className = 'dark';
window.localStorage.setItem('theme', 'light');
}
if (theme === "dark") {
activateDarkTheme();
} else if (theme === "light") {
activateLightTheme();
} else if (userPrefers === "light") {
activateDarkTheme();
} else {
activateDarkTheme();
}
activateDarkTheme();
// function modeSwitcher() {
// let currentMode = document.documentElement.getAttribute('data-theme');
// if (currentMode === "dark") {
// activateLightTheme();
// } else {
// activateDarkTheme();
// }
// }
</script></div>
</div>
</footer>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-152252318-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-152252318-1');
</script><script>
window.FontAwesomeConfig = {
searchPseudoElements: true
}
</script>
</body>
</html>