diff options
-rw-r--r-- | src/public/pf6.pdf | bin | 0 -> 55864797 bytes | |||
-rw-r--r-- | src/public/pf6.png | bin | 0 -> 548793 bytes | |||
-rw-r--r-- | src/public/zines.html | 32 | ||||
-rw-r--r-- | src/server.js | 3 |
4 files changed, 35 insertions, 0 deletions
diff --git a/src/public/pf6.pdf b/src/public/pf6.pdf Binary files differnew file mode 100644 index 0000000..9c1504c --- /dev/null +++ b/src/public/pf6.pdf diff --git a/src/public/pf6.png b/src/public/pf6.png Binary files differnew file mode 100644 index 0000000..e957df4 --- /dev/null +++ b/src/public/pf6.png 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 @@ +<!doctype html> +<html lang="en"> + +<head> + <title>Mark's Kitchen - Zines</title> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <link rel="stylesheet" type="text/css" href="/css/styles.css"> + <style> + .thumbnail img{ + height: 500px; + display: block; + } + </style> +</head> + +<body> + <div> + <h1> + <a class="navigation" href="/" title="marks.kitchen"><</a> + Zines + </h1> + <div class="thumbnail"> + <a href="/static/pf6.pdf" title="Palace Flophouse 6"> + <img src="/static/pf6.png"> + <span>Palace Flophouse 6 (download pdf)</span> + </a> + </div> + </div> +</body> + +</html>
\ 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 }); |