From bb8209f99d436d9999663a45a3cfa5df448d1581 Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Sat, 10 Sep 2022 21:23:15 +0630 Subject: [PATCH] Update style to display active nav link --- src/components/Header.astro | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index 1034c47..b94a57c 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,3 +1,11 @@ +--- +export interface Props { + activeNav?: "posts" | "tags" | "about"; +} + +const { activeNav } = Astro.props; +--- +