Skip to content

Commit 7f28a12

Browse files
authored
Fetch Updated Website and Docs Files From gh-pages (#51)
2 parents 34929d8 + 3cc521a commit 7f28a12

19 files changed

+92
-8
lines changed

404.html

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>404 Error - Page Not Found</title>
7+
<style>
8+
body {
9+
background-color: #1e1e1e;
10+
color: #d4d4d4;
11+
font-family: "Courier New", Courier, monospace;
12+
display: flex;
13+
justify-content: center;
14+
align-items: center;
15+
height: 100vh;
16+
margin: 0;
17+
}
18+
.container {
19+
text-align: center;
20+
}
21+
.error-code {
22+
font-size: 3rem;
23+
color: #ce9178;
24+
}
25+
.error-message {
26+
font-size: 1.5rem;
27+
color: #dcdcaa;
28+
}
29+
.hint {
30+
margin-top: 20px;
31+
font-size: 1rem;
32+
color: #569cd6;
33+
}
34+
a {
35+
text-decoration: none;
36+
color: #4ec9b0;
37+
}
38+
a:hover {
39+
text-decoration: underline;
40+
}
41+
.terminal {
42+
background-color: #252526;
43+
padding: 20px;
44+
border-radius: 5px;
45+
margin-top: 20px;
46+
color: #d4d4d4;
47+
font-size: 1rem;
48+
}
49+
</style>
50+
</head>
51+
<body>
52+
<div class="container">
53+
<div class="error-code">Error 404</div>
54+
<div class="error-message">Oops! The page you're looking for is not found.</div>
55+
<div class="hint">
56+
Try debugging by <a href="/">returning home</a>.
57+
</div>
58+
<div class="terminal">
59+
> _ PageNotFoundException: The requested resource could not be located. <br>
60+
> _ StatusCode: 404 <br>
61+
> _ Hint: Check the URL for typos or contact the admin. <br>
62+
</div>
63+
</div>
64+
</body>
65+
</html>

assets/compare-and-pull.png

-34.3 KB
Loading

assets/desktop/app-name-branch.png

58.6 KB
Loading

assets/desktop/app-new-branch.png

21.3 KB
Loading

assets/desktop/commit1.png

43.4 KB
Loading

assets/desktop/commit2.png

4.43 KB
Loading

assets/desktop/push.png

5.3 KB
Loading

assets/desktop/sign-in.png

2.2 KB
Loading

assets/desktop/status.png

47 KB
Loading

assets/snl-script.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ async function searchContributor() {
293293
const result = await fetchContributor(fileName);
294294

295295
if (result) {
296+
document.activeElement.blur();
296297
searchedUser=fileName;
297298
showDial(result);
298299
} else {
@@ -303,7 +304,7 @@ async function searchContributor() {
303304

304305
function share(link){
305306
let url='';
306-
let current_url=window.location.href+(window.location.href.includes('?c=')?"":'?c='+search.value);
307+
let current_url=`https://First-Accord.js.org?c=${searchedUser}`;
307308
let message="Don't miss out—join First Accord and make your very first contribution to GitHub and Open Source!";
308309
switch(link){
309310
case 0:
@@ -313,10 +314,10 @@ function share(link){
313314
url=`https://x.com/intent/post?url=${current_url}&via=STICKnoLOGIC&hashtags=FirstAccord&text=${message}`;
314315
break;
315316
case 2:
316-
url=`https://bsky.app/intent/compose?text=${message} ${current_url}\n via @sticknologic.bsky.social`;
317+
url=`https://bsky.app/intent/compose?text=${message}%0A${current_url}%0Avia @STICKnoLOGIC.is-a.dev`;
317318
break;
318319
case 3:
319-
url=`https://wa.me/?text=${message} :: ${current_url}`;
320+
url=`https://wa.me/?text=${message}%0A${current_url}`;
320321
break;
321322
case 4:
322323
url=`https://t.me/share/url?url=${current_url}&text=${message}`;

0 commit comments

Comments
 (0)