mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
18 lines
368 B
TypeScript
18 lines
368 B
TypeScript
|
import Head from "next/head";
|
||
|
|
||
|
type TPageHeader = {
|
||
|
title?: string;
|
||
|
description?: string;
|
||
|
};
|
||
|
|
||
|
export const PageHeader: React.FC<TPageHeader> = (props) => {
|
||
|
const { title = "God Mode - Plane", description = "Plane god mode" } = props;
|
||
|
|
||
|
return (
|
||
|
<Head>
|
||
|
<title>{title}</title>
|
||
|
<meta name="description" content={description} />
|
||
|
</Head>
|
||
|
);
|
||
|
};
|