Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: fix further seo findings and remove react-helmet
- Loading branch information
1 parent
1b339e9
commit fcf53db
Showing
12 changed files
with
38 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,36 @@ | ||
import { Helmet } from "react-helmet"; | ||
import React from "react"; | ||
import useSeoData from "../../hooks/useSeoData"; | ||
|
||
function SEO() { | ||
const { title, titleTemplate, author, lang, description, keywords, siteUrl, image } = useSeoData(); | ||
export default function Head() { | ||
const { title, author, lang, description, keywords, siteUrl, image } = useSeoData(); | ||
|
||
return ( | ||
<Helmet title={title} titleTemplate={titleTemplate} htmlAttributes={{ lang }}> | ||
<> | ||
{/* General Tags */} | ||
<html lang={lang} /> | ||
<title>{title}</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta charSet="utf-8" content="text/html" /> | ||
<meta name="google-site-verification" content="q8yR-dQtcpS226CtIxSP3iAwC1cT1UTpI1DcqkFvibQ" /> | ||
<meta name="description" content={description} /> | ||
<meta name="keywords" content={keywords.join(",")} /> | ||
<meta name="image" content={image} /> | ||
<meta name="image" content="https://media.licdn.com/dms/image/C4D03AQGO3MR_R0e7Tg/profile-displayphoto-shrink_800_800/0/1633511356625?e=1704931200&v=beta&t=Jz-7-TqitVqx39waSjLsehBRDuZ-7vqOABOEPEHmQ7k" /> | ||
<meta name="author" content={author} /> | ||
|
||
{/* OpenGraph aka Facebook Tags */} | ||
<meta name="og:title" content={title} /> | ||
<meta name="og:site_name" content={title} /> | ||
<meta name="og:description" content={description} /> | ||
<meta name="og:url" content={siteUrl} /> | ||
<meta name="og:image" content={image} /> | ||
<meta name="og:image" content="https://media.licdn.com/dms/image/C4D03AQGO3MR_R0e7Tg/profile-displayphoto-shrink_800_800/0/1633511356625?e=1704931200&v=beta&t=Jz-7-TqitVqx39waSjLsehBRDuZ-7vqOABOEPEHmQ7k" /> | ||
<meta name="og:type" content="website" /> | ||
|
||
{/* Twitter Tags */} | ||
<meta name="twitter:title" content={title} /> | ||
<meta name="twitter:description" content={description} /> | ||
<meta name="twitter:image" content={image} /> | ||
<meta name="twitter:image" content="https://media.licdn.com/dms/image/C4D03AQGO3MR_R0e7Tg/profile-displayphoto-shrink_800_800/0/1633511356625?e=1704931200&v=beta&t=Jz-7-TqitVqx39waSjLsehBRDuZ-7vqOABOEPEHmQ7k" /> | ||
<meta name="twitter:card" content="summary" /> | ||
</Helmet> | ||
</> | ||
); | ||
} | ||
|
||
export default SEO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fcf53db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
personal-website – ./
personal-website-git-main-kevelopment.vercel.app
personal-website-azure-one.vercel.app
www.kevelopment.dev
www.kevelopment.de
kevelopment.de
kevelopment.com
kevelopment.dev
personal-website-kevelopment.vercel.app
www.kevelopment.com