From 31969e94c89cf9b1233a3439a4000667e51876bf Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sun, 5 Apr 2020 14:39:45 -0500 Subject: Add zines page --- src/public/pf6.pdf | Bin 0 -> 55864797 bytes src/public/pf6.png | Bin 0 -> 548793 bytes src/public/zines.html | 32 ++++++++++++++++++++++++++++++++ src/server.js | 3 +++ 4 files changed, 35 insertions(+) create mode 100644 src/public/pf6.pdf create mode 100644 src/public/pf6.png create mode 100644 src/public/zines.html (limited to 'src') diff --git a/src/public/pf6.pdf b/src/public/pf6.pdf new file mode 100644 index 0000000..9c1504c Binary files /dev/null and b/src/public/pf6.pdf differ diff --git a/src/public/pf6.png b/src/public/pf6.png new file mode 100644 index 0000000..e957df4 Binary files /dev/null and b/src/public/pf6.png differ diff --git a/src/public/zines.html b/src/public/zines.html new file mode 100644 index 0000000..12b3b14 --- /dev/null +++ b/src/public/zines.html @@ -0,0 +1,32 @@ + + + + + Mark's Kitchen - Zines + + + + + + + +
+

+ < + Zines +

+ +
+ + + \ No newline at end of file diff --git a/src/server.js b/src/server.js index b92d7d4..0d01641 100644 --- a/src/server.js +++ b/src/server.js @@ -102,6 +102,9 @@ function setUpRoutes(models, jwtFunctions, database) { server.get('/chess', (req, res) => res.sendFile(__dirname + "/html/chess.html")); server.get('/admin/chess', async (req, res, next) => res.sendFile(__dirname + "/html/chess.html")); server.get('/projects', (req, res) => res.sendFile(__dirname + "/html/projects.html")); + server.get('/zines', (req, res) => res.sendFile(__dirname + "/public/zines.html")); + server.use('/static', express.static(__dirname + '/public')) + server.get('/wordsquares/best', async (req, res, next) => { var best = await database.query("select words, name from wordsquares where best = 1", { type: database.QueryTypes.SELECT }) res.status(200).send({ best: best }); -- cgit v1.2.3