mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-05 23:16:57 -06:00
Remove react-ogp, use metadata object
This commit is contained in:
@@ -5,21 +5,17 @@ import { trpc } from "@/utils/trpc";
|
||||
import "@/styles/globals.scss";
|
||||
import { Analytics } from "@vercel/analytics/react";
|
||||
import { Provider } from "react-wrap-balancer";
|
||||
import Head from "next/head";
|
||||
import { OGP } from "react-ogp";
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Xevion.dev",
|
||||
description: "The personal website of Xevion, a full-stack software developer.",
|
||||
applicationName: "xevion.dev",
|
||||
}
|
||||
|
||||
const MyApp: AppType = ({ Component, pageProps }) => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<OGP
|
||||
url="https://xevion.dev"
|
||||
title="Xevion.dev"
|
||||
description="The personal website of Xevion, a full-stack software developer."
|
||||
siteName="xevion.dev"
|
||||
image="https://xevion.dev/banner.png"
|
||||
/>
|
||||
</Head>
|
||||
<Provider>
|
||||
<Component {...pageProps} />
|
||||
</Provider>
|
||||
|
||||
Reference in New Issue
Block a user