From a9ecab35d85154993abc8241b747aa3581313fa2 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 26 Jul 2021 17:21:00 -0400 Subject: [PATCH] Add Subnautica to games list on WebHost --- WebHostLib/__init__.py | 8 +++++++- .../static/styles/subnautica/subnautica.css | 3 +++ .../templates/games/Subnautica/Subnautica.html | 15 +++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 WebHostLib/static/styles/subnautica/subnautica.css create mode 100644 WebHostLib/templates/games/Subnautica/Subnautica.html diff --git a/WebHostLib/__init__.py b/WebHostLib/__init__.py index 2cf8e923..7869d3f7 100644 --- a/WebHostLib/__init__.py +++ b/WebHostLib/__init__.py @@ -99,7 +99,13 @@ games_list = { Minecraft is a game about creativity. In a world made entirely of cubes, you explore, discover, mine, craft, and try not to explode. Delve deep into the earth and discover abandoned mines, ancient structures, and materials to create a portal to another world. Defeat the Ender Dragon, and claim - victory!""") + victory!"""), + "Subnautica": ("Subnautica", + """ + Subnautica is an undersea exploration game. Stranded on an alien world, you become infected by + an unknown bacteria. The planet's automatic quarantine will shoot you down if you try to leave. + You must find a cure for yourself, build an escape rocket, and leave the planet. + """), } diff --git a/WebHostLib/static/styles/subnautica/subnautica.css b/WebHostLib/static/styles/subnautica/subnautica.css new file mode 100644 index 00000000..d97d458b --- /dev/null +++ b/WebHostLib/static/styles/subnautica/subnautica.css @@ -0,0 +1,3 @@ +#subnautica{ + margin: 1rem; +} diff --git a/WebHostLib/templates/games/Subnautica/Subnautica.html b/WebHostLib/templates/games/Subnautica/Subnautica.html new file mode 100644 index 00000000..d456c607 --- /dev/null +++ b/WebHostLib/templates/games/Subnautica/Subnautica.html @@ -0,0 +1,15 @@ +{% extends 'pageWrapper.html' %} + +{% block head %} + Subnautica + + + +{% endblock %} + +{% block body %} + {% include 'header/grassHeader.html' %} +
+ Coming Soon™ +
+{% endblock %}