From a923cdaabb460ba7d139cefe079cdf233e4a49ba Mon Sep 17 00:00:00 2001 From: kennethcheng Date: Mon, 27 Apr 2026 13:11:53 +0800 Subject: [PATCH] feat: create base layout and global css --- src/layouts/BaseLayout.astro | 14 ++++++++++++++ src/styles/global.css | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/layouts/BaseLayout.astro diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro new file mode 100644 index 0000000..d66b59b --- /dev/null +++ b/src/layouts/BaseLayout.astro @@ -0,0 +1,14 @@ +--- +import '../styles/global.css'; +const { title } = Astro.props; +--- + + + + {title} + + + + + + diff --git a/src/styles/global.css b/src/styles/global.css index a461c50..849c3ed 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1 +1 @@ -@import "tailwindcss"; \ No newline at end of file +@tailwind base; @tailwind components; @tailwind utilities;