For extension developers
++ Start here if you want to build a Godot extension in Zig. The first + guides will cover project setup, class registration, and generated API + lookup. +
+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 = [
Godot extensions in Zig
-- GDZig is under rapid development while the project shapes the API for Godot - 4.7.2 and Zig 0.16.0. Use it today with care, and expect bugs or missing - features before a stable release. -
-Godot extensions in Zig
+Build Godot games and extensions with Zig
+ +Start with the work you need to do.
++ Start here if you want to build a Godot extension in Zig. The first + guides will cover project setup, class registration, and generated API + lookup. +
++ Start here if you want to understand whether GDZig fits your Godot + project. Begin with the example project and project status notes. +
+Choose your path
-- Start here if you want to build a Godot extension in Zig. The first - guides will cover project setup, class registration, and generated API - lookup. -
-- Start here if you want to understand whether GDZig fits your Godot - project. Begin with the example project and project status notes. -
-+ GDZig is under rapid development while the project shapes the API for + Godot {godotVersion} and Zig {zigVersion}. +
+Use it today with care.
+Expect bugs or missing features before a stable release.
Human-written docs
-- Guided learning paths will walk through complete GDZig projects from - first build to Godot integration. -
-- Task-focused guides will cover direct procedures such as building an - extension and registering Godot-facing APIs. -
-- Concept pages will explain architecture, ownership, memory, and why - generated API docs stay separate from guided docs. -
-- Curated project reference will collect supported versions, conventions, - compatibility notes, and WebAssembly caveats. -
-Use the documentation type that matches your task.
+Human-written docs
+{section.text}
+Project updates and examples
-Planned
-- Release notes and project updates will live here. Until then, follow - the repository for current changes. -
-Draft
-- Community projects built with GDZig will appear here. Current entries - include Vector Wave and Godot Asset Store video plugins. -
-Visible stubs keep future sections findable.
+