aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2025-08-26 15:31:16 +0530
committerPriyansh <[email protected]>2025-08-26 15:31:16 +0530
commit2b42c3666467a26043e92982cf4fa0eb11280c70 (patch)
tree906efabe7a477339ffda56344120afb028760691 /templates
parent0c66e0b7dedda5aab5a5848513ccafffdad66d6b (diff)
downloadeda-main.tar.xz
eda-main.zip
github api/graphql integration w/ partialsHEADmain
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/main.django5
-rw-r--r--templates/partials/navbar.django9
-rw-r--r--templates/partials/sidebar.django1
3 files changed, 14 insertions, 1 deletions
diff --git a/templates/layouts/main.django b/templates/layouts/main.django
index 713c42a..fa49a67 100644
--- a/templates/layouts/main.django
+++ b/templates/layouts/main.django
@@ -9,8 +9,11 @@
{% endblock %}
</head>
<body>
+ {% include 'partials/navbar.django' %}
<main>
- <aside class="sidebar"></aside>
+ <aside class="sidebar">
+ {% include 'partials/sidebar.django' %}
+ </aside>
<section class="content">
{% block content %}
diff --git a/templates/partials/navbar.django b/templates/partials/navbar.django
new file mode 100644
index 0000000..4b64efb
--- /dev/null
+++ b/templates/partials/navbar.django
@@ -0,0 +1,9 @@
+<nav>
+ <div class="nav-left">
+ <a href="/" class="nav-title">★彡 Eda 彡★</a>
+ </div>
+
+ <div class="nav-right">
+ <a href="/help">Help</a>
+ </div>
+</nav>
diff --git a/templates/partials/sidebar.django b/templates/partials/sidebar.django
new file mode 100644
index 0000000..e240a66
--- /dev/null
+++ b/templates/partials/sidebar.django
@@ -0,0 +1 @@
+{{ User }}