39 lines
805 B
Plaintext
39 lines
805 B
Plaintext
---
|
|
import '../../assets/css/main.css';
|
|
|
|
interface Props {
|
|
title?: string;
|
|
}
|
|
|
|
const { title } = Astro.props;
|
|
|
|
let renderedTitle
|
|
const baseTitle = 'Alexis Pelé - Ingénieur web breton'
|
|
|
|
if (title) {
|
|
renderedTitle = `${title} · ${baseTitle}`
|
|
} else {
|
|
renderedTitle = baseTitle
|
|
}
|
|
---
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="description" content="Astro description">
|
|
<meta name="viewport" content="width=device-width" />
|
|
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<meta name="generator" content={ Astro.generator } />
|
|
|
|
<title>{ renderedTitle }</title>
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css">
|
|
</head>
|
|
|
|
<body class="bg-slate-950 text-white">
|
|
<slot />
|
|
</body>
|
|
</html>
|