feat : add custom pages title
This commit is contained in:
10
src/components/pageTitle.tsx
Normal file
10
src/components/pageTitle.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import Head from "next/head";
|
||||
|
||||
export const PageTitle = ({ title }: { title: string }) => {
|
||||
return (
|
||||
<Head>
|
||||
<title>{title}</title>
|
||||
<meta property="og:title" content={title} />
|
||||
</Head>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user