Files
koring-launcher/src/pages/setting/network/ether-online.tsx
T
dream_pep 27acc66252 Add Koring auth flow and settings UI refactor
Implements Koring OIDC device-auth flow and integrates it into the app: core auth (TS/JS), IPC handlers, renderer API, KoringLogin React component, and a zustand koringAuth store. Handlers support device-code request, polling, refresh, get-user and logout and persist user info to existing auth/config. Also refactors many settings pages to use shared Setting components (SettingCard, SettingRow, SectionTitle, PageHeader) and replaces custom controls with @heroui/react primitives (Avatar, Button, Switch, RadioGroup, Slider, Input, TextArea, EmptyState). Adds OOBE login/welcome pages, a setting login route, installer header generator script, and a sample koring-auth.json for development.
2026-07-26 06:42:41 +08:00

16 lines
534 B
TypeScript

import { EmptyState } from "@heroui/react";
import { Globe } from "lucide-react";
import { PageHeader } from "@/components/setting";
export function EtherOnlineSetting() {
return (
<div>
<PageHeader title="以太联机" desc="配置以太联机服务,实现多人局域网或远程联机" />
<EmptyState className="py-16">
<Globe className="w-10 h-10 text-muted-foreground/30" />
<p className="text-sm text-muted-foreground mt-3">该功能正在开发中</p>
</EmptyState>
</div>
);
}