mirror of
https://github.com/documenso/documenso.git
synced 2025-11-22 04:31:39 +10:00
24 lines
790 B
TypeScript
24 lines
790 B
TypeScript
import React from 'react';
|
|
|
|
import { DesktopNav } from '~/components/(dashboard)/settings/layout/desktop-nav';
|
|
import { MobileNav } from '~/components/(dashboard)/settings/layout/mobile-nav';
|
|
|
|
export type DashboardSettingsLayoutProps = {
|
|
children: React.ReactNode;
|
|
};
|
|
|
|
export default function DashboardSettingsLayout({ children }: DashboardSettingsLayoutProps) {
|
|
return (
|
|
<div className="mx-auto w-full max-w-screen-xl px-4 md:px-8">
|
|
<h1 className="text-4xl font-semibold">Settings</h1>
|
|
|
|
<div className="mt-4 grid grid-cols-12 gap-x-8 md:mt-8">
|
|
<DesktopNav className="hidden md:col-span-3 md:flex" />
|
|
<MobileNav className="col-span-12 mb-8 md:hidden" />
|
|
|
|
<div className="col-span-12 md:col-span-9">{children}</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|