generated from TobiasGleiter/nextjs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3b7591
commit 20e05e4
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<Metadata> { | ||
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 ( | ||
<div className="flex w-screen overflow-y-auto min-h-screen inset-0"> | ||
<div className="flex flex-col gap-4 items-start lg:items-center justify-center w-full"> | ||
<Link className="flex flex-col gap-4 items-center" href={'/'}> | ||
<div className="relative"> | ||
<Icons.tree className="w-8 h-8" /> | ||
</div> | ||
<h1 className="flex items-center text-3xl md:text-4xl font-bold"> | ||
Blackforest from | ||
<span className="bg-primary text-background pl-1 pr-2 ml-2"> | ||
above | ||
</span> | ||
</h1> | ||
</Link> | ||
<div className="rounded-lg overflow-hidden">{children}</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters