Add 'back to home' link on blog posts

This commit is contained in:
2026-01-09 16:13:59 -08:00
parent d5450a3c0a
commit d7fb16e24e
2 changed files with 40 additions and 0 deletions

View File

@@ -24,6 +24,11 @@ export function Post({ children, meta }: PostProps) {
<main>
<article className="blog-post">
<header className="post-header">
<div className="back-button">
<a href="/" className="back-link">
<span className="back-arrow"></span> Back to Home
</a>
</div>
<h1>{meta.title}</h1>
<div className="post-meta">
{meta.date && meta.date instanceof Date &&