-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
109 lines (89 loc) · 3.84 KB
/
contact.html
File metadata and controls
109 lines (89 loc) · 3.84 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" type="image/x-icon" href="favicon.png">
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Open+Sans:ital,wght@0,400;0,600;1,400;1,600&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/93866eaaa9.js" crossorigin="anonymous"></script>
<title>Steve's Blog</title>
</head>
<body class="light-mode">
<nav class="menu">
<div class="nav-left">
<ul>
<li><a href="index.html"><img class="logo" src="favicon.png" alt="favicon"><span class="sitename">Steve's blog</span></a></li>
</ul>
</div>
<div class="nav-right">
<ul>
<li style="padding: 9px"><a id="darkmodetoggle" class="fas fa-moon" onclick="switchTheme()"></a></li>
<li><a href="https://hghann.github.io/contact.html">contact</a></li>
<li><a href="https://hghann.github.io/donate.html">donate</a></li>
<li><a href="https://github.com/hghann">github</a></li>
<li><a href="https://hghann.github.io/rss.xml">rss</a></li>
</ul>
</div>
</nav>
<article>
<h1 id="Contact%20Me">Contact Me</h1>
<hr/>
<p align="center"><img src="/pix/apu_band.gif" alt="apu-band" /></p>
<h2 id="Digital%20Contact%20Information">Digital Contact Information</h2>
<ul>
<li>GPG key for encrypting mail if you know how, <a href="https://hghann.github.io/stevegpg.gpg">here</a> or run:
<ul>
<li><code>curl -sL https://hghann.github.io/stevegpg.gpg | gpg --import</code></li>
<li>Fingerprint: <code>0DF9 140B 749D 3940 BAE5 4E7F 4C50 B54A 911F 6252</code></li>
<li>All legitimate emails from me will be signed with my GPG key.</li>
</ul></li>
</ul>
<p>I’m not on Facebook, I’m not on Twitter, and I’m not on Reddit.</p>
<p><center>
<img src="pix/gif/mail.gif" alt="Internet Free">
</center></p>
<h2 id="Tech%20support">Tech support</h2>
<p>For tech support, do not contact me, use <a href="https://github.com/hghann">GitHub</a>.
If you identify a bug or small mistyping, you can email me though.</p>
<h2 id="Rules">Rules</h2>
<ol>
<li>Don’t get offended if you don’t get a response. I get a lot of emails.</li>
</ol>
</article>
<footer>
<p>Licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a></br>
Created with <a href="https://www.romanzolotarev.com/ssg.html">ssg</a> by Roman Zolotarev
</footer>
<script>
// Get the theme toggle input
const currentTheme = localStorage.getItem("theme");// If the current local storage item can be found
// Function that will switch the theme based on the if the theme toggle is checked or not
function switchTheme() {
if (document.documentElement.getAttribute("data-theme") === "dark") {
document.documentElement.setAttribute("data-theme", "light");
// Set the user's theme preference to dark
localStorage.setItem("theme", "light");
} else {
document.documentElement.setAttribute("data-theme", "dark");
// Set the user's theme preference to light
localStorage.setItem("theme", "dark");
}
}
// Get the current theme from local storage
if (currentTheme) {
// Set the body data-theme attribute to match the local storage item
document.documentElement.setAttribute("data-theme", currentTheme);
if (currentTheme === "dark") {
document.documentElement.setAttribute("data-theme", "dark");
}
}
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
console.log('user prefers dark scheme, going dark');
document.documentElement.setAttribute("data-theme", "dark");
}
</script>
</body>
</html>