From 44c0ffc1d787d0fd2e12d3fae0aca6314aff092a Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Tue, 5 Nov 2024 10:13:30 -0500 Subject: [PATCH] Refactor static file path and update theme selection text in Navbar; change localization keys for login and signup buttons --- backend/server/main/settings.py | 2 +- frontend/src/lib/components/Navbar.svelte | 2 +- frontend/src/routes/+page.svelte | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/server/main/settings.py b/backend/server/main/settings.py index 986343e..d947ec6 100644 --- a/backend/server/main/settings.py +++ b/backend/server/main/settings.py @@ -132,7 +132,7 @@ USE_TZ = True BASE_DIR = Path(__file__).resolve().parent.parent -STATIC_ROOT = BASE_DIR / "staticfiles" +STATIC_ROOT = BASE_DIR / "static" STATIC_URL = '/static/' MEDIA_URL = '/media/' diff --git a/frontend/src/lib/components/Navbar.svelte b/frontend/src/lib/components/Navbar.svelte index 6e504e2..992f65e 100644 --- a/frontend/src/lib/components/Navbar.svelte +++ b/frontend/src/lib/components/Navbar.svelte @@ -222,7 +222,7 @@ on:click={() => (window.location.href = 'https://discord.gg/wRbQ9Egr8C')} >{$t('navbar.discord')} -

{$t('navbar.theme_selection')}

+

{$t('navbar.theme_selection')}

  • {/if}