Roadmap to becoming a developer in 2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
958 B

2 years ago
---
2 years ago
import '../styles/global.css';
2 years ago
import Navigation from '../components/Navigation.astro';
2 years ago
import OpenSourceBanner from '../components/OpenSourceBanner.astro';
import Footer from '../components/Footer.astro';
import type { SponsorType } from '../components/Sponsor/Sponsor.astro';
import Sponsor from '../components/Sponsor/Sponsor.astro';
2 years ago
export interface Props {
2 years ago
title: string;
sponsor?: SponsorType;
2 years ago
}
const { title, sponsor } = Astro.props;
2 years ago
---
<!DOCTYPE html>
2 years ago
<html lang='en'>
<head>
<meta charset='UTF-8' />
<meta name='viewport' content='width=device-width' />
<link rel='icon' type='image/svg+xml' href='/favicon.svg' />
<meta name='generator' content={Astro.generator} />
<title>{title}</title>
2 years ago
<slot name='after-header' />
</head>
<body>
<Navigation />
<slot />
2 years ago
<OpenSourceBanner />
<Footer />
{sponsor && <Sponsor sponsor={sponsor} />}
2 years ago
<slot name='after-footer' />
</body>
2 years ago
</html>