Add Privacy Terms and Conditions and Cookie Policy

This commit is contained in:
2025-04-19 14:40:51 -08:00
parent fe11455103
commit 5dbf6901a0
14 changed files with 168 additions and 2344 deletions

View File

@@ -13,7 +13,9 @@
{{ end }}
{{ block "main" . }}
{{ end }}
{{ if ( .Site.Params.footer.enable ) }}
{{ partial "footer/main" . }}
{{ end }}
{{ partial "scripts" . }}
</body>
</html>

View File

@@ -9,8 +9,6 @@
{{ end }}
{{ partial "rates/rates" . }}
{{ end }}
{{ .Content }}
</main>
{{ if ( .Site.Params.footer.enable ) }}
{{ partial "footer/main" . }}
{{ end }}
{{ end }}

View File

@@ -3,7 +3,5 @@
<main class="w-full antialiased">
{{ .Content }}
</main>
{{ if .Params.footer }} {{ partial "footer" . }} {{ end }}
{{ end }}

View File

@@ -0,0 +1,8 @@
{{ define "main" }}
<section class="container mx-auto px-4 pt-20 py-8">
<article class="format lg:format-lg dark:format-invert">
<h1>{{ .Title }}</h1>
{{ .Content }}
</article>
</section>
{{ end }}

View File

@@ -0,0 +1,29 @@
{{ define "main" }}
<section class="px-4 pt-20 pb-4 dark:bg-gray-900">
<div class="flex justify-center flex-wrap w-full mx-auto">
<div class="px-4 format dark:format-invert text-center">
<h3>
<a href="/terms">Terms and Conditions</a>
</h3>
</div>
<div class="px-4 format dark:format-invert text-center max-w-xs">
<h3>
<a href="/privacy">Privacy Policy</a>
</h3>
</div>
<div class="px-4 format dark:format-invert text-center max-w-xs">
<h3>
<a href="/cookies">Cookie Policy</a>
</h3>
</div>
</div>
</section>
<section class="container mx-auto px-4 py-8">
<article class="format lg:format-lg dark:format-invert mx-auto">
<h1>{{ .Title }}</h1>
{{ .Content }}
</article>
</section>
{{ end }}