fix popup ui

This commit is contained in:
go0p
2026-08-06 15:11:35 +08:00
committed by go0p
parent 83381b9623
commit 4be4ab9101
5 changed files with 85 additions and 27 deletions
+21 -20
View File
@@ -1,25 +1,26 @@
import React from 'react';
import { ConfigProvider } from 'antd';
import { ProxySwitch } from '../../components/ProxySwitch';
import {ConfigProvider} from 'antd';
import {ProxySwitch} from '@/components/ProxySwitch';
import '@/styles/global.css'
import './App.css';
export default function App() {
return (
<ConfigProvider
theme={{
token: {
colorPrimary: "#F28B44",
},
}}
>
<div className="popup-container">
<header className="popup-header">
<h1>Yaklang 代理管理</h1>
</header>
<main className="popup-content">
<ProxySwitch />
</main>
</div>
</ConfigProvider>
);
return (
<ConfigProvider
theme={{
token: {
colorPrimary: "#F28B44",
},
}}
>
<div className="popup-container">
<header className="popup-header">
<h1>Yaklang 代理管理</h1>
</header>
<main className="popup-content">
<ProxySwitch/>
</main>
</div>
</ConfigProvider>
);
}