Skip to content

Commit

Permalink
Fix meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
RakeshPotnuru committed Feb 6, 2022
1 parent a951f9b commit 3229236
Show file tree
Hide file tree
Showing 11 changed files with 63 additions and 9 deletions.
19 changes: 12 additions & 7 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description"
content="Hi! I'm Rakesh - a web developer, technical writer and a passionate learner. I love participating in hackathons, contributing to open source projects and find pleasure in helping folks around me." />
content="Hi! I'm Rakesh - a web developer, technical writer and a passionate learner. I love participating in hackathons, contributing to open source projects and find pleasure in helping folks around me."
data-react-helmet="true" />
<meta name="author" content="Rakesh Potnuru" />
<meta name="copyright" content="itsrakesh" />
<meta name="robots" content="index, follow" />
Expand All @@ -19,20 +20,24 @@
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://itsrakesh.co" />
<meta property="og:title" content="Rakesh Potnuru" />
<meta property="og:title" content="Rakesh Potnuru" data-react-helmet="true" />
<meta property="og:description"
content="Hi! I'm Rakesh - a web developer, technical writer and a passionate learner. I love participating in hackathons, contributing to open source projects and find pleasure in helping folks around me." />
content="Hi! I'm Rakesh - a web developer, technical writer and a passionate learner. I love participating in hackathons, contributing to open source projects and find pleasure in helping folks around me."
data-react-helmet="true" />
<meta property="og:image"
content="https://ik.imagekit.io/itsrakesh/Portfolio/its_rakesh_nz6h1OrqA.png?ik-sdk-version=javascript-1.4.3&updatedAt=1644141837903" />
content="https://ik.imagekit.io/itsrakesh/Portfolio/its_rakesh_nz6h1OrqA.png?ik-sdk-version=javascript-1.4.3&updatedAt=1644141837903"
data-react-helmet="true" />

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://itsrakesh.co" />
<meta property="twitter:title" content="Rakesh Potnuru" />
<meta property="twitter:title" content="Rakesh Potnuru" data-react-helmet="true" />
<meta property="twitter:description"
content="Hi! I'm Rakesh - a web developer, technical writer and a passionate learner. I love participating in hackathons, contributing to open source projects and find pleasure in helping folks around me." />
content="Hi! I'm Rakesh - a web developer, technical writer and a passionate learner. I love participating in hackathons, contributing to open source projects and find pleasure in helping folks around me."
data-react-helmet="true" />
<meta property="twitter:image"
content="https://ik.imagekit.io/itsrakesh/Portfolio/its_rakesh_nz6h1OrqA.png?ik-sdk-version=javascript-1.4.3&updatedAt=1644141837903" />
content="https://ik.imagekit.io/itsrakesh/Portfolio/its_rakesh_nz6h1OrqA.png?ik-sdk-version=javascript-1.4.3&updatedAt=1644141837903"
data-react-helmet="true" />

<!-- Web Monetization -->
<meta name="monetization" content="$ilp.uphold.com/82eq8NKY4NEZ">
Expand Down
6 changes: 6 additions & 0 deletions src/features/ProfileRedirect/ProfileRedirect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ const ProfileRedirect = () => {
<title>
{profileLink ? `${profile} | itsrakesh` : 'Profile Not Found'}
</title>
<meta
name="description"
content={
profileLink ? `Follow me on ${profile}` : 'Profile Not Found'
}
/>
<meta
property="og:title"
content={profileLink ? profile : 'Profile Not Found'}
Expand Down
4 changes: 4 additions & 0 deletions src/pages/404/404.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ const NotFound = () => {
<Fragment>
<Helmet>
<title>Page Not Found</title>
<meta
name="description"
content="The page you are looking for cannot be found."
/>
<meta property="og:title" content="Page Not Found" />
<meta
property="og:description"
Expand Down
1 change: 1 addition & 0 deletions src/pages/About/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const About = () => {
<React.Fragment>
<Helmet>
<title>About | itsrakesh</title>
<meta name="description" content="Know more about me." />
<meta property="og:title" content="About Rakesh Potnuru" />
<meta property="og:description" content="Know more about me." />
<meta
Expand Down
4 changes: 4 additions & 0 deletions src/pages/Blogs/Blogs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ const Blogs = () => {
<Fragment>
<Helmet>
<title>Blogs | itsrakesh</title>
<meta
name="description"
content="I write new technical blog every week. Check them out."
/>
<meta property="og:title" content="Rakesh's Blogs" />
<meta
property="og:description"
Expand Down
4 changes: 4 additions & 0 deletions src/pages/Contact/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ const Contact = () => {
<React.Fragment>
<Helmet>
<title>Contact | itsrakesh</title>
<meta
name="description"
content="Leave a message or schedule a google meet."
/>
<meta property="og:title" content="Get in touch with Rakesh" />
<meta
property="og:description"
Expand Down
26 changes: 26 additions & 0 deletions src/pages/Home/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { useState, useEffect } from 'react';
import { Helmet } from 'react-helmet';

import { Hero, Content, CTA } from './components';
import { BackToTop } from '../../common/components/UIElements';
Expand All @@ -22,6 +23,31 @@ const Home = () => {

return (
<React.Fragment>
<Helmet>
<title>itsrakesh</title>
<meta
name="description"
content="Hi! I'm Rakesh - a web developer, technical writer and a passionate learner. I love participating in hackathons, contributing to open source projects and find pleasure in helping folks around me."
/>
<meta property="og:title" content="Rakesh Potnuru" />
<meta
property="og:description"
content="Hi! I'm Rakesh - a web developer, technical writer and a passionate learner. I love participating in hackathons, contributing to open source projects and find pleasure in helping folks around me."
/>
<meta
property="og:image"
content="https://ik.imagekit.io/itsrakesh/Portfolio/its_rakesh_nz6h1OrqA.png?ik-sdk-version=javascript-1.4.3&updatedAt=1644141837903"
/>
<meta property="twitter:title" content="Rakesh Potnuru" />
<meta
property="twitter:description"
content="Hi! I'm Rakesh - a web developer, technical writer and a passionate learner. I love participating in hackathons, contributing to open source projects and find pleasure in helping folks around me."
/>
<meta
property="twitter:image"
content="https://ik.imagekit.io/itsrakesh/Portfolio/its_rakesh_nz6h1OrqA.png?ik-sdk-version=javascript-1.4.3&updatedAt=1644141837903"
/>
</Helmet>
<Hero />
<Content projects={projects} isLoading={isLoading} error={error} />
<CTA />
Expand Down
1 change: 1 addition & 0 deletions src/pages/Profiles/Profiles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const Profiles = () => {
<Fragment>
<Helmet>
<title>Profiles | itsrakesh</title>
<meta name="description" content="Find me on internet." />
<meta property="og:title" content="Rakesh's Profiles" />
<meta property="og:description" content="Find me on internet." />
<meta
Expand Down
5 changes: 3 additions & 2 deletions src/pages/Work/Work.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ const Work = () => {
<Fragment>
<Helmet>
<title>Work | itsrakesh</title>
<meta name="description" content="Get to know what I do." />
<meta property="og:title" content="Rakesh Potnuru's Work" />
<meta property="og:description" content="Know what I do." />
<meta property="og:description" content="Get to know what I do." />
<meta
property="og:image"
content="https://ik.imagekit.io/itsrakesh/Portfolio/work_og_-rQyI1zUlf.png?ik-sdk-version=javascript-1.4.3&updatedAt=1644156172387"
/>
<meta property="twitter:title" content="Rakesh Potnuru's Work" />
<meta property="twitter:description" content="Know what I do." />
<meta property="twitter:description" content="Get to know what I do." />
<meta
property="twitter:image"
content="https://ik.imagekit.io/itsrakesh/Portfolio/work_og_-rQyI1zUlf.png?ik-sdk-version=javascript-1.4.3&updatedAt=1644156172387"
Expand Down
1 change: 1 addition & 0 deletions src/pages/Work/projects/AllProjects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const AllProjects = () => {
<Fragment>
<Helmet>
<title>Projects | itsrakesh</title>
<meta name="description" content="See my projects" />
<meta property="og:title" content="Rakesh's Projects" />
<meta property="og:description" content="See my projects" />
<meta
Expand Down
1 change: 1 addition & 0 deletions src/pages/Work/projects/ProjectItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const ProjectItem = () => {
<Fragment>
<Helmet>
<title>{repoName} | itsrakesh</title>
<meta name="description" content={`See my ${repoName} project`} />
<meta property="og:title" content={repoName} />
<meta
property="og:description"
Expand Down

0 comments on commit 3229236

Please sign in to comment.