-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
283 lines (270 loc) · 16.9 KB
/
index.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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<!DOCTYPE html>
<html lang="en" style="background-color: rgb(0, 0, 0);">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, nofollow">
<meta name="author" content="EnBizCard - An Open-Source Digital Business Card Generator">
<meta name="url" content="https://enbizcard.vishnuraghav.com/">
<meta name="designer" content="Vishnu Raghav">
<meta property="og:title" content="Christian Prather's Digital Business Card">
<meta property="twitter:title" content="Christian Prather's Digital Business Card">
<script>
"http" == window.location.href.substr(0, 4) && "/" != window.location.href.slice(-1) && window.location.replace(window.location.href + "/");
</script> <!---->
<title>Christian Prather's Digital Business Card</title>
<style>
#body {
font-family: sans-serif;
}
input[type='range']::-moz-range-track {
background: none;
}
input[type='range']::-moz-range-thumb {
-moz-appearance: none;
width: 1.5rem;
height: 1.5rem;
border-radius: 100%;
border: none;
background: #142662;
z-index: 3;
cursor: pointer;
}
input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
width: 1.5rem;
height: 1.5rem;
border-radius: 100%;
border: none;
background: #142662;
z-index: 3;
cursor: pointer;
}
.closeColor {
filter: invert(1)
}
.topAction {}
.iconColor {
color: #eee;
}
.cardColor {
color: #222 !important
}
.textColor {
color: #222 !important
}
.seekbarColor {
background: #14266280 !important
}
</style> <!----> <!---->
<link rel="stylesheet" href="./style.min.css">
</head>
<body id="body">
<div id="modal" style="background-color: rgb(255, 255, 255); visibility: hidden; top: 2rem; opacity: 0;"><a id="close"
class="closeColor">
<div class="icon"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2">
<path style="fill:none" d="M0 0h24v24H0z"></path>
<path d="M18 6 6 18M6 6l12 12" style="fill:none;fill-rule:nonzero;stroke:#fff;stroke-width:2px"></path>
</svg></div>
</a>
<div id="keyView">
<p class="textColor">
Use my public key to send me encrypted messages
</p> <a download="" target="_blank" id="dlKey" rel="noreferrer" tabindex="-1"
style="background-color: rgb(20, 38, 98);" href="./Christian Prather's public key.asc">
<div class="icon iconColor"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2">
<path style="fill:none" d="M0 0h24v24H0z"></path>
<path d="M21 15v4c0 1.097-.903 2-2 2H5c-1.097 0-2-.903-2-2v-4m4-5 5 5 5-5m-5 5V3"
style="fill:none;fill-rule:nonzero;stroke:#fff;stroke-width:2px"></path>
</svg></div> <span class="iconColor">Download Key</span>
</a>
</div>
<div id="copyView">
<p class="textColor">
Copy and send the URL to share my Business Card
</p> <button id="copyURL" style="background-color: rgb(20, 38, 98);">
<div class="icon iconColor"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2">
<path style="fill:none" d="M0 0h24v24H0z"></path>
<path d="M22 11a2 2 0 0 0-2-2h-9a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-9Z"
style="fill:none;stroke:#fff;stroke-width:2px"></path>
<path d="M5 15H4c-1.097 0-2-.903-2-2V4c0-1.097.903-2 2-2h9c1.097 0 2 .903 2 2v1"
style="fill:none;fill-rule:nonzero;stroke:#fff;stroke-width:2px"></path>
</svg></div> <span class="iconColor">Copy URL</span>
</button>
</div>
<div id="qrView" class="textColor">
<div id="qr"></div>
<h3>Scan the QR Code</h3>
<p>to view my Business Card on another device</p>
</div>
</div>
<header>
<div id="topActions" style="display: none;">
<div><a id="share">
<div class="icon topAction"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-miterlimit:2">
<g>
<path style="fill:none" d="M0 0h24v24H0z"></path>
<clipPath id="a">
<path d="M0 0h24v24H0z"></path>
</clipPath>
<g clip-path="url(#a)">
<circle cx="17" cy="5" r="3" style="fill:none;stroke:#fff;stroke-width:2px"></circle>
<circle cx="5" cy="12" r="3" style="fill:none;stroke:#fff;stroke-width:2px"></circle>
<circle cx="17" cy="19" r="3" style="fill:none;stroke:#fff;stroke-width:2px"></circle>
<path d="m7.59 13.51 6.83 3.98m-.01-10.98-6.82 3.98" style="fill:none;stroke:#fff;stroke-width:2px">
</path>
</g>
</g>
</svg></div>
</a> <a id="showQR">
<div class="icon topAction"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2">
<path style="fill:none" d="M0 0h24v24H0z"></path>
<path d="M4 4h4v4H4V4Zm0 12h4v4H4v-4ZM16 4h4v4h-4V4Z" style="fill:none;stroke:#fff;stroke-width:2px">
</path>
<path d="M12 4v14c0 1.097.903 2 2 2h4c1.097 0 2-.903 2-2v-4c0-1.097-.903-2-2-2H4"
style="fill:none;stroke:#fff;stroke-width:2px;stroke-linejoin:miter"></path>
<path style="fill:#fff" d="M15 15h2v2h-2z"></path>
</svg></div>
</a></div> <!---->
</div>
<div class="headerImgC"><!----> <img id="logo" src="./logo.png" alt="Logo" style="margin: 3rem 0px 8rem;"></div>
</header>
<main style="background-color: rgb(255, 255, 255); margin-top: 0px;"><img id="profilePhoto" src="./photo.jpeg"
alt="Photo">
<div id="info" class="textColor">
<p class="name">
Christian Prather
</p> <!---->
<p class="jobtitle">
AI Robotics Engineer
</p>
<p class="bizname">
LUCI Mobility Inc.
</p>
<p class="bizaddr">
9500 W 49th Ave, Unit D-100
Wheat Ridge, CO 80033
</p>
</div>
<p class="sub textColor">
Smart Robotics for Power Wheelchairs
</p> <a id="cta" rel="noreferrer" download="" target="_blank" aria-label="Save Contact"
style="background-color: rgb(20, 38, 98);" href="christianprather.vcf">
<div class="icon iconColor"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2">
<path style="fill:none" d="M0 0h24v24H0z"></path>
<circle cx="8.5" cy="7" r="4" style="fill:none;stroke:#fff;stroke-width:2.29px"
transform="matrix(.875 0 0 .875 4.563 -.625)"></circle>
<path d="M86 181c0-3.863 3.137-7 7-7s7 3.137 7 7" style="fill:none;stroke:#fff;stroke-width:2px"
transform="translate(-81 -163)"></path>
<path d="M104 168v6m3-3-3 3-3-3" style="fill:none;fill-rule:nonzero;stroke:#fff;stroke-width:2px"
transform="translate(-92 -152)"></path>
</svg></div>
<p class="iconColor">Save Contact</p>
</a>
<div class="actions">
<div class="actionsC">
<div class="actionBtn"><a href="tel:7203947742" target="_blank" rel="noopener noreferrer" aria-label="Mobile"
style="background-color: rgb(20, 38, 98);">
<div class="icon iconColor"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2">
<path style="fill:none" d="M0 0h24v24H0z"></path>
<path
d="M11.5 22a.952.952 0 0 1-1.052.945c-4.358-.544-7.851-4.338-8.379-8.39a.938.938 0 0 1 .936-1.046c.399-.009.847-.009 1.202-.009.388 0 .738.237.882.597l.478 1.196a.95.95 0 0 1-.21 1.025l-.107.107a.951.951 0 0 0-.181 1.091c.495.825 1.59 1.92 2.425 2.396a.927.927 0 0 0 1.066-.177c.05-.02.086-.056.122-.092a.95.95 0 0 1 1.025-.21l1.196.478c.36.144.597.494.597.882V22Z"
style="fill:none;stroke:#fff;stroke-width:.95px" transform="translate(-2.21 -26.421) scale(2.10526)">
</path>
</svg></div>
</a>
<p class="textColor">
Mobile
</p>
</div>
</div>
<div class="actionsC">
<div class="actionBtn"><a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer"
aria-label="Email" style="background-color: rgb(20, 38, 98);">
<div class="icon iconColor"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2">
<path style="fill:none" d="M0 0h24v24H0z"></path>
<path
d="M22 33.75c0-.966-.896-1.75-2-1.75H4c-1.104 0-2 .784-2 1.75v10.5c0 .966.896 1.75 2 1.75h16c1.104 0 2-.784 2-1.75v-10.5Z"
style="fill:none;stroke:#fff;stroke-width:1.86px" transform="matrix(1 0 0 1.14286 0 -32.571)"></path>
<path d="m18 7.042-6 2.625-6-2.625" style="fill:none;fill-rule:nonzero;stroke:#fff;stroke-width:1.86px"
transform="matrix(1 0 0 1.14286 0 1.952)"></path>
</svg></div>
</a>
<p class="textColor">
Email
</p>
</div>
</div>
</div>
<div class="actions secondary">
<div class="actionsC">
<div class="actionBtn secBtn"><a href="https://github.com/Christian-Prather" target="_blank"
rel="noopener noreferrer" aria-label="GitHub" style="background: rgb(51, 51, 51);">
<div class="icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="#fff">
<path fill-rule="evenodd"
d="M12.03 2a9.97 9.97 0 0 0-3.16 19.44c.5.09.68-.22.68-.48v-1.7c-2.78.6-3.37-1.34-3.37-1.34-.45-1.15-1.1-1.46-1.1-1.46-.91-.61.06-.6.06-.6 1 .07 1.53 1.03 1.53 1.03.89 1.52 2.33 1.08 2.9.83.1-.65.35-1.09.64-1.34-2.22-.25-4.55-1.1-4.55-4.93 0-1.08.4-1.98 1.03-2.67-.1-.26-.45-1.27.1-2.64 0 0 .83-.27 2.74 1.02a9.58 9.58 0 0 1 5 0c1.9-1.3 2.73-1.02 2.73-1.02.55 1.37.2 2.38.1 2.64.64.7 1.03 1.58 1.03 2.67 0 3.84-2.33 4.68-4.56 4.92.36.31.68.92.68 1.85l-.01 2.74c0 .26.18.57.68.48A9.98 9.98 0 0 0 12.03 2z"
clip-rule="evenodd"></path>
</svg></div>
</a></div>
</div>
<div class="actionsC">
<div class="actionBtn secBtn"><a href="https://youtube.com/@clemsbach/featured" target="_blank"
rel="noopener noreferrer" aria-label="YouTube" style="background: rgb(255, 0, 0);">
<div class="icon"><svg xmlns="http://www.w3.org/2000/svg" fill="#fff" viewBox="0 0 24 24">
<path
d="M21.593 7.203a2.506 2.506 0 0 0-1.762-1.766C18.265 5.007 12 5 12 5s-6.264-.007-7.831.404a2.56 2.56 0 0 0-1.766 1.778c-.413 1.566-.417 4.814-.417 4.814s-.004 3.264.406 4.814c.23.857.905 1.534 1.763 1.765 1.582.43 7.83.437 7.83.437s6.265.007 7.831-.403a2.515 2.515 0 0 0 1.767-1.763c.414-1.565.417-4.812.417-4.812s.02-3.265-.407-4.831zM9.996 15.005l.005-6 5.207 3.005-5.212 2.995z">
</path>
</svg></div>
</a></div>
</div>
<div class="actionsC">
<div class="actionBtn secBtn"><a href="https://linkedin.com/in/christian-prather-707220133/" target="_blank"
rel="noopener noreferrer" aria-label="LinkedIn" style="background: rgb(0, 119, 181);">
<div class="icon"><svg xmlns="http://www.w3.org/2000/svg" fill="#fff" viewBox="0 0 24 24">
<path
d="M20 3H4a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM8.339 18.337H5.667v-8.59h2.672v8.59zM7.003 8.574a1.548 1.548 0 1 1 0-3.096 1.548 1.548 0 0 1 0 3.096zm11.335 9.763h-2.669V14.16c0-.996-.018-2.277-1.388-2.277-1.39 0-1.601 1.086-1.601 2.207v4.248h-2.667v-8.59h2.56v1.174h.037c.355-.675 1.227-1.387 2.524-1.387 2.704 0 3.203 1.778 3.203 4.092v4.71z">
</path>
</svg></div>
</a></div>
</div>
</div>
<div class="featured">
<h2 class="section textColor">
Resume
</h2>
<div>
<div class="mediaC">
<div class="controls cardColor">
<p class="title">
ChristianPratherResume
</p>
<div class="docDl">
<p class="fileSize sub">PDF - 145.51 KB</p> <a href="./media/ChristianPratherResume.pdf" download=""
target="_blank" class="dlBtn" style="background-color: rgb(20, 38, 98);">
<div class="icon iconColor"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2">
<path style="fill:none" d="M0 0h24v24H0z"></path>
<path d="M21 15v4c0 1.097-.903 2-2 2H5c-1.097 0-2-.903-2-2v-4m4-5 5 5 5-5m-5 5V3"
style="fill:none;fill-rule:nonzero;stroke:#fff;stroke-width:2px"></path>
</svg></div>
</a>
</div>
</div>
</div>
</div>
</div>
</main> <!---->
<script src="./qrcode.min.js"></script>
<script>let m = document.getElementById("modal"), c = document.getElementById("close"), ki = document.getElementById("keyView"), cv = document.getElementById("copyView"), curl = document.getElementById("copyURL"), qrv = document.getElementById("qrView"), qr = document.getElementById("qr"), s = document.getElementById("share"), sqr = document.getElementById("showQR"), sk = document.getElementById("showKey"); function tC(e) { "2rem" == e.style.top ? (e.style.visibility = "visible", e.style.top = "0px", e.style.opacity = 1) : (e.style.top = "2rem", e.style.opacity = 0, setTimeout(() => { e.style.visibility = "hidden" }, 200)) } function dN(e) { e.style.display = "none" } window.addEventListener("load", () => { document.querySelector("#topActions").style.display = "flex", qr.innerHTML = new QRCode({ content: window.location.href, container: "svg-viewbox", join: !0, ecl: "L", padding: 0 }).svg() }), navigator.canShare ? s.addEventListener("click", () => { navigator.share({ title: document.title, text: "You can view my Digital Business Card here:", url: window.location.href }) }) : s.addEventListener("click", () => { tC(m), cv.style.display = "flex", dN(qrv), ki && dN(ki) }), sqr.addEventListener("click", () => { tC(m), qrv.style.display = "block", dN(cv), ki && dN(ki) }), sk && sk.addEventListener("click", () => { tC(m), ki && (ki.style.display = "flex"), dN(cv), dN(qrv) }), c.addEventListener("click", () => tC(m)), curl.addEventListener("click", async () => { let e = curl.querySelectorAll(".iconColor")[1]; await navigator.clipboard.writeText(window.location.href).then(t => { e.innerText = "Copied", setTimeout(() => { e.innerText = "Copy URL" }, 1e3) }) });</script>
<script>let pC = document.querySelectorAll(".pCtrl"), pP = document.querySelectorAll(".playPause"), srcs = document.querySelectorAll(".source"); srcs.forEach(e => { e.style.pointerEvents = "none", e.removeAttribute("controls") }), pC.forEach((e, l) => { e.style.display = "flex"; let r = e.querySelector(".currentTime"), s = e.querySelector(".seekBar"), t = e.querySelector(".playPause"), a = t.querySelector(".play"), c = t.querySelector(".pause"); srcs[l].addEventListener("timeupdate", () => { let e = srcs[l].currentTime, t = 100 / srcs[l].duration * e; s.value = t, 100 == t && (s.value = 0, a.style.display = "block", c.style.display = "none"); let o = Math.floor(e / 60), y = Math.floor(e % 60); o.toString().length < 2 && (o = "0" + o), y.toString().length < 2 && (y = "0" + y), r.value = o + ":" + y }), s.addEventListener("change", () => { srcs[l].currentTime = srcs[l].duration * (parseInt(s.value) / 100) }), t.addEventListener("click", () => { srcs[l].paused ? (srcs.forEach((e, r) => { l != r && (e.paused || e.pause()) }), pP.forEach((e, l) => { let r = e.querySelector(".play"), s = e.querySelector(".pause"); r.style.display = "block", s.style.display = "none" }), srcs[l].play(), a.style.display = "none", c.style.display = "block") : (srcs[l].pause(), c.style.display = "none", a.style.display = "block") }) });</script>
</body>
</html>