diff --git a/src/http.go b/src/http.go
index 643696b..5e30ca9 100644
--- a/src/http.go
+++ b/src/http.go
@@ -104,6 +104,10 @@ func index(w http.ResponseWriter, req *http.Request) {
}
}
+func styles(w http.ResponseWriter, req *http.Request) {
+ http.ServeFile(w, req, "www/styles.css")
+}
+
func favicon(w http.ResponseWriter, req *http.Request) {
http.ServeFile(w, req, "www/favicon.ico")
}
@@ -132,8 +136,10 @@ func StartHttpServer() {
// http server
http.HandleFunc("/", index)
+ http.HandleFunc("/styles.css", styles)
http.HandleFunc("/favicon.ico", favicon)
http.HandleFunc("/robots.txt", robots)
+ http.Handle("/fonts/", http.StripPrefix("/fonts/", http.FileServer(http.Dir("www/fonts/"))))
if err := http.ListenAndServe(":8888", nil); err != nil {
log.Fatalf("server failed: %v", err)
}
diff --git a/www/error.html b/www/error.html
index f01af58..4d2a9ef 100644
--- a/www/error.html
+++ b/www/error.html
@@ -5,42 +5,17 @@
error - {{ .Title }}
-
-
-
-
-
-
+
+
diff --git a/www/fonts/inter-v20-latin-500.ttf b/www/fonts/inter-v20-latin-500.ttf
new file mode 100644
index 0000000..529dd8e
Binary files /dev/null and b/www/fonts/inter-v20-latin-500.ttf differ
diff --git a/www/fonts/inter-v20-latin-500.woff2 b/www/fonts/inter-v20-latin-500.woff2
new file mode 100644
index 0000000..54f0a59
Binary files /dev/null and b/www/fonts/inter-v20-latin-500.woff2 differ
diff --git a/www/fonts/inter-v20-latin-600.ttf b/www/fonts/inter-v20-latin-600.ttf
new file mode 100644
index 0000000..fbd58d6
Binary files /dev/null and b/www/fonts/inter-v20-latin-600.ttf differ
diff --git a/www/fonts/inter-v20-latin-600.woff2 b/www/fonts/inter-v20-latin-600.woff2
new file mode 100644
index 0000000..d189794
Binary files /dev/null and b/www/fonts/inter-v20-latin-600.woff2 differ
diff --git a/www/fonts/inter-v20-latin-700.ttf b/www/fonts/inter-v20-latin-700.ttf
new file mode 100644
index 0000000..d75db62
Binary files /dev/null and b/www/fonts/inter-v20-latin-700.ttf differ
diff --git a/www/fonts/inter-v20-latin-700.woff2 b/www/fonts/inter-v20-latin-700.woff2
new file mode 100644
index 0000000..a68fb10
Binary files /dev/null and b/www/fonts/inter-v20-latin-700.woff2 differ
diff --git a/www/fonts/inter-v20-latin-800.ttf b/www/fonts/inter-v20-latin-800.ttf
new file mode 100644
index 0000000..90e9e47
Binary files /dev/null and b/www/fonts/inter-v20-latin-800.ttf differ
diff --git a/www/fonts/inter-v20-latin-800.woff2 b/www/fonts/inter-v20-latin-800.woff2
new file mode 100644
index 0000000..74a16d4
Binary files /dev/null and b/www/fonts/inter-v20-latin-800.woff2 differ
diff --git a/www/fonts/inter-v20-latin-regular.ttf b/www/fonts/inter-v20-latin-regular.ttf
new file mode 100644
index 0000000..c6678a6
Binary files /dev/null and b/www/fonts/inter-v20-latin-regular.ttf differ
diff --git a/www/fonts/inter-v20-latin-regular.woff2 b/www/fonts/inter-v20-latin-regular.woff2
new file mode 100644
index 0000000..f15b025
Binary files /dev/null and b/www/fonts/inter-v20-latin-regular.woff2 differ
diff --git a/www/fonts/jetbrains-mono-v24-latin-600.ttf b/www/fonts/jetbrains-mono-v24-latin-600.ttf
new file mode 100644
index 0000000..17fcdb5
Binary files /dev/null and b/www/fonts/jetbrains-mono-v24-latin-600.ttf differ
diff --git a/www/fonts/jetbrains-mono-v24-latin-600.woff2 b/www/fonts/jetbrains-mono-v24-latin-600.woff2
new file mode 100644
index 0000000..59c24e7
Binary files /dev/null and b/www/fonts/jetbrains-mono-v24-latin-600.woff2 differ
diff --git a/www/index.html b/www/index.html
index e609cac..2d8317d 100644
--- a/www/index.html
+++ b/www/index.html
@@ -5,39 +5,13 @@
status - {{ .Title }}
-
-
-
-
-
-
+
+