1
1
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2026-06-01 07:59:30 +00:00

feat!: Create custom homepage

This commit is contained in:
2026-05-09 01:54:47 -05:00
parent acbd347563
commit 778aac398a
13 changed files with 160 additions and 33 deletions
+10
View File
@@ -0,0 +1,10 @@
{{ define "main" }}
<div class='hx:mx-auto hx:flex hextra-max-page-width'>
{{ partial "sidebar.html" (dict "context" . "disableSidebar" true) }}
<main id="content" class="hx:w-full hx:break-words hx:min-h-[calc(100vh-var(--navbar-height))] hx:min-w-0 hx:pb-8 hx:pt-8 hx:md:pt-12 hx:pl-[max(env(safe-area-inset-left),1.5rem)] hx:pr-[max(env(safe-area-inset-left),1.5rem)]">
<div class="pg-home hx:flex hx:flex-col hx:items-start">
{{ .Content }}
</div>
</main>
</div>
{{ end }}