добавил seo component исправил цвет шрифта
This commit is contained in:
1 parent
acaf65b066
commit
3bf10b0e52
6 files changed
+2857
-44
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import { Helmet } from "react-helmet-async";
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
const SEO: React.FC<Props> = ({ title, description }) => {
|
||||
return (
|
||||
<Helmet>
|
||||
<title>{title}</title>
|
||||
|
||||
<meta name="description" content={description} />
|
||||
|
||||
<meta property="og:title" content={title} />
|
||||
<meta property="og:description" content={description} />
|
||||
</Helmet>
|
||||
);
|
||||
};
|
||||
|
||||
export default SEO;
|
||||
Reference in new issue
Block a user