summaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-08 18:11:41 +0200
committerDanilo M. <danix@danix.xyz>2026-05-08 18:11:41 +0200
commit1510749c61feed6b7948f538c1bc4709ee2e0112 (patch)
tree84af445b4abe034905af75d5e5b15b8fffa4a508 /layouts/partials
parent7e4df08766d0f4101e1ec714ddaf59830f35bdf6 (diff)
downloaddanixxyz-theme-1510749c61feed6b7948f538c1bc4709ee2e0112.tar.gz
danixxyz-theme-1510749c61feed6b7948f538c1bc4709ee2e0112.zip
refactor: move contribution graph to footer full-width row, centered
Remove sidebar placement. Footer: full-width row, cellSize=12, centered via flex + text-align. Removed sidebar-widget class from partial. contrib-summary text-align: center added. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/contribution-graph.html3
-rw-r--r--layouts/partials/footer.html6
-rw-r--r--layouts/partials/sidebar.html5
3 files changed, 4 insertions, 10 deletions
diff --git a/layouts/partials/contribution-graph.html b/layouts/partials/contribution-graph.html
index 41cbc90..bc72454 100644
--- a/layouts/partials/contribution-graph.html
+++ b/layouts/partials/contribution-graph.html
@@ -4,8 +4,7 @@
{{- $label := i18n "contrib_widget_label" -}}
{{- $heading := i18n "contrib_heading" -}}
-<div class="sidebar-widget contrib-widget">
- <p class="sidebar-widget-label"># {{ $heading }}</p>
+<div class="contrib-widget">
<div
id="contrib-graph-{{ $cellSize }}"
class="contrib-container"
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 4287d19..351f1df 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -68,11 +68,11 @@
<dd class="text-text font-mono text-xs">{{ i18n "footer_about_focus_value" }}</dd>
</div>
</dl>
- <div class="mt-4">
- {{- partial "contribution-graph.html" (dict "cellSize" 6 "page" .) -}}
- </div>
</div>
</div>
+ <div class="border-t border-border pt-8 mb-8 flex flex-col items-center">
+ {{- partial "contribution-graph.html" (dict "cellSize" 12 "page" .) -}}
+ </div>
<!-- Copyright Bar -->
<div class="pt-8 border-t border-border text-center text-xs text-text-dim space-y-1">
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 1c3f020..2047c12 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -62,11 +62,6 @@
</ul>
</div>
- {{- if and (eq .Section "is") (eq .Kind "section") }}
- <hr class="sidebar-hr">
- {{- partial "contribution-graph.html" (dict "cellSize" 8 "page" .) -}}
- {{- end }}
-
<hr class="sidebar-hr">
<!-- Social sharing widget -->