diff --git a/ACMAS/app/ACMAS_Web/templates/_base.html b/ACMAS/app/ACMAS_Web/templates/_base.html
index f6b3f48..42ea394 100644
--- a/ACMAS/app/ACMAS_Web/templates/_base.html
+++ b/ACMAS/app/ACMAS_Web/templates/_base.html
@@ -1,9 +1,9 @@
{% load static %}
{% load component_tags %}
-{% with mode = "dark" %}
+{% with mode="light" %}
-
+
{% block head %}
@@ -175,5 +175,5 @@
{% endblock body %}
-
+{% endwith %}
diff --git a/ACMAS/app/ACMAS_Web/templates/darkmode.html b/ACMAS/app/ACMAS_Web/templates/darkmode.html
index 745a696..8019a14 100644
--- a/ACMAS/app/ACMAS_Web/templates/darkmode.html
+++ b/ACMAS/app/ACMAS_Web/templates/darkmode.html
@@ -1,3 +1,4 @@
+{% with mode="dark" %}
{% extends '_base.html' %}
{% load component_tags %}
@@ -29,4 +30,5 @@
{% endblock content %}
-
This is a test of cookies
\ No newline at end of file
+This is a test
+{% endwith %}
\ No newline at end of file
diff --git a/ACMAS/app/ACMAS_Web/urls.py b/ACMAS/app/ACMAS_Web/urls.py
index ecbce78..ac738a6 100644
--- a/ACMAS/app/ACMAS_Web/urls.py
+++ b/ACMAS/app/ACMAS_Web/urls.py
@@ -30,7 +30,7 @@
path("pdfReader", views.pdfReader, name="pdfReader"),
path("upload-file", views.uploadFile, name="uploadFile"),
path("upload-manually", views.uploadManually, name="uploadManually"),
- path("dark-mode", views.darkMode, name="darkMode"),
+ path("dark-mode", views.darkmode, name="darkMode"),
path("sitemap.xml", views.sitemap, name="sitemap"),
path("favicon.ico", views.favicon, name="favicon"),
path("robots.txt", views.robots, name="robots"),
diff --git a/ACMAS/app/ACMAS_Web/views.py b/ACMAS/app/ACMAS_Web/views.py
index 1536fd8..a0e7029 100644
--- a/ACMAS/app/ACMAS_Web/views.py
+++ b/ACMAS/app/ACMAS_Web/views.py
@@ -231,3 +231,8 @@ def register(request):
def profile(request):
context = generateContext(request)
return render(request, "profile.html", context)
+
+
+def darkmode(request):
+ context = generateContext(request)
+ return render(request, "darkmode.html", context)
\ No newline at end of file