This commit is contained in:
parent
1bb08e0e7b
commit
b8f0f4b9a0
1 changed files with 5 additions and 31 deletions
|
@ -26,41 +26,15 @@ const metaTitle =
|
||||||
/>
|
/>
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
<meta name="description" content={description} />
|
<meta name="description" content={description} />
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://analytics.atri.dad/script.js"
|
||||||
|
data-website-id="0206740c-245f-402a-b433-125d6d48945a"></script>
|
||||||
<title>{metaTitle}</title>
|
<title>{metaTitle}</title>
|
||||||
<style>
|
|
||||||
.skip-to-content {
|
|
||||||
position: absolute;
|
|
||||||
width: 1px;
|
|
||||||
height: 1px;
|
|
||||||
padding: 0;
|
|
||||||
margin: -1px;
|
|
||||||
overflow: hidden;
|
|
||||||
clip: rect(0, 0, 0, 0);
|
|
||||||
white-space: nowrap;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.skip-to-content:focus {
|
|
||||||
position: fixed;
|
|
||||||
top: 1rem;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
clip: auto;
|
|
||||||
padding: 1rem;
|
|
||||||
background-color: white;
|
|
||||||
color: black;
|
|
||||||
z-index: 999;
|
|
||||||
border-radius: 0.5rem;
|
|
||||||
outline: 2px solid currentColor;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body class="min-h-screen flex flex-col">
|
<body class="min-h-screen flex flex-col">
|
||||||
<a href="#main-content" class="skip-to-content">Skip to main content</a>
|
|
||||||
<Header />
|
<Header />
|
||||||
<main id="main-content" class="container mx-auto px-4 py-8 flex-grow">
|
<main class="container mx-auto px-4 py-8 flex-grow">
|
||||||
<slot />
|
<slot />
|
||||||
</main>
|
</main>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
|
Loading…
Add table
Reference in a new issue