summaryrefslogtreecommitdiff
path: root/Biz/PodcastItLater/Core.py
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-13 18:16:29 -0500
committerBen Sima <ben@bsima.me>2025-11-13 18:16:29 -0500
commit989a1a5de2419373e4932b11c2f2f5877a2fb959 (patch)
tree9115042272f624246efa4b3d8cd78920f66a2134 /Biz/PodcastItLater/Core.py
parent83a1777d7869ed6da5e78c878dcc35c95a06c5cf (diff)
Unify navigation across PodcastItLater pages
- Created reusable PageLayout component in UI.py with consistent header/navbar - Added Home link and Admin dropdown menu (Queue Status, Manage Users) - Updated all pages to use PageLayout: home, account, admin queue, admin users - Added demo@example.com to admin whitelist for testing - Added dark mode styling for table headers - Fixed component children syntax for Ludic framework - Proper type annotations instead of type: ignore comments
Diffstat (limited to 'Biz/PodcastItLater/Core.py')
-rw-r--r--Biz/PodcastItLater/Core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Biz/PodcastItLater/Core.py b/Biz/PodcastItLater/Core.py
index 15aff86..f32e81b 100644
--- a/Biz/PodcastItLater/Core.py
+++ b/Biz/PodcastItLater/Core.py
@@ -39,7 +39,7 @@ TITLE_TRUNCATE_LENGTH = 50
ERROR_TRUNCATE_LENGTH = 50
# Admin whitelist
-ADMIN_EMAILS = ["ben@bensima.com"]
+ADMIN_EMAILS = ["ben@bensima.com", "demo@example.com"]
def is_admin(user: dict[str, typing.Any] | None) -> bool: