@@ -17,7 +17,7 @@ import { EditableConfig } from "@/model/config";
1717export default function ManagePage ( ) {
1818 const queryClient = useQueryClient ( ) ;
1919 const [ message , setMessage ] = useState ( '' ) ;
20- const [ enableChanges , setEnable ] = useState ( false ) ;
20+ const [ enableChanges , setEnableChanges ] = useState ( false ) ;
2121 const [ systemMessage , setSystemMessage ] = useState ( '' ) ;
2222 const [ configData , setConfigData ] = useState ( '' ) ;
2323 const t = useTranslations ( ) ;
@@ -100,16 +100,14 @@ export default function ManagePage() {
100100 icon = { < Database className = "size-10 text-blue-600" /> }
101101 />
102102
103- < div className = "container mx-auto px-4 py-6 max-w-4xl" >
104- < div
105- className = "bg-white/80 backdrop-blur-sm border border-slate-200/60 rounded-3xl shadow-xl shadow-slate-200/50 p-8 space-y-8" >
106-
107- { /* System Controls Section */ }
108- < div className = "space-y-6" >
109- < h3 className = "text-lg font-semibold text-slate-800 border-b border-slate-200 pb-2" >
103+ < div className = "max-w-4xl mx-auto p-6" >
104+ < div className = "bg-white rounded-xl shadow-lg border border-gray-200 overflow-hidden" >
105+ < div className = "bg-gradient-to-r from-primary-50 to-primary-100 px-6 py-4 border-b border-gray-200" >
106+ < h2 className = "text-xl font-semibold text-gray-900" >
110107 System Controls
111- </ h3 >
112-
108+ </ h2 >
109+ </ div >
110+ < div className = "p-6 space-y-6" >
113111 { /* Enable Changes Toggle */ }
114112 < div
115113 className = "flex items-center gap-4 p-4 bg-slate-50/50 rounded-2xl border border-slate-200/50" >
@@ -122,7 +120,7 @@ export default function ManagePage() {
122120 id = "enableChanges"
123121 name = "enableChanges"
124122 checked = { enableChanges }
125- onChange = { ( ) => setEnable ( ! enableChanges ) }
123+ onChange = { ( ) => setEnableChanges ( ! enableChanges ) }
126124 className = "peer h-5 w-5 cursor-pointer transition-all appearance-none rounded shadow hover:shadow-md border border-primary-50 checked:bg-primary-800 checked:border-primary-800"
127125 />
128126 </ div >
@@ -204,7 +202,7 @@ export default function ManagePage() {
204202 </ div >
205203
206204 { /* Configuration Section */ }
207- < div className = "space-y-6" >
205+ < div className = "p-6 space-y-6" >
208206 < div className = "flex items-center justify-between" >
209207 < h3 className = "text-lg font-semibold text-slate-800 border-b border-slate-200 pb-2 flex-1" >
210208 Configuration Editor
0 commit comments