diff --git a/src/app/(lang)/(landing)/p/[id]/layout.tsx b/src/app/(lang)/(landing)/p/[id]/layout.tsx new file mode 100644 index 0000000..c8410d1 --- /dev/null +++ b/src/app/(lang)/(landing)/p/[id]/layout.tsx @@ -0,0 +1,34 @@ +import { Icons } from '@/src/components/ui/icons'; +import { Metadata } from 'next'; +import Link from 'next/link'; + +export async function generateMetadata({ params }): Promise { + return { + title: 'Nature', + description: 'Explore the blackforst from above and find the locations', + applicationName: 'Findntravel', + keywords: [], + creator: 'Tobias Gleiter, Yannick Buekers', + }; +} + +export default function Layout({ children }: { children: React.ReactNode }) { + return ( +
+
+ +
+ +
+

+ Blackforest from + + above + +

+ +
{children}
+
+
+ ); +} diff --git a/src/app/(lang)/(landing)/p/[id]/page.tsx b/src/app/(lang)/(landing)/p/[id]/page.tsx index 8e2d431..7869ff9 100644 --- a/src/app/(lang)/(landing)/p/[id]/page.tsx +++ b/src/app/(lang)/(landing)/p/[id]/page.tsx @@ -2,6 +2,6 @@ import ImageInfo from '@/src/components/ui/image-info'; export default function Page({ params }) { const { id } = params; - // const id = 'dncseo7lnt9vookeqtov'; + return ; }