From dec63a8419abcb9a592536e12bae9f927696b4b6 Mon Sep 17 00:00:00 2001 From: jakubmanczak Date: Sat, 7 Jan 2023 11:47:05 +0100 Subject: [PATCH] improve seo a bit --- components/SEO.tsx | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/components/SEO.tsx b/components/SEO.tsx index 1306095..60ff3b6 100644 --- a/components/SEO.tsx +++ b/components/SEO.tsx @@ -1,4 +1,5 @@ import Head from "next/head"; +import logo from "../public/logo.svg"; type seoprops = { title?: string; @@ -8,13 +9,29 @@ type seoprops = { const SEO = ({ title, noatsign, description }: seoprops) => { const defaultDescription = "Witryna internetowa Gractwa."; + const titleEnhanced = title + ? `${title}${noatsign ? "" : " @ gractwo.pl"}` + : "gractwo.pl"; return ( - - {title ? `${title}${noatsign ? "" : " @ gractwo.pl"}` : "gractwo.pl"} - + {titleEnhanced} + + + + + + + + + + + + ); };