From af103b3837d52f0439c31faf891de25fa3a3c00b Mon Sep 17 00:00:00 2001 From: Damian Stasik <920747+damianstasik@users.noreply.github.com> Date: Wed, 4 Sep 2024 09:29:09 +0200 Subject: [PATCH] Add meta tags to home page Signed-off-by: Damian Stasik <920747+damianstasik@users.noreply.github.com> --- frontend/src/components/MetaTags/index.tsx | 2 +- frontend/src/routes/Home/index.tsx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/MetaTags/index.tsx b/frontend/src/components/MetaTags/index.tsx index 988273f0..5c83392d 100644 --- a/frontend/src/components/MetaTags/index.tsx +++ b/frontend/src/components/MetaTags/index.tsx @@ -1,7 +1,7 @@ import { Helmet } from "react-helmet-async"; interface MetaTagsProps { - title: string; + title?: string; description?: string; } diff --git a/frontend/src/routes/Home/index.tsx b/frontend/src/routes/Home/index.tsx index 2fde8b12..ef465657 100644 --- a/frontend/src/routes/Home/index.tsx +++ b/frontend/src/routes/Home/index.tsx @@ -2,10 +2,12 @@ import { Search } from "@/components/Search"; import { Header } from "../../components/Header"; import { Paragraph } from "../../components/Paragraph"; import PatternBg from "../../components/PatternBg"; +import { MetaTags } from "@/components/MetaTags"; export function Home() { return ( <> +