Refined both admin and marketing layouts for a clearer design. Newly added components for the admin page include admin-account-page, admin-members-table and admin-memberships-table. Also included in this update are route renaming, minor text edits and corrections in the code.
12 lines
292 B
TypeScript
12 lines
292 B
TypeScript
import { Page } from '@kit/ui/page';
|
|
|
|
import { AdminSidebar } from '~/admin/_components/admin-sidebar';
|
|
|
|
export const metadata = {
|
|
title: `Admin`,
|
|
};
|
|
|
|
export default function AdminLayout(props: React.PropsWithChildren) {
|
|
return <Page sidebar={<AdminSidebar />}>{props.children}</Page>;
|
|
}
|