--- // SPDX-FileCopyrightText: 2026 Progmasoft // SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.0 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://account.progmasoft.com/register", }, register: { title: "Create account", description: "Publish and manage Visual X# packages.", submit: "Next", switchText: "Already have an account?", switchLabel: "Sign in", switchHref: "https://account.progmasoft.com/login", }, recover: { title: "Recover account", description: "Reset your password securely.", submit: "Send code", switchText: "Remembered your password?", switchLabel: "Sign in", switchHref: "https://account.progmasoft.com/login", }, } as const; const content = copy[mode]; ---
Visual X# Registry

Visual X# package registry

{content.title}

{content.description}

or continue with email
{ mode === "register" && ( ) }

{content.switchText} {content.switchLabel}