feature: Set up Tailwind and automate dev process to watch all files for changes and rebuild as needed

This commit is contained in:
Keith Solomon
2025-04-20 17:01:14 -05:00
parent 3fe75e9ad5
commit 9957a5c116
24 changed files with 3319 additions and 76 deletions

View File

@@ -1,10 +1,13 @@
{{ define "base" }}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ .Title }}</title>
<link rel="stylesheet" href="/assets/style.css">
</head>
<body>
{{ template "header" . }}

View File

@@ -1,5 +1,5 @@
{{ define "footer" }}
<footer>
<p>&copy; {{ .Year }} Keith Solomon - Go SSG</p>
<footer id="site_foot">
<p class="p-0 py-4 m-0 leading-none">&copy; {{ .Year }} Keith Solomon - Go SSG</p>
</footer>
{{ end }}

View File

@@ -1,9 +1,11 @@
{{ define "header" }}
<header>
<header id="site_head">
<h1 class="text-white text-40px hover:text-primary-200"><a href="/">Go SSG</a></h1>
<nav>
<ul>
<ul class="list-none">
{{ range .Nav }}
<li><a href="{{ .URL }}">{{ .Title }}</a></li>
<li class="list-none"><a class="text-white hover:text-primary-200" href="{{ .URL }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</nav>