@@ -4,9 +4,7 @@ import React, { useContext, useEffect } from 'react';
44import { useRouter } from 'next/navigation' ;
55import { CommonContext } from '@/components/user' ;
66import { DomainControl } from '@/components/domain-control' ;
7- import { ToastContainer } from 'react-toastify' ;
87import { get_info } from '@/api/info' ;
9- import 'react-toastify/dist/ReactToastify.css' ;
108import { MultiProviderControl } from '@/components/multi-provider-control' ;
119
1210export 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