Files
site/src/layouts/Base.astro
T
yigid fb7cf66a30 Animate the backdrop, path nodes, and hero mark
Three aura layers now drift on independent clocks; path nodes light as the spine fill reaches them; the hero peacock bobs 5px with tunable --bob / --bob-speed. Also gradient the Project half of the footer wordmark. All motion is disabled under prefers-reduced-motion.
2026-11-01 13:35:24 +03:00

52 lines
1.5 KiB
Plaintext

---
import '../styles/global.css';
import IridescentDefs from '../components/IridescentDefs.astro';
import Header from '../components/Header.astro';
import Footer from '../components/Footer.astro';
const {
title,
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;
---
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<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>
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Hanken+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<IridescentDefs />
<div class="ambient" aria-hidden="true">
<span class="aura a1"></span>
<span class="aura a2"></span>
<span class="aura a3"></span>
</div>
<div class="grain" aria-hidden="true"></div>
<a class="skip" href="#main">Skip to content</a>
<div class="page" id="top">
<Header homeHref={homeHref} />
<main id="main">
<slot />
</main>
<Footer />
</div>
<script>
import '../scripts/site.js';
</script>
</body>
</html>