aboutsummaryrefslogtreecommitdiff
path: root/src/trivia
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-10-29 21:10:31 -0500
committerMark Powers <markppowers0@gmail.com>2020-10-29 21:10:31 -0500
commitba26da4ac06807cde20ca2ee52064f66829f0348 (patch)
treefb8a2e45693ce7b60defffefa1ae83b31248ea28 /src/trivia
parent408f0913d976f8c756c57180163236b42a45bff0 (diff)
Begin trivia sound effects
Diffstat (limited to 'src/trivia')
-rw-r--r--src/trivia/server.js2
-rw-r--r--src/trivia/sound-effects.html18
2 files changed, 20 insertions, 0 deletions
diff --git a/src/trivia/server.js b/src/trivia/server.js
index 19d4fcd..910f836 100644
--- a/src/trivia/server.js
+++ b/src/trivia/server.js
@@ -7,6 +7,8 @@ function setUpRoutes(server, models, jwtFunctions, database) {
server.get('/trivia', (req, res) => res.sendFile(__dirname + "/index.html"))
server.get('/trivia/main.js', (req, res) => res.sendFile(__dirname + "/static/main.js"))
server.get('/trivia/styles.css', (req, res) => res.sendFile(__dirname + "/static/styles.css"))
+ server.get('/trivia/sound-effects', (req, res) => res.sendFile(__dirname + "/sound-effects.html"))
+ server.get('/trivia/', (req, res) => res.sendFile(__dirname + "/static/styles.css"))
// a list of games
var games = []
diff --git a/src/trivia/sound-effects.html b/src/trivia/sound-effects.html
new file mode 100644
index 0000000..b11ac7d
--- /dev/null
+++ b/src/trivia/sound-effects.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<html lang="en">
+
+<head>
+ <title>Trivia - Sound effects</title>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <link rel="shortcut icon" href="/favicon.ico">
+ <link rel="stylesheet" type="text/css" href="/trivia/styles.css">
+</head>
+
+<body>
+ <p>
+
+ </p>
+</body>
+
+</html> \ No newline at end of file