feat: add nextjs metadata

This commit is contained in:
Qurashi Aqeel 2024-04-23 10:12:08 +05:30
parent 6be7aab360
commit ea02b8af2b
5 changed files with 25 additions and 0 deletions

View file

@ -1,5 +1,25 @@
import { Metadata } from "next"
import { env } from "env.mjs"
import "styles/tailwind.css"
export const metadata: Metadata = {
title: {
default: "Blazity | next-enterprise",
template: "Blazity | %s",
},
description: "Blazity next-js boilerplate for enterprise applications",
keywords: "next-js, next-enterprise, blazity, boilerplate, enterprise",
icons: "/logo.png",
openGraph: {
images: "/logo.png",
type: "website",
},
metadataBase: new URL(env.NEXT_PUBLIC_SITE_BASE_URL || "http://localhost:3000"),
twitter: {
images: "/logo.png",
},
}
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">