Night sky background with shooting stars on every page
CI / test (push) Successful in 1m42s
CI / build (push) Successful in 5m18s
CI / deploy (push) Skipped

Faint twinkling stars and, on average every 6 seconds, a gold shooting
star, on a fixed canvas behind all content: anything with its own
background (bands, cards, the header) covers it, so the meteor passes
under them. With reduced motion only still stars are drawn. Replaces the
home page hero's own starfield.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-21 21:23:52 +00:00
co-authored by Claude Opus 5.5
parent 8b8285b5d2
commit 116e4747c2
4 changed files with 149 additions and 20 deletions
+2
View File
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
import { Cormorant_Garamond, Inter } from "next/font/google";
import { Suspense } from "react";
import { NightSky } from "@/components/NightSky";
import { PaymentReturn } from "@/components/PaymentReturn";
import { SiteHeader } from "@/components/SiteHeader";
import { getMe } from "@/lib/server";
@@ -30,6 +31,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo
return (
<html lang="hu" className={`${cormorant.variable} ${inter.variable}`}>
<body>
<NightSky />
{me && <SiteHeader me={me} />}
{children}
{me && (