From 569bec2aebc7788fa2ce6583f5f959231205c238 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Fri, 8 Nov 2019 22:07:50 -0600 Subject: Add projects page --- src/css/styles.css | 19 ++++-- src/html/projects.html | 180 +++++++++++++++++++++++++++++++++++++++++++++++++ src/server.js | 1 + 3 files changed, 195 insertions(+), 5 deletions(-) create mode 100644 src/html/projects.html diff --git a/src/css/styles.css b/src/css/styles.css index 07d674e..18c2e81 100644 --- a/src/css/styles.css +++ b/src/css/styles.css @@ -16,11 +16,15 @@ body { font-family: Arial, Helvetica, sans-serif; } +h1, h2 { + font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; + font-weight: 150; +} + h1 { font-size: 30pt; - font-weight: 150; margin-bottom: 0; - font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; + margin: auto; } @keyframes zoom-left { @@ -51,6 +55,14 @@ img { image-orientation: from-image; } +a { + text-decoration: none; +} + +.card-title { + +} + .card { margin: 1em; padding: 2%; @@ -67,9 +79,6 @@ img { border: 2px solid #888; } -h1 { - margin: auto; -} #feed { width: 100%; diff --git a/src/html/projects.html b/src/html/projects.html new file mode 100644 index 0000000..16d3f25 --- /dev/null +++ b/src/html/projects.html @@ -0,0 +1,180 @@ + + + + + Mark's Kitchen - Projects + + + + + + + + + + +
+

+ < + Projects +

+

A collection of my projects, mostly programming

+
+ +
+

+ Cosmic Cargo +

+

+ A game I worked on with some friends for GBJAM 2019, and is + Oregon Trail, in space. + This game was made over the course of a week, and can be played at + this link. +

+

+ 2019-08 +

+
+ +
+

+ marks.kitchen +

+

+ The engine behind this website. I wanted to learn more about + back-end servers, and creating a way to me to update this + website dynamically. I wrote a blog post about the making + here. +

+

+ 2019-01 (until current) +

+
+ +
+

+ marks.database +

+

+ A personal database management system I wrote in order to keep track + of a lot of things. I use this as a bookmark manager, a recipe and pantry + organizer, and a way to store lots of other things too. I wrote some + about making this here. +

+

+ 2019-03 +

+
+ +
+

+ Telegram Plugin Bot +

+

+ A custom Telegram bot I wrote in python that allowed for custom plugins. + This made it super easy to add functionality to a bot, and it made + my group chat with friends lively. This project has now been suceeded by a + rewrite + in Java. It was difficult to manage loading and unloading in Python, and + wrapping the API by hand made it difficult to expand beyond basic messages. +

+

+ 2017-11 (Java: 2019-10) +

+
+ +
+

+ Telegram arcade +

+

+ A general purpose bot and web server to play Telegram HTML5 games. + I couldn't find any existing solutions that allowed me to deploy + these games easily, so I wrote my own. The API is not well documented, + and I wrote a bit about it here. +

+

+ 2019-05 +

+
+ +
+

+ Read-Length +

+

+ A firefox extension that adds the reading length of a website to the + title of a page. This was my first web extension, and its technique + for finding paragraph content doesn't work great. It works well in + firefox on Ubuntu, as the window bar will display the title with + the updated reading time. +

+

+ 2019-02 +

+
+ +
+

+ Compiler +

+

+ A compiler I worked on as an indepedent study during undergrad, + implementing techniques from "Compilers: Principles, Techniques, and Tools". + I also wrote a small stack based virtual + machine that runs the + generated code +

+

+ 2019-10 +

+
+ +
+

+ streetcard +

+

+ A general purpose card game engine. I wanted to test out + some strategies for card games, so I + tried to write an engine for it. I didn't finish it, but + you can play some basic card games in this engine. +

+

+ 2017-10 +

+
+ +
+

+ Roguelike +

+

+ A rogue-like demo game I made just for fun while I was on winter break one year. +

+

+ 2017-01 +

+
+
+
+ + + \ No newline at end of file diff --git a/src/server.js b/src/server.js index a735d35..1a5b3d2 100644 --- a/src/server.js +++ b/src/server.js @@ -98,6 +98,7 @@ function setUpRoutes(models, jwtFunctions, database) { server.get('/essay', (req, res) => res.sendFile(__dirname + "/html/essay.html")); server.get('/snake', (req, res) => res.sendFile(__dirname + "/html/snake.html")); server.get('/word-square', (req, res) => res.sendFile(__dirname + "/html/word-square.html")); + server.get('/projects', (req, res) => res.sendFile(__dirname + "/html/projects.html")); 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