diff --git a/src/layouts/SiteLayout.astro b/src/layouts/SiteLayout.astro index ce707ad..f80c86d 100644 --- a/src/layouts/SiteLayout.astro +++ b/src/layouts/SiteLayout.astro @@ -2,13 +2,16 @@ import PostHog from '../components/posthog.astro'; import '@picocss/pico/css/pico.conditional.min.css'; import '../styles/home.css'; +import '../styles/landing.css'; interface Props { title: string; description: string; + variant?: 'default' | 'landing'; } -const { title, description } = Astro.props; +const { title, description, variant = 'default' } = Astro.props; +const isLanding = variant === 'landing'; const repositoryUrl = 'https://github.com/gdzig/gdzig'; const discordUrl = 'https://discord.gg/GEUZGRGeDj'; @@ -18,6 +21,12 @@ const primaryLinks = [ { href: '/showcase/', label: 'Showcase' }, { href: '/docs/', label: 'Docs' }, ]; + +const footerLinks = [ + ...primaryLinks, + { href: repositoryUrl, label: 'GitHub' }, + { href: discordUrl, label: 'Discord' }, +]; --- @@ -83,9 +92,9 @@ const primaryLinks = [ {title} - + -