[优化] UI improve

This commit is contained in:
ryan
2026-05-25 15:47:56 +08:00
parent f6e4967a9a
commit 7eee788720
5 changed files with 3 additions and 22 deletions
@@ -68,10 +68,10 @@ export function DnsAccountsPage() {
action={
<div className="flex flex-wrap gap-3">
<Link
href="/website"
href="/website/certificate"
className="inline-flex min-h-[46px] items-center justify-center rounded-2xl border border-[var(--border-default)] bg-[var(--control-background)] px-4 py-3 text-sm font-medium text-[var(--foreground-primary)] transition hover:bg-[var(--control-background-hover)]"
>
返回网站
返回
</Link>
<PrimaryButton type="button" onClick={() => setIsCreateOpen(true)}>
添加账号
@@ -718,14 +718,6 @@ type PowListValues = {
user_agents: string;
};
const defaultPowList: PowListValues = {
ips: '',
ip_cidrs: '',
paths: '',
path_regexes: '',
user_agents: '',
};
const powSchema = z
.object({
pow_enabled: z.boolean(),
@@ -137,7 +137,7 @@ export function TlsCertificatesPage() {
刷新证书
</SecondaryButton>
<Link
href="/dns-account"
href="/website/dns-account"
className="inline-flex min-h-[46px] items-center justify-center rounded-2xl border border-[var(--border-default)] bg-[var(--control-background)] px-4 py-3 text-sm font-medium text-[var(--foreground-primary)] transition hover:bg-[var(--control-background-hover)]"
>
DNS 账号