aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/BaseLayout.astro
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-12 19:36:57 +0300
committerValentin Popov <valentin@popov.link>2024-09-12 19:36:57 +0300
commit3376c53b2ee91041d5eaa0f9274da0affd7d4a9d (patch)
treea6b1e66a7e7f185128870b8f0ed671e2d7630f0e /src/layouts/BaseLayout.astro
parent0b57b888caf8817ff4992c59ed40ed29bee34fd4 (diff)
downloadpopov.link-3376c53b2ee91041d5eaa0f9274da0affd7d4a9d.tar.xz
popov.link-3376c53b2ee91041d5eaa0f9274da0affd7d4a9d.zip
Refactor Astro components and layouts
Diffstat (limited to 'src/layouts/BaseLayout.astro')
-rw-r--r--src/layouts/BaseLayout.astro5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro
index 54c9128..f867900 100644
--- a/src/layouts/BaseLayout.astro
+++ b/src/layouts/BaseLayout.astro
@@ -3,6 +3,11 @@ import Head from "../components/Head.astro";
import Header from "../components/Header.astro";
import "../scss/global.scss";
+type Props = {
+ readonly description?: string;
+ readonly title?: string;
+};
+
const { title, description } = Astro.props;
---