UI - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: дизайн и русификация God Mode

This commit is contained in:
DCCONSTRUCTIONS
2026-04-29 00:38:04 +03:00
parent 5d336039ba
commit 7f47b85c36
57 changed files with 1104 additions and 588 deletions
@@ -22,7 +22,7 @@ export function AuthenticationMethodCard(props: Props) {
return (
<div
className={cn("flex w-full items-center gap-14 rounded-lg bg-layer-2", {
className={cn("nodedc-settings-card flex w-full items-center gap-14 rounded-lg bg-layer-2", {
"border border-subtle px-4 py-3": withBorder,
})}
>
@@ -35,7 +35,7 @@ export const GiteaConfiguration = observer(function GiteaConfiguration(props: Pr
{GiteaConfigured ? (
<div className="flex items-center gap-4">
<Link href="/authentication/gitea" className={cn(getButtonStyling("link", "base"), "font-medium")}>
Edit
Изменить
</Link>
<ToggleSwitch
value={Boolean(parseInt(GiteaConfig))}
@@ -51,7 +51,7 @@ export const GiteaConfiguration = observer(function GiteaConfiguration(props: Pr
) : (
<Link href="/authentication/gitea" className={cn(getButtonStyling("secondary", "base"), "text-tertiary")}>
<Settings2 className="h-4 w-4 p-0.5 text-tertiary" />
Configure
Настроить
</Link>
)}
</>
@@ -34,7 +34,7 @@ export const GithubConfiguration = observer(function GithubConfiguration(props:
{isGithubConfigured ? (
<div className="flex items-center gap-4">
<Link href="/authentication/github" className={cn(getButtonStyling("link", "base"), "font-medium")}>
Edit
Изменить
</Link>
<ToggleSwitch
value={Boolean(parseInt(enableGithubConfig))}
@@ -49,7 +49,7 @@ export const GithubConfiguration = observer(function GithubConfiguration(props:
) : (
<Link href="/authentication/github" className={cn(getButtonStyling("secondary", "base"), "text-tertiary")}>
<Settings2 className="h-4 w-4 p-0.5 text-tertiary" />
Configure
Настроить
</Link>
)}
</>
@@ -34,7 +34,7 @@ export const GitlabConfiguration = observer(function GitlabConfiguration(props:
{isGitlabConfigured ? (
<div className="flex items-center gap-4">
<Link href="/authentication/gitlab" className={cn(getButtonStyling("link", "base"), "font-medium")}>
Edit
Изменить
</Link>
<ToggleSwitch
value={Boolean(parseInt(enableGitlabConfig))}
@@ -49,7 +49,7 @@ export const GitlabConfiguration = observer(function GitlabConfiguration(props:
) : (
<Link href="/authentication/gitlab" className={cn(getButtonStyling("secondary", "base"), "text-tertiary")}>
<Settings2 className="h-4 w-4 p-0.5 text-tertiary" />
Configure
Настроить
</Link>
)}
</>
@@ -34,7 +34,7 @@ export const GoogleConfiguration = observer(function GoogleConfiguration(props:
{isGoogleConfigured ? (
<div className="flex items-center gap-4">
<Link href="/authentication/google" className={cn(getButtonStyling("link", "base"), "font-medium")}>
Edit
Изменить
</Link>
<ToggleSwitch
value={Boolean(parseInt(enableGoogleConfig))}
@@ -49,7 +49,7 @@ export const GoogleConfiguration = observer(function GoogleConfiguration(props:
) : (
<Link href="/authentication/google" className={cn(getButtonStyling("secondary", "base"), "text-tertiary")}>
<Settings2 className="h-4 w-4 p-0.5 text-tertiary" />
Configure
Настроить
</Link>
)}
</>