Initial commit: New MoreminiMore website with fresh design
This commit is contained in:
32
src/layouts/Layout.astro
Normal file
32
src/layouts/Layout.astro
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
import Header from '../components/Header.astro';
|
||||
import Footer from '../components/Footer.astro';
|
||||
import CookieBanner from '../components/consent/CookieBanner.astro';
|
||||
import '../styles/global.css';
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
const { title, description = "บริษัท มอร์มินิมอร์ จำกัด - ผู้เชี่ยวชาญด้าน IT และ Digital Transformation สำหรับธุรกิจ SMEs ไทย" } = 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" />
|
||||
<title>{title} | MoreminiMore</title>
|
||||
</head>
|
||||
<body>
|
||||
<Header />
|
||||
<main>
|
||||
<slot />
|
||||
</main>
|
||||
<Footer />
|
||||
<CookieBanner />
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user