diff --git a/src/app/(public)/layout.tsx b/src/app/(public)/layout.tsx new file mode 100644 index 0000000..53921df --- /dev/null +++ b/src/app/(public)/layout.tsx @@ -0,0 +1,36 @@ +import Link from "next/link" +import { ReactNode } from "react" + +export default function PublicLayout({ + children +}: { + children: ReactNode +}) { + return ( + <> + + +
+ {children} +
+ + ) +} diff --git a/src/app/(public)/page.tsx b/src/app/(public)/page.tsx new file mode 100644 index 0000000..f58460e --- /dev/null +++ b/src/app/(public)/page.tsx @@ -0,0 +1,14 @@ +export default function HomePage() { + return ( +
+
+

+ Linker +

+

+ Transform long URLs into short, shareable links. Perfect for social media, emails, and anywhere you need clean, manageable links. +

+
+
+ ) +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index c9d1e3d..8bce620 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,18 +1,16 @@ -import type { Metadata } from "next" import { ReactNode } from "react" import "./globals.css" -export const metadata: Metadata = { - title: "Linker", - description: "A simple link shortener" -} - export default function RootLayout({ children -}: Readonly<{ children: ReactNode }>) { +}: { + children: ReactNode +}) { return ( - {children} + + {children} + ) } diff --git a/src/app/page.tsx b/src/app/page.tsx deleted file mode 100644 index c5d9129..0000000 --- a/src/app/page.tsx +++ /dev/null @@ -1,3 +0,0 @@ -export default function HomePage() { - return "Hello, World!" -}