2023-05-17 20:09:09 +03:00
|
|
|
import Heading from './admin-x-ds/global/Heading';
|
2023-05-16 09:23:36 +03:00
|
|
|
import Settings from './components/Settings';
|
|
|
|
import Sidebar from './components/Sidebar';
|
|
|
|
|
|
|
|
function App() {
|
|
|
|
return (
|
2023-05-16 18:38:40 +03:00
|
|
|
<div className="admin-x-settings">
|
2023-05-16 09:23:36 +03:00
|
|
|
<button
|
|
|
|
className="fixed left-6 top-4 text-sm font-bold text-black"
|
|
|
|
type="button"
|
|
|
|
onClick={() => window.history.back()}
|
|
|
|
>
|
|
|
|
← Done
|
|
|
|
</button>
|
|
|
|
|
|
|
|
{/* Main container */}
|
|
|
|
<div className="mx-auto flex max-w-[1080px] flex-col px-[5vmin] py-[12vmin] md:flex-row md:items-start md:gap-x-10 md:py-[8vmin]">
|
|
|
|
|
|
|
|
{/* Sidebar */}
|
|
|
|
<div className="relative grow-0 md:sticky md:top-[8vmin] md:basis-[240px]">
|
2023-05-17 20:09:09 +03:00
|
|
|
<Heading>Settings</Heading>
|
2023-05-16 09:23:36 +03:00
|
|
|
<Sidebar />
|
|
|
|
</div>
|
|
|
|
<div className="flex-auto pt-[3vmin] md:pt-[72px]">
|
|
|
|
<Settings />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|