mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
21 lines
471 B
TypeScript
21 lines
471 B
TypeScript
import { Metadata } from 'next';
|
|
import { WebsiteLayout } from '@/app/(main)/websites/[websiteId]/WebsiteLayout';
|
|
|
|
export default async function ({
|
|
children,
|
|
params,
|
|
}: {
|
|
children: any;
|
|
params: Promise<{ websiteId: string }>;
|
|
}) {
|
|
const { websiteId } = await params;
|
|
|
|
return <WebsiteLayout websiteId={websiteId}>{children}</WebsiteLayout>;
|
|
}
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
template: '%s | Umami',
|
|
default: 'Websites | Umami',
|
|
},
|
|
};
|