This commit is contained in:
2024-10-23 15:04:26 -06:00
parent 61c969c9de
commit 8d29cc2b1a
11 changed files with 121 additions and 11 deletions

View File

@ -11,12 +11,24 @@ Atridad Lahiji // Projects
{{end}}
{{define "main"}}
{{if .Projects}}
<section class="flex flex-row flex-wrap gap-2 justify-center align-middle">
{{range .Projects}}
{{template "cardlinks" .}}
{{end}}
{{range .Projects}}
{{template "cardlinks" .}}
{{end}}
</section>
{{end}}
{{if not .Projects}}
<section class="flex flex-row flex-wrap gap-2 justify-center align-middle">
<h2 class="text-2xl font-extrabold tracking-tight text-white sm:text-[2rem]">
Nothing to see here (yet)!
</h2>
</section>
{{end}}
{{end}}
{{define "foot"}}
{{end}}