Add src/layouts/Layout.astro from template

This commit is contained in:
jordan 2026-01-28 07:07:53 +00:00
parent 98225eac3b
commit a678e78460

21
src/layouts/Layout.astro Normal file
View File

@ -0,0 +1,21 @@
---
interface Props {
title: string;
}
const { title } = Astro.props;
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="landing-test7 - Built with Astro" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>{title}</title>
</head>
<body>
<slot />
</body>
</html>