mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 03:55:37 +01:00
New menu layout.
This commit is contained in:
parent
0cfee43814
commit
1c22c18de5
17 changed files with 103 additions and 47 deletions
13
src/app/(main)/websites/[websiteId]/WebsiteLayout.tsx
Normal file
13
src/app/(main)/websites/[websiteId]/WebsiteLayout.tsx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
'use client';
|
||||
import { ReactNode } from 'react';
|
||||
import { WebsiteProvider } from './WebsiteProvider';
|
||||
import { WebsiteHeader } from '@/app/(main)/websites/[websiteId]/WebsiteHeader';
|
||||
|
||||
export function WebsiteLayout({ websiteId, children }: { websiteId: string; children: ReactNode }) {
|
||||
return (
|
||||
<WebsiteProvider websiteId={websiteId}>
|
||||
<WebsiteHeader websiteId={websiteId} />
|
||||
{children}
|
||||
</WebsiteProvider>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue