From 42ca90ee1f0aadaa09888f1c9627657abcd866b2 Mon Sep 17 00:00:00 2001 From: IwanIDev Date: Sat, 21 Mar 2026 15:43:12 +0000 Subject: feat: implement PostHeader component and add blog post route --- src/layouts/main.astro | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/layouts') diff --git a/src/layouts/main.astro b/src/layouts/main.astro index 69b80d2..30ac84d 100644 --- a/src/layouts/main.astro +++ b/src/layouts/main.astro @@ -1,13 +1,26 @@ --- +import { ViewTransitions } from "astro:transitions"; import "@/styles/global.css" + +interface Props { + title?: string; + description?: string; +} + +const { + title = "Astro App", + description = "Astro blog" +} = Astro.props as Props; --- + - Astro App + {title} + -- cgit