Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/frontend/src
diff options
context:
space:
mode:
authorLeitwolf112026-08-30 17:22:39 +0300
committerLeitwolf112026-08-30 17:22:39 +0300
commit6420aa30d09cb0815bdf7c140ebeca6218053870 (patch)
treed2db8c3737bae8c1cc4e195669f4352a49bdd7f1 /frontend/src
parentf520a23ef0066c3d1021393f1e41a49af311e109 (diff)
downloadwebsite-6420aa30d09cb0815bdf7c140ebeca6218053870.tar.gz
Separate ViGet catalogs from Progmasoft account ownership. Move login, registration, recovery, and dashboard navigation to account.progmasoft.com, document the canonical account.progmasoft.com/<Account>/dashboard route, and define each ViGet Publisher as that exact Progmasoft Account identity. Redirect legacy ViGet account routes to the account service and expose only the exact registry status endpoint while closing the retired standalone authentication and token API surface.
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/components/AuthPanel.astro8
-rw-r--r--frontend/src/components/RepositoryHeader.astro6
-rw-r--r--frontend/src/pages/repo/dashboard/index.astro2
3 files changed, 8 insertions, 8 deletions
diff --git a/frontend/src/components/AuthPanel.astro b/frontend/src/components/AuthPanel.astro
index 96ad487..dd7f46f 100644
--- a/frontend/src/components/AuthPanel.astro
+++ b/frontend/src/components/AuthPanel.astro
@@ -14,7 +14,7 @@ const copy = {
submit: "Next",
switchText: "New to the registry?",
switchLabel: "Create an account",
- switchHref: "https://viget.progmasoft.com/register/",
+ switchHref: "https://account.progmasoft.com/register",
},
register: {
title: "Create account",
@@ -22,7 +22,7 @@ const copy = {
submit: "Next",
switchText: "Already have an account?",
switchLabel: "Sign in",
- switchHref: "https://viget.progmasoft.com/login/",
+ switchHref: "https://account.progmasoft.com/login",
},
recover: {
title: "Recover account",
@@ -30,7 +30,7 @@ const copy = {
submit: "Send code",
switchText: "Remembered your password?",
switchLabel: "Sign in",
- switchHref: "https://viget.progmasoft.com/login/",
+ switchHref: "https://account.progmasoft.com/login",
},
} as const;
const content = copy[mode];
@@ -99,7 +99,7 @@ const content = copy[mode];
<button class="auth-submit" type="submit">{mode === "register" ? "Create account" : "Sign in"}</button>
{
mode === "login" && (
- <a class="auth-recovery" href="https://viget.progmasoft.com/recover/">Forgot password?</a>
+ <a class="auth-recovery" href="https://account.progmasoft.com/recover">Forgot password?</a>
)
}
</div>
diff --git a/frontend/src/components/RepositoryHeader.astro b/frontend/src/components/RepositoryHeader.astro
index 4732ca4..625bf2c 100644
--- a/frontend/src/components/RepositoryHeader.astro
+++ b/frontend/src/components/RepositoryHeader.astro
@@ -22,11 +22,11 @@ const { authenticated = false } = Astro.props;
<a href="https://viget.progmasoft.com/dslplugins/">DSL plugins</a>
{
authenticated ? (
- <a href="https://viget.progmasoft.com/dashboard/">Dashboard</a>
+ <a href="https://account.progmasoft.com/">Account</a>
) : (
<>
- <a href="https://viget.progmasoft.com/login/">Log in</a>
- <a class="repository-register" href="https://viget.progmasoft.com/register/">Register</a>
+ <a href="https://account.progmasoft.com/login">Log in</a>
+ <a class="repository-register" href="https://account.progmasoft.com/register">Register</a>
</>
)
}
diff --git a/frontend/src/pages/repo/dashboard/index.astro b/frontend/src/pages/repo/dashboard/index.astro
index a004b92..1c8a09f 100644
--- a/frontend/src/pages/repo/dashboard/index.astro
+++ b/frontend/src/pages/repo/dashboard/index.astro
@@ -106,7 +106,7 @@ import SiteLayout from "../../../layouts/SiteLayout.astro";
<strong>Password</strong>
<span>Change your password through a verified recovery email.</span>
</div>
- <a class="button secondary glass-panel" href="https://viget.progmasoft.com/recover/">Reset password</a>
+ <a class="button secondary glass-panel" href="https://account.progmasoft.com/recover">Reset password</a>
</div>
</section>
</div>