16 lines
388 B
TypeScript
16 lines
388 B
TypeScript
import type { Metadata } from 'next'
|
|
import { CardDetail } from '@/components/card-detail'
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Carte',
|
|
}
|
|
|
|
export default async function CardDetailPage({ params }: { params: Promise<{ id: string }> }) {
|
|
const { id } = await params
|
|
return (
|
|
<main className="mx-auto max-w-3xl px-4 py-8">
|
|
<CardDetail cardId={id} />
|
|
</main>
|
|
)
|
|
}
|