Polish navigation, footer, focus states, and related pages
This commit is contained in:
1 parent
a051a7c314
commit
dc153ba354
7 files changed
+63
-45
No files matched your search
@@ -6,7 +6,7 @@ import Footer from '../components/Footer.astro';
|
||||
|
||||
const {
|
||||
title,
|
||||
description = 'Peacock is an open mobile meta-distro. Turn a locked-down phone into a computer that answers to you, build the system yourself, and swap it out whenever you want. Early days, open to help.',
|
||||
description = 'Peacock is an open mobile system. Build Linux for the phone you own, choose your software, and keep control when you change your mind. Early days, open to help.',
|
||||
homeHref = '/',
|
||||
} = Astro.props;
|
||||
---
|
||||
@@ -18,6 +18,7 @@ const {
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>{title}</title>
|
||||
<meta name="description" content={description} />
|
||||
<meta name="theme-color" content="#070b10" />
|
||||
<link rel="icon" href="/logo-mark-dark.png" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@@ -29,9 +30,13 @@ const {
|
||||
<div class="ambient" aria-hidden="true"></div>
|
||||
<div class="grain" aria-hidden="true"></div>
|
||||
|
||||
<div class="page">
|
||||
<a class="skip" href="#main">Skip to content</a>
|
||||
|
||||
<div class="page" id="top">
|
||||
<Header homeHref={homeHref} />
|
||||
<slot />
|
||||
<main id="main">
|
||||
<slot />
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user