---
// Base layout for pages built with Astro components.
// NOTE: Mirrored content pages in public/ are served verbatim (identical to the
// original Drupal output). This layout is used for pages we rebuild as Astro
// components (e.g. the home page) so they stay editable while the rest of the
// site remains an exact clone.
interface Props {
	title?: string;
	description?: string;
	lang?: string;
}

const { title = 'มิตซูชัยพร สมุทรสาคร', description = '', lang = 'th' } = Astro.props;
---

<!doctype html>
<html lang={lang}>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>{title}</title>
		<meta name="description" content={description} />
	</head>
	<body>
		<slot />
	</body>
</html>
