Refactored website components. New layout.
This commit is contained in:
6
src/app/(main)/websites/[websiteId]/goals/GoalsPage.tsx
Normal file
6
src/app/(main)/websites/[websiteId]/goals/GoalsPage.tsx
Normal file
@@ -0,0 +1,6 @@
|
||||
'use client';
|
||||
import { Column } from '@umami/react-zen';
|
||||
|
||||
export function GoalsPage({ websiteId }: { websiteId: string }) {
|
||||
return <Column>Goals {websiteId}</Column>;
|
||||
}
|
||||
12
src/app/(main)/websites/[websiteId]/goals/page.tsx
Normal file
12
src/app/(main)/websites/[websiteId]/goals/page.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Metadata } from 'next';
|
||||
import { GoalsPage } from './GoalsPage';
|
||||
|
||||
export default async function ({ params }: { params: Promise<{ websiteId: string }> }) {
|
||||
const { websiteId } = await params;
|
||||
|
||||
return <GoalsPage websiteId={websiteId} />;
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Goals',
|
||||
};
|
||||
Reference in New Issue
Block a user