adds human.txt, site.txt, and 404.html

This commit is contained in:
2024-01-23 19:45:10 -06:00
parent b78cdf6a74
commit a055940bf6
7 changed files with 113 additions and 7 deletions

View File

@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ .Title }}</title>
<style type="text/css">
body {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
font-family: 'Poppins', sans-serif;
background-image: linear-gradient(45deg, #f6d200 25%, #181617 25%, #181617 50%, #f6d200 50%, #f6d200 75%, #181617 75%, #181617 100%);
}
h1 {
text-transform: uppercase;
background: repeating-linear-gradient(
45deg,
#f6d200 ,
#f6d200 10px,
#181617 10px,
#181617 20px
);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 384px;
margin: 0;
line-height: .7;
position: relative;
}
</style>
</head>
<body id="home">
<h1 class="text"><span>{{ printf "%d" .ErrorCode }}</span></h1>
</body>
</html>

16
assets/html/human.txt Normal file
View File

@@ -0,0 +1,16 @@
/* TEAM */
Owner: Nicolaas Hyatt
Mastodon: https://mastodon.c.smoothnet.org/@nhyatt
/* CREDIT */
Original Concept: Jan Schaumann
Twitter: https://twitter.com/jschauma
Site: https://istheinternetonfire.com
/* SITE */
Last update: 2024-01-23
Language: English
Doctype: HTML5, GoLang
IDE: VSCodium
Source Code: https://gitea.smoothnet.org/nhyatt/istheinternetonfire

10
assets/html/site.txt.tplt Normal file
View File

@@ -0,0 +1,10 @@
Site: https://istheinternetonfire.app
{{ if gt (len .CVEs) 0 }}
Is the internet on fire: Yes!
{{ range .CVEs }}
{{ .CveID | ToUpper }} - {{ .Product }}
{{ .ShortDescription }}
{{ end }}
{{ else }}
Is the internet on fire: No
{{ end }}

View File

@@ -1,3 +0,0 @@
{{- range .CVEs }}
{{ .CveID | ToUpper }} - {{ .Product }} - {{ .ShortDescription }}
{{- end }}