Skip to content

Commit 7f2a830

Browse files
committed
feat: update html
1 parent 1e3cedc commit 7f2a830

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

app/home/templates/home/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
{% load static %}
33

44
{% block content %}
5-
<div class="min-h-screen" style="background-image: url('{% static 'img/background.png' %}');">
5+
<div class="min-h-screen" style="background-image: url("{% static 'img/background.png' %}");">
66
<main>
77
<section id="hero" class="text-white text-center flex items-center pt-20">
88
<div class="container mx-auto px-6 bg-cover w-[959.82px] hero-content">
9-
<div class="flex flex-col items-center space-y-8"
10-
<img src="{% static 'img/kliN.png' %}" alt="kliN" class="w-[189px] h-auto"
9+
<div class="flex flex-col items-center space-y-8">
10+
<img src="{% static 'img/kliN.png' %}" alt="kliN" class="w-[189px] h-auto">
1111
<img src="{% static 'img/kalinga.png' %}" alt="Kalinga" class="w-[336.34px] h-auto">
1212
<img src="{% static 'img/pythonasia2026.png' %}" alt="PythonAsia 2026" class="w-[635px] h-auto">
1313
<div class="text-center text-[#7C5E3B] z-30">

config/settings.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,16 @@
7878
"config.middleware.HealthCheckMiddleware",
7979
]
8080

81-
THIRD_PARTY_MIDDLEWARE = [
82-
"whitenoise.middleware.WhiteNoiseMiddleware",
83-
]
84-
8581
MIDDLEWARE = [
8682
"corsheaders.middleware.CorsMiddleware",
8783
"django.middleware.security.SecurityMiddleware",
84+
"whitenoise.middleware.WhiteNoiseMiddleware",
8885
"django.contrib.sessions.middleware.SessionMiddleware",
8986
"django.middleware.common.CommonMiddleware",
9087
"django.middleware.csrf.CsrfViewMiddleware",
9188
"django.contrib.auth.middleware.AuthenticationMiddleware",
9289
"django.contrib.messages.middleware.MessageMiddleware",
9390
"django.middleware.clickjacking.XFrameOptionsMiddleware",
94-
*THIRD_PARTY_MIDDLEWARE,
9591
*LOCAL_MIDDLEWARE,
9692
]
9793

templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{% block extra_css %}{% endblock %}
1111
<style>
1212
.hero-content {
13-
background-image: url("{% static 'hero-bg.png' %}");
13+
background-image: url("{% static 'img/hero-bg.png' %}");
1414
}
1515
</style>
1616
</head>

0 commit comments

Comments
 (0)