--- // SPDX-FileCopyrightText: 2026 Leitwolf // SPDX-License-Identifier: AGPL-3.0-or-later interface Props { mode: "login" | "register" | "recover"; } const { mode } = Astro.props; const copy = { login: { title: "Sign in", description: "Use your Visual X# registry account.", submit: "Next", switchText: "New to the registry?", switchLabel: "Create an account", switchHref: "https://viget.xsharp-lang.xyz/register/", }, register: { title: "Create account", description: "Publish and manage Visual X# packages.", submit: "Next", switchText: "Already have an account?", switchLabel: "Sign in", switchHref: "https://viget.xsharp-lang.xyz/login/", }, recover: { title: "Recover account", description: "Reset your password securely.", submit: "Send code", switchText: "Remembered your password?", switchLabel: "Sign in", switchHref: "https://viget.xsharp-lang.xyz/login/", }, } as const; const content = copy[mode]; ---
Visual X# Registry

Visual X# package registry

{content.title}

{content.description}

or continue with email

{content.switchText} {content.switchLabel}