Skip to content

Commit

Permalink
feat: add metadata to base layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhall1515 committed Apr 19, 2024
1 parent fae2f28 commit 6602372
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,29 @@ import { Analytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/next";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";

import "./globals.css";
import { env } from "@/env/client";
import { VERCEL_ENV } from "@/next.constants.mjs";
const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
metadataBase: new URL(env.NEXT_PUBLIC_BASE_URL),
title: {
template: "%s | rikhall.proj",
default: "NextJS Template | rikhall.proj",
},
description: "This is a Next.JS template made by Rikard Hallberg.",
manifest: "/site.webmanifest",
creator: "Rikard Hallberg",
publisher: "Vercel",
referrer: "origin-when-cross-origin",
generator: "Next.js",
applicationName: "rikhall.proj",
authors: [{ name: "Rikard Hallberg", url: "https://rikardhallberg.com" }],
other: {
"msapplication-TileColor": "#0e0813",
},
};

export default function RootLayout({
Expand Down

0 comments on commit 6602372

Please sign in to comment.