Skip to content

Commit 8b2d21a

Browse files
committed
FE optimiztions
1 parent 769620a commit 8b2d21a

25 files changed

+2416
-1695
lines changed

web/app/domains/page.tsx

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ import React, { useContext, useEffect } from 'react';
44
import { useRouter } from 'next/navigation';
55
import { CommonContext } from '@/components/user';
66
import { DomainControl } from '@/components/domain-control';
7-
import { ToastContainer } from 'react-toastify';
87
import { get_info } from '@/api/info';
9-
import 'react-toastify/dist/ReactToastify.css';
108
import { MultiProviderControl } from '@/components/multi-provider-control';
119

1210
export default function Domains() {
@@ -27,13 +25,24 @@ export default function Domains() {
2725
}, [setCurrentPage, credentials, saveVersion, router]);
2826

2927
return (
30-
<main className="flex min-h-screen flex-col items-center justify-start pt-10 max-w-screen-xl">
31-
<ToastContainer />
32-
<div className="flex flex-col items-center w-full bg-base-100 p-10">
33-
<MultiProviderControl />
34-
<div className="divider"></div>
35-
<DomainControl />
28+
<main className="page-wrap">
29+
<div className="page-shell">
30+
<section className="page-hero page-hero-compact">
31+
<div className="eyebrow">
32+
<span className="inline-block h-2 w-2 rounded-full bg-violet-400" />
33+
Configuration
34+
</div>
35+
<h1 className="page-title">Organize provider credentials and managed domains.</h1>
36+
</section>
37+
38+
<section className="section-shell">
39+
<MultiProviderControl />
40+
</section>
41+
42+
<section className="section-shell">
43+
<DomainControl />
44+
</section>
3645
</div>
3746
</main>
3847
);
39-
};
48+
};

0 commit comments

Comments
 (0)