All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 9s
36 lines
809 B
Plaintext
36 lines
809 B
Plaintext
---
|
|
// src/layouts/MainLayout.astro
|
|
import Header from "../components/Header.astro";
|
|
import Footer from "../components/Footer.astro";
|
|
import "../styles/global.css";
|
|
|
|
interface Props {
|
|
title?: string;
|
|
description?: string;
|
|
}
|
|
|
|
const {
|
|
title = "iten.pro | Engineering",
|
|
description = "Portfolio und Projekte",
|
|
} = Astro.props;
|
|
---
|
|
|
|
<!doctype html>
|
|
<html lang="de" class="scroll-smooth">
|
|
<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 class="flex flex-col min-h-screen">
|
|
<Header />
|
|
|
|
<main class="flex-grow w-full">
|
|
<slot />
|
|
</main>
|
|
|
|
<Footer />
|
|
</body>
|
|
</html>
|