summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/.gitignore2
-rw-r--r--static/fs.go6
-rw-r--r--static/index.html13
3 files changed, 21 insertions, 0 deletions
diff --git a/static/.gitignore b/static/.gitignore
new file mode 100644
index 0000000..682c87e
--- /dev/null
+++ b/static/.gitignore
@@ -0,0 +1,2 @@
+places
+assets \ No newline at end of file
diff --git a/static/fs.go b/static/fs.go
new file mode 100644
index 0000000..b770631
--- /dev/null
+++ b/static/fs.go
@@ -0,0 +1,6 @@
+package static
+
+import "embed"
+
+//go:embed assets/* index.html
+var FS embed.FS
diff --git a/static/index.html b/static/index.html
new file mode 100644
index 0000000..5234688
--- /dev/null
+++ b/static/index.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>GeoGuessr</title>
+ <link rel="stylesheet" href="/assets/index.css">
+</head>
+<body>
+ <div id="app"></div>
+</body>
+<script src="/assets/index.js"></script>
+</html> \ No newline at end of file