🐛 fix: update repository links and add environment configuration for admin and user apps
This commit is contained in:
@@ -106,10 +106,22 @@ export default function EmailAuthForm() {
|
||||
<>
|
||||
<div className="mb-11 text-center">
|
||||
<h1 className="mb-3 font-bold text-2xl">
|
||||
{t(`${type || "check"}.title`)}
|
||||
{type === "login"
|
||||
? t("login.title", "Login")
|
||||
: type === "register"
|
||||
? t("register.title", "Register")
|
||||
: type === "reset"
|
||||
? t("reset.title", "Reset Password")
|
||||
: t("check.title", "Verify")}
|
||||
</h1>
|
||||
<div className="font-medium text-muted-foreground">
|
||||
{t(`${type || "check"}.description`)}
|
||||
{type === "login"
|
||||
? t("login.description", "Enter your credentials to continue")
|
||||
: type === "register"
|
||||
? t("register.description", "Create a new account")
|
||||
: type === "reset"
|
||||
? t("reset.description", "Reset your password")
|
||||
: t("check.description", "Verify your identity")}
|
||||
</div>
|
||||
</div>
|
||||
{UserForm}
|
||||
|
||||
@@ -40,7 +40,7 @@ export default function SystemVersionCard() {
|
||||
const [webResponse, serverResponse, systemResponse] = await Promise.all(
|
||||
[
|
||||
fetch(
|
||||
"https://data.jsdelivr.com/v1/packages/gh/perfect-panel/ppanel-web/resolved?specifier=latest"
|
||||
"https://data.jsdelivr.com/v1/packages/gh/perfect-panel/frontend/resolved?specifier=latest"
|
||||
),
|
||||
fetch(
|
||||
"https://data.jsdelivr.com/v1/packages/gh/perfect-panel/server/resolved?specifier=latest"
|
||||
@@ -88,7 +88,7 @@ export default function SystemVersionCard() {
|
||||
web: webData
|
||||
? {
|
||||
version: webData.version,
|
||||
url: `https://github.com/perfect-panel/ppanel-web/releases/tag/v${webData.version}`,
|
||||
url: `https://github.com/perfect-panel/frontend/releases/tag/v${webData.version}`,
|
||||
}
|
||||
: null,
|
||||
server: serverData
|
||||
@@ -206,7 +206,7 @@ export default function SystemVersionCard() {
|
||||
target="_blank"
|
||||
to={
|
||||
latestReleases?.web?.url ||
|
||||
"https://github.com/perfect-panel/ppanel-web/releases"
|
||||
"https://github.com/perfect-panel/frontend/releases"
|
||||
}
|
||||
>
|
||||
<Badge
|
||||
|
||||
Reference in New Issue
Block a user