fix: Add Header and Footer to homepage

- Import Header and Footer components
- Add to BaseLayout slots
- Update hero image to use existing hdpe_pipe_main.jpg
- Fix featured products grid

Now pages will have header and footer!
This commit is contained in:
Kunthawat
2026-03-11 16:08:45 +07:00
parent 30976c5dd9
commit c99c43fd61
2 changed files with 42 additions and 136 deletions

View File

@@ -36,7 +36,12 @@ const { title, description, image } = Astro.props;
<title>{title} | ดีล พลัส เทค</title>
</head>
<body class="flex flex-col min-h-screen">
<!-- Header -->
<slot name="header" />
<!-- Main Content -->
<slot />
<!-- Footer -->
<slot name="footer" />
</body>
</html>