Re-wrote based on my personal site

This commit is contained in:
2024-11-03 17:01:48 -06:00
parent 9dad47b960
commit 10cc09fed1
35 changed files with 185 additions and 309 deletions

View File

@ -1,9 +1,9 @@
{{define "title"}}
Atridad Lahiji // Root
GOTH Stack // Root
{{end}}
{{define "headercontent"}}
Atridad Lahiji // Root
{{template "title" .}}
{{end}}
{{define "head"}}
@ -21,7 +21,7 @@ Atridad Lahiji // Root
</h2>
<span>
<h2 class="mb-2 text-xl text-white sm:text-[1.5rem]">Places I exist:</h2>
<h2 class="mb-2 text-xl text-white sm:text-[1.5rem]">Links:</h2>
<div class="flex flex-row flex-wrap items-center justify-center gap-4 text-center">
{{range .Socials}}
{{template "iconlinks" .}}
@ -30,7 +30,7 @@ Atridad Lahiji // Root
</span>
<span>
<h2 class="mb-2 text-xl text-white sm:text-[1.5rem]">Stuff I Use:</h2>
<h2 class="mb-2 text-xl text-white sm:text-[1.5rem]">Tech Stack:</h2>
<div class="flex flex-row flex-wrap items-center justify-center gap-4 text-center">
{{range .Tech}}

View File

@ -3,13 +3,7 @@
<a class="no-underline" href="/"> Home </a>
</li>
<li>
<a class="no-underline" href="/projects"> Projects </a>
</li>
<li>
<a class="no-underline" href="/pubs"> Publications </a>
</li>
<li>
<a class="no-underline" href="/talks"> Talks </a>
<a class="no-underline" href="/api/swagger/index.html"> API Documentation </a>
</li>
<li>
<a class="no-underline" href="/posts"> Posts </a>

View File

@ -1,9 +1,9 @@
{{define "title"}}
Atridad Lahiji // Post
GOTH Stack // Post
{{end}}
{{define "headercontent"}}
Atridad Lahiji // Post
{{template "title" .}}
{{end}}
{{define "head"}}

View File

@ -1,9 +1,9 @@
{{define "title"}}
Atridad Lahiji // Blog
GOTH Stack // Blog
{{end}}
{{define "headercontent"}}
Atridad Lahiji // Blog
{{template "title" .}}
{{end}}
{{define "head"}}

View File

@ -1,34 +0,0 @@
{{define "title"}}
Atridad Lahiji // Projects
{{end}}
{{define "headercontent"}}
Atridad Lahiji // Projects
{{end}}
{{define "head"}}
<link rel="stylesheet" href="/public/css/styles.css" />
{{end}}
{{define "main"}}
{{if .Projects}}
<section class="flex flex-row flex-wrap gap-2 justify-center align-middle">
{{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}}

View File

@ -1,9 +1,9 @@
{{define "title"}}
Atridad Lahiji // Publications
GOTH Stack // Publications
{{end}}
{{define "headercontent"}}
Atridad Lahiji // Publications
{{template "title" .}}
{{end}}
{{define "head"}}

View File

@ -1,34 +0,0 @@
{{define "title"}}
Atridad Lahiji // Talks
{{end}}
{{define "headercontent"}}
Atridad Lahiji // Talks
{{end}}
{{define "head"}}
<link rel="stylesheet" href="/public/css/styles.css" />
{{end}}
{{define "main"}}
{{if .Talks}}
<section class="flex flex-row flex-wrap gap-2 justify-center align-middle">
{{range .Talks}}
{{template "cardlinks" .}}
{{end}}
</section>
{{end}}
{{if not .Talks}}
<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}}

View File

@ -1,9 +1,9 @@
{{define "title"}}
Atridad Lahiji // Tools
GOTH Stack // Tools
{{end}}
{{define "headercontent"}}
Atridad Lahiji // Tools
{{template "title" .}}
{{end}}
{{define "head"}}

View File

@ -1,9 +1,9 @@
{{define "title"}}
Atridad Lahiji // Tools // Resizer
GOTH Stack // Tools // Resizer
{{end}}
{{define "headercontent"}}
Atridad Lahiji // Tools // Resizer
{{template "title" .}}
{{end}}
{{define "head"}}
@ -28,4 +28,4 @@ Atridad Lahiji // Tools // Resizer
{{end}}
{{define "foot"}}
{{end}}
{{end}}

View File

@ -1,7 +1,7 @@
{{define "title"}}Atridad Lahiji // Tools // SSE Demo{{end}}
{{define "title"}}GOTH Stack // Tools // SSE Demo{{end}}
{{define "headercontent"}}
Atridad Lahiji // Tools // SSE Demo
{{template "title" .}}
{{end}}
{{define "head"}}