diff --git a/assets/vm-shot-2025-11-22T16-16-43-473Z.jpg b/assets/vm-shot-2025-11-22T16-16-43-473Z.jpg new file mode 100644 index 0000000..a7b7ebd Binary files /dev/null and b/assets/vm-shot-2025-11-22T16-16-43-473Z.jpg differ diff --git a/config/__pycache__/settings.cpython-311.pyc b/config/__pycache__/settings.cpython-311.pyc index a3bee3f..d95a0b3 100644 Binary files a/config/__pycache__/settings.cpython-311.pyc and b/config/__pycache__/settings.cpython-311.pyc differ diff --git a/config/__pycache__/urls.cpython-311.pyc b/config/__pycache__/urls.cpython-311.pyc index 139db10..5b0f9c6 100644 Binary files a/config/__pycache__/urls.cpython-311.pyc and b/config/__pycache__/urls.cpython-311.pyc differ diff --git a/config/settings.py b/config/settings.py index 7253f29..b4c81cf 100644 --- a/config/settings.py +++ b/config/settings.py @@ -144,7 +144,8 @@ USE_TZ = True # https://docs.djangoproject.com/en/5.2/howto/static-files/ STATIC_URL = 'static/' -STATIC_ROOT = BASE_DIR / 'static' +STATIC_ROOT = BASE_DIR / 'staticfiles' +STATICFILES_DIRS = [BASE_DIR / 'static', BASE_DIR / 'assets'] # Email EMAIL_BACKEND = os.getenv( diff --git a/config/urls.py b/config/urls.py index 5093d47..d48099f 100644 --- a/config/urls.py +++ b/config/urls.py @@ -16,8 +16,13 @@ Including another URLconf """ from django.contrib import admin from django.urls import include, path +from django.conf import settings +from django.conf.urls.static import static urlpatterns = [ path("admin/", admin.site.urls), path("", include("core.urls")), ] + +if settings.DEBUG: + urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) diff --git a/staticfiles/css/custom.css b/staticfiles/css/custom.css index 108056f..d40e214 100644 --- a/staticfiles/css/custom.css +++ b/staticfiles/css/custom.css @@ -1,21 +1,31 @@ +/* static/css/custom.css */ + +@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&family=Inter:wght@400;500&display=swap'); -:root { - --bg-color-start: #6a11cb; - --bg-color-end: #2575fc; - --text-color: #ffffff; - --card-bg-color: rgba(255, 255, 255, 0.01); - --card-border-color: rgba(255, 255, 255, 0.1); -} body { - margin: 0; font-family: 'Inter', sans-serif; - background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end)); - color: var(--text-color); - display: flex; - justify-content: center; - align-items: center; - min-height: 100vh; - text-align: center; - overflow: hidden; - position: relative; +} + +h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { + font-family: 'Poppins', sans-serif; +} + +.hero-section { + background: linear-gradient(45deg, #4F46E5, #10B981); +} + +.btn-primary { + background-color: #4F46E5; + border-color: #4F46E5; +} + +.btn-primary:hover { + background-color: #4338CA; + border-color: #4338CA; +} + +.language-toggle { + position: absolute; + top: 1rem; + right: 1rem; } diff --git a/staticfiles/vm-shot-2025-11-22T16-16-43-473Z.jpg b/staticfiles/vm-shot-2025-11-22T16-16-43-473Z.jpg new file mode 100644 index 0000000..a7b7ebd Binary files /dev/null and b/staticfiles/vm-shot-2025-11-22T16-16-43-473Z.jpg differ