← Files ClerkARCHIVED FILE
skills/clerk-astro-patterns/templates/astro-basic-auth/src/layouts/Layout.astro
520 Bytes · Oct 4, 2026 · 12:23 UTC
---
import { SignedIn, SignedOut, SignInButton, SignUpButton } from "@clerk/astro/components"
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Clerk + Astro</title>
</head>
<body>
<header>
<SignedOut>
<SignInButton mode="modal" />
<SignUpButton mode="modal" />
</SignedOut>
<SignedIn>
<p>You are signed in!</p>
</SignedIn>
</header>
<slot />
</body>
</html>
SHA-256: 6dbc0194ce678d4585561350c31c219a118d7ddfe0df46728b9abed4af6bea44