Add Nav, About/Projects pages and nginx hardening
CI / ci (push) Successful in 28s

Harden nginx: add CSP, HSTS, Referrer-Policy and Permissions-Policy;
include image/svg+xml in gzip types; set X-Content-Type-Options on
static assets; change try_files to return =404.

Add Nav component and wire into BaseLayout; add About and Projects
pages with projects.json, an initial blog post, and small layout/padding
adjustments (removed redundant back links).
This commit is contained in:
2026-03-04 19:53:13 +01:00
parent 50efbf6f57
commit 7fbe9a3e43
11 changed files with 738 additions and 60 deletions
+3
View File
@@ -6,6 +6,8 @@ interface Props {
canonicalURL?: string;
}
import Nav from "../components/Nav.astro";
const {
title,
description = "Hidden Den Cafe - A cozy, self-hosted corner of the internet. Privacy-focused, furry-friendly, and built with love.",
@@ -80,6 +82,7 @@ const fullOgImage = new URL(ogImage, Astro.site).href;
<!-- <link rel="preconnect" href="https://example.com" crossorigin /> -->
</head>
<body>
<Nav />
<slot />
</body>
</html>