From 44af0418bf7964555c0b06c0c481e15bab12f1216640902be74e89bf728bb033 Mon Sep 17 00:00:00 2001
From: Nyx Tutt
Date: Mon, 24 Feb 2025 17:55:06 -0600
Subject: [PATCH] nyxbuttons
---
site/app.py | 7 +++++--
site/templates/index.j2 | 9 +++++++++
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/site/app.py b/site/app.py
index 8e246d0..f48e7fc 100644
--- a/site/app.py
+++ b/site/app.py
@@ -11,7 +11,6 @@ buttons = [
("assets/88x31s/benjae.nekoweb.org.gif", "https://benjae.nekoweb.org"),
("assets/88x31s/freetards.xyz.gif", "https://freetards.xyz"),
("assets/88x31s/fsky.io.webp", "https://fsky.io"),
- ("assets/88x31s/nyx.everypizza.im.webp", "https://nyx.everypizza.im"),
("assets/88x31s/purplebored.pl.gif", "https://purplebored.pl"),
("assets/88x31s/squarebowl.club.gif", "https://squarebowl.club"),
("assets/88x31s/synth.download.svg", "https://synth.download"),
@@ -19,6 +18,10 @@ buttons = [
("assets/88x31s/voxel.fsky.io.webp", "https://voxel.fsky.io"),
]
+nyxbuttons = [
+ ("assets/88x31s/nyx.everypizza.im.webp", "https://nyx.everypizza.im"),
+]
+
app = Flask(__name__)
countFile = "visitorCount.txt"
@@ -50,7 +53,7 @@ def index():
album = data.json()['payload']['listens'][0]['track_metadata']['release_name']
nowPlayingString = f"now playing for {user}: {track} by {artist} from {album}"
- return render_template('index.j2', np=nowPlayingString, visitor=get_visitor_count(), buttons=buttons)
+ return render_template('index.j2', np=nowPlayingString, visitor=get_visitor_count(), buttons=buttons, nyxbuttons=nyxbuttons)
@app.route('/assets/index.css')
def indexStyle():
diff --git a/site/templates/index.j2 b/site/templates/index.j2
index 41600a0..360b3c1 100644
--- a/site/templates/index.j2
+++ b/site/templates/index.j2
@@ -94,4 +94,13 @@
{% endfor %}
+
+ this one's 88x31
+
+
+ {% for image, link in nyxbuttons %}
+
+
+
+ {% endfor %}