From 213d6c49bc39999c6895764e10e9e38658a8efca Mon Sep 17 00:00:00 2001 From: TerryM Date: Tue, 12 May 2026 16:27:03 +0800 Subject: [PATCH] feat: add Base layout with Inter font --- src/layouts/Base.astro | 24 ++++++++++++++++++++++++ src/pages/index.astro | 18 ++++-------------- 2 files changed, 28 insertions(+), 14 deletions(-) create mode 100644 src/layouts/Base.astro diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro new file mode 100644 index 0000000..356a209 --- /dev/null +++ b/src/layouts/Base.astro @@ -0,0 +1,24 @@ +--- +import '../styles/global.css' + +export interface Props { + title?: string +} +const { title = 'Talk Pro — One User. Multiple Worlds.' } = Astro.props +--- + + + + + + + + {title} + + + + + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro index 920dea2..673e65a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,17 +1,7 @@ --- -import '../styles/global.css'; +import Base from '../layouts/Base.astro' --- - - - - - - - - Talk Pro - - -

Talk Pro

- - + +

Talk Pro — scaffold works

+