Files
dealplustech-astroreal/src/layouts/Layout.astro
2026-05-21 16:33:59 +07:00

44 lines
1.1 KiB
Plaintext

---
import '@/styles/global.css';
interface Props {
title: string;
description?: string;
}
const { title, description = "ดีล พลัส เทค - ระบบน้ำคุณภาพสูง ราคาโรงงาน" } = Astro.props;
---
<!doctype html>
<html lang="th">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content={description} />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Kanit:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600&display=swap" rel="stylesheet" />
<title>{title}</title>
</head>
<body class="min-h-screen bg-neutral-50">
<slot />
</body>
</html>
<style is:global>
/* Page transition animations */
main {
animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>