36 lines
1.1 KiB
TypeScript
36 lines
1.1 KiB
TypeScript
import type { Metadata } from "next"
|
|
import { ReactNode } from "react"
|
|
import "./globals.css"
|
|
import { Toaster } from "@/components/ui/sonner"
|
|
import { ThemeProvider } from "next-themes"
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: "Linker - Smart URL Shortener & Link Management",
|
|
template: "%s | Linker"
|
|
},
|
|
description:
|
|
"A powerful and intuitive URL shortening service with advanced analytics, custom slugs, expiration dates, and comprehensive link management features.",
|
|
keywords: ["URL shortener", "link management", "analytics", "custom slugs", "link tracking", "short links"],
|
|
authors: [{ name: "Taken" }],
|
|
creator: "Taken",
|
|
publisher: "Taken"
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children
|
|
}: {
|
|
children: ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className="antialiased">
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
|
{children}
|
|
<Toaster />
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|