From 60cb5e557d6b1ec97a4f8246fd902f92bced6924 Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Sat, 10 Sep 2022 16:17:15 +0630 Subject: [PATCH] Create Main component --- src/layouts/Main.astro | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/layouts/Main.astro diff --git a/src/layouts/Main.astro b/src/layouts/Main.astro new file mode 100644 index 0000000..7738337 --- /dev/null +++ b/src/layouts/Main.astro @@ -0,0 +1,26 @@ +--- +export interface Props { + pageTitle: string; + pageDesc?: string; +} + +const { pageTitle, pageDesc } = Astro.props; +--- + +
+

{pageTitle}

+

{pageDesc}

+ +
+ +