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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user