feat(portfolio): improve landing page

This commit is contained in:
2026-08-28 20:42:48 +02:00
parent 452ae78564
commit bd6a22e814
24 changed files with 430 additions and 12 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3 -1
View File
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'portfolio'
]
MIDDLEWARE = [
@@ -119,7 +120,8 @@ USE_TZ = True
STATIC_URL = 'static/'
STATICFILES_DIRS = [
BASE_DIR / "static/"
BASE_DIR / "static/",
BASE_DIR / "uploads/",
]
# Email
+4 -3
View File
@@ -5,10 +5,11 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Patrick Canal</title>
<link rel="stylesheet" href="{% static 'css/style.css' %}">
<link rel="stylesheet" href="{% static 'tabler/tabler.min.css' %}">
<link rel="stylesheet" href="{% static 'fontawesome-7/css/all.min.css' %}">
<link rel="stylesheet" href="{% static 'css/style.css' %}">
<script href="{% static 'tabler/tabler.min.css' %}"></script>
<script src="{% static 'tabler/tabler.min.js' %}"></script>
<script src="{% static 'tailwindcss/tailwindcss.min.js' %}"></script>
</head>
<body class="d-flex flex-column">
<header class="navbar navbar-expand-md d-print-none">
@@ -34,7 +35,7 @@
</ul>
</div>
</header>
<main>
<main class="mb-2">
{% block content %}
{% endblock content %}
</main>
+5
View File
@@ -15,6 +15,8 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import path
@@ -24,3 +26,6 @@ urlpatterns = [
path("admin/", admin.site.urls),
path("", IndexView.as_view(), name="index"),
]
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)