From f2f202c526cb3168facddbc2ab69c209051ce0c7 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Tue, 3 Dec 2019 17:19:07 -0500 Subject: [PATCH] Just use templating for nightly, lol --- app.py | 4 ++-- static/sexy.css | 1 + templates/index.html | 14 ++++++------- templates/nightly.html | 46 ------------------------------------------ 4 files changed, 10 insertions(+), 55 deletions(-) delete mode 100644 templates/nightly.html diff --git a/app.py b/app.py index 5368a23..32c95ee 100644 --- a/app.py +++ b/app.py @@ -11,11 +11,11 @@ app = Flask( @app.route('/') def index(): - return render_template("index.html") + return render_template("index.html", nightly=False) @app.route('/nightly') def nightly(): - return render_template("nightly.html") + return render_template("index.html", nightly=True) @app.route('/agegate') def agegate(): diff --git a/static/sexy.css b/static/sexy.css index 0eb3d04..8e026ba 100644 --- a/static/sexy.css +++ b/static/sexy.css @@ -166,6 +166,7 @@ a:hover { .game-logo { width: 40vh; opacity: 0.5; + transition: 0.2s; } .game-button:hover { diff --git a/templates/index.html b/templates/index.html index 322179e..e0f3d4d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,35 +4,35 @@ crux.sexy - +
fen's games
- +
stroll
A macro/vore procedural game
- +
feast
A vore-focused RPG
- +
gorge
An idle/clicker vore game
- +
satiate
A text adventure engine with an emphasis on sound
- +
- nightly + {{"nightly" if nightly else "stable"}}
builds
diff --git a/templates/nightly.html b/templates/nightly.html deleted file mode 100644 index c6067db..0000000 --- a/templates/nightly.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - crux.sexy - - - -
- fen's games -
-
- -
stroll
- -
-
A macro/vore procedural game
- -
feast
- -
-
A vore-focused RPG
- -
gorge
- -
-
An idle/clicker vore game
- -
satiate
- -
-
A text adventure engine with an emphasis on sound
-
- -
- stable -
- builds -
-
- -
- Discord -
-
- -