From 54296ebcf74738e10e87e76ab0c015849c8ca491 Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 3 May 2024 22:35:34 +0200 Subject: [PATCH] refactor: move font, logo, style to core/static/ --- README.md | 2 +- .../core/static}/MavenPro-VariableFont:wght.ttf | Bin .../core/static}/bulma-prefers-dark.min.css | 0 {assets => shiftregister/core/static}/bulma.min.css | 0 {assets => shiftregister/core/static}/tonkakt.svg | 0 shiftregister/settings.py | 4 ---- 6 files changed, 1 insertion(+), 5 deletions(-) rename {assets => shiftregister/core/static}/MavenPro-VariableFont:wght.ttf (100%) rename {assets => shiftregister/core/static}/bulma-prefers-dark.min.css (100%) rename {assets => shiftregister/core/static}/bulma.min.css (100%) rename {assets => shiftregister/core/static}/tonkakt.svg (100%) diff --git a/README.md b/README.md index dbc0e11..d3c6539 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # shiftregister -![kontakt logo with its left half rotated 180 degrees, resembling the left shift operator](assets/tonkakt.svg) +![kontakt logo with its left half rotated 180 degrees, resembling the left shift operator](shiftregister/core/static/tonkakt.svg) ## [CI Mirror](https://git.luj0ga.de/kontakt/shiftregister) / [Drone CI](https://ci.luj0ga.de/kontakt/shiftregister) diff --git a/assets/MavenPro-VariableFont:wght.ttf b/shiftregister/core/static/MavenPro-VariableFont:wght.ttf similarity index 100% rename from assets/MavenPro-VariableFont:wght.ttf rename to shiftregister/core/static/MavenPro-VariableFont:wght.ttf diff --git a/assets/bulma-prefers-dark.min.css b/shiftregister/core/static/bulma-prefers-dark.min.css similarity index 100% rename from assets/bulma-prefers-dark.min.css rename to shiftregister/core/static/bulma-prefers-dark.min.css diff --git a/assets/bulma.min.css b/shiftregister/core/static/bulma.min.css similarity index 100% rename from assets/bulma.min.css rename to shiftregister/core/static/bulma.min.css diff --git a/assets/tonkakt.svg b/shiftregister/core/static/tonkakt.svg similarity index 100% rename from assets/tonkakt.svg rename to shiftregister/core/static/tonkakt.svg diff --git a/shiftregister/settings.py b/shiftregister/settings.py index c42f46c..8271136 100644 --- a/shiftregister/settings.py +++ b/shiftregister/settings.py @@ -148,10 +148,6 @@ USE_TZ = True STATIC_ROOT = "/opt/shiftregister/static" STATIC_URL = "static/" -STATICFILES_DIRS = [ - BASE_DIR / "assets", -] - # Default primary key field type # https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field