mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
52 lines
1.2 KiB
TypeScript
52 lines
1.2 KiB
TypeScript
import config from "@/lib/config"
|
|
import type { Metadata, Viewport } from "next"
|
|
import "./globals.css"
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
template: "%s | TaxHacker",
|
|
default: config.app.title,
|
|
},
|
|
description: config.app.description,
|
|
icons: {
|
|
icon: "/favicon.ico",
|
|
shortcut: "/favicon.ico",
|
|
apple: "/apple-touch-icon.png",
|
|
},
|
|
manifest: "/site.webmanifest",
|
|
metadataBase: new URL(config.app.baseURL),
|
|
openGraph: {
|
|
type: "website",
|
|
locale: "en_US",
|
|
url: config.app.baseURL,
|
|
title: config.app.title,
|
|
description: config.app.description,
|
|
siteName: config.app.title,
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: config.app.title,
|
|
description: config.app.description,
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
}
|
|
|
|
export const viewport: Viewport = {
|
|
themeColor: "#ffffff",
|
|
width: "device-width",
|
|
initialScale: 1,
|
|
maximumScale: 1,
|
|
userScalable: false,
|
|
}
|
|
|
|
export default async function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="en">
|
|
<body className="min-h-screen bg-white antialiased">{children}</body>
|
|
</html>
|
|
)
|
|
}
|