Skip to content

Commit

Permalink
Add google-site-verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Skolaczk committed Dec 29, 2022
1 parent 86d51d3 commit a4f558a
Show file tree
Hide file tree
Showing 9 changed files with 99 additions and 19 deletions.
10 changes: 6 additions & 4 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ require('dotenv').config({

module.exports = {
siteMetadata: {
title: 'Michał Skolak - Portfolio',
description: 'It is my portfolio page.',
title: 'Michał Skolak | Front-end developer | Portfolio',
description:
'I am Michał, and it is my portfolio page. I am 16 years old and I have been learning programming for 2 years to become a front-end developer in the future',
author: 'Michał Skolak',
keywords: 'Michał Skolak, Portfolio, Front-end developer',
siteUrl: 'https://michalskolak.com',
keywords: 'Michał Skolak,Front-end developer,Portfolio',
siteUrl: 'https://michalskolak.netlify.app/',
googleSiteVerification: 'LC8BEcTgSAYqz7TbnHAq6oPVAYTScpcp-oxAZf-J4Wg',
},
plugins: [
{
Expand Down
17 changes: 14 additions & 3 deletions src/components/Footer/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,37 @@ const Footer = () => {
<ul>
<li>
<a
title='Linkedin'
href='https://www.linkedin.com/in/micha%C5%82-skolak-06905524b/'
aria-label='linkedin'
>
<LinkedinIcon />
</a>
</li>
<li>
<a href='mailto: skolakmichal1@gmail.com' aria-label='email'>
<a
title='Email'
href='mailto: skolakmichal1@gmail.com'
aria-label='email'
>
<EmailIcon />
</a>
</li>
<li>
<a href='https://github.com/Skolaczk' aria-label='github'>
<a
title='Github'
href='https://github.com/Skolaczk'
aria-label='github'
>
<GithubIcon />
</a>
</li>
</ul>
<p>
© Copyright 2022. Created by{' '}
<a href='https://github.com/Skolaczk'>Michał Skolak</a>
<a title='Michał Skolak - Github' href='https://github.com/Skolaczk'>
Michał Skolak
</a>
</p>
</StyledFooter>
);
Expand Down
7 changes: 6 additions & 1 deletion src/components/Navigation/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Navigation = () => {
isOpen={isOpen}
scrollPosition={scrollPosition}
>
<a href='#home' aria-label='Scroll to hero'>
<a title='home' href='#home' aria-label='Scroll to hero'>
<Logo />
</a>
<BurgerButton
Expand All @@ -76,6 +76,7 @@ const Navigation = () => {
<ul>
<li>
<a
title='Home'
onClick={!matchMedia ? toggleNavigation : null}
tabIndex={
!isOpen && !matchMedia && matchMedia !== null ? '-1' : ''
Expand All @@ -87,6 +88,7 @@ const Navigation = () => {
</li>
<li>
<a
title='About me'
onClick={!matchMedia ? toggleNavigation : null}
tabIndex={
!isOpen && !matchMedia && matchMedia !== null ? '-1' : ''
Expand All @@ -98,6 +100,7 @@ const Navigation = () => {
</li>
<li>
<a
title='Projects'
onClick={!matchMedia ? toggleNavigation : null}
tabIndex={
!isOpen && !matchMedia && matchMedia !== null ? '-1' : ''
Expand All @@ -109,6 +112,7 @@ const Navigation = () => {
</li>
<li>
<a
title='Contact'
onClick={!matchMedia ? toggleNavigation : null}
tabIndex={
!isOpen && !matchMedia && matchMedia !== null ? '-1' : ''
Expand All @@ -120,6 +124,7 @@ const Navigation = () => {
</li>
</ul>
<StyledSmallLink
title='Github'
tabIndex={!isOpen && !matchMedia && matchMedia !== null ? '-1' : ''}
href='https://github.com/Skolaczk'
>
Expand Down
35 changes: 35 additions & 0 deletions src/components/SEO/SEO.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@ export const SEO = ({ title, description }) => {
description: defaultDescription,
author,
keywords,
googleSiteVerification,
siteUrl,
} = site.siteMetadata;

const seo = {
title: title || defaultTitle,
description: description || defaultDescription,
type: 'website',
image: 'src/assets/icons/logo.svg',
twitterCard: 'summary_large_image',
author,
keywords,
googleSiteVerification,
siteUrl,
};

return (
Expand All @@ -29,6 +36,34 @@ export const SEO = ({ title, description }) => {
<meta name='description' content={seo.description} />
<meta name='keywords' content={seo.keywords} />
<meta name='author' content={seo.author} />
<meta property='og:type' content={seo.type} />
<meta property='og:image' content={seo.image} />
<meta property='og:title' content={seo.title} />
<meta property='og:description' content={seo.description} />
<meta property='og:url' content={seo.siteUrl} />
<meta name='twitter:card' content={seo.twitterCard} />
<meta name='twitter:creator' content={seo.author} />
<meta name='twitter:title' content={seo.title} />
<meta name='twitter:description' content={seo.description} />
<meta
name='google-site-verification'
content={seo.googleSiteVerification}
/>
<script type='application/ld+json'>
{`
{
"@context": "https://schema.org",
"@type": "${seo.type}",
"url": "${seo.siteUrl}",
"name": "${seo.title}",
"contactPoint": {
"@type": "ContactPoint",
"email": "skolakmichal1@gmail.com",
"contactType": "User Support"
}
}
`}
</script>
</Helmet>
);
};
Expand Down
1 change: 1 addition & 0 deletions src/hooks/useData.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const useData = () => {
keywords
siteUrl
title
googleSiteVerification
}
}
}
Expand Down
21 changes: 17 additions & 4 deletions src/templates/AboutMe/AboutMe.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,27 @@ const AboutMe = () => {
</AboutMeContent>
<AboutMeContent>
Now, I&apos;m still learning and creating projects that you can see
in the <a href='#projects'>projects</a> section or on {' '}
<a href='https://github.com/Skolaczk?tab=repositories'>Github</a> to become a junior
front-end developer in the future.
in the{' '}
<a title='Projects' href='#projects'>
projects
</a>{' '}
section or on{' '}
<a
title='Github projects'
href='https://github.com/Skolaczk?tab=repositories'
>
Github
</a>{' '}
to become a junior front-end developer in the future.
</AboutMeContent>
<AboutMeContent>
I&apos;m open to Job opportunities where I can contribute, learn and
grow. If you have a good opportunity that matches my skills and
experience then don&apos;t hesitate to <a href='#contact'>contact me</a>.
experience then don&apos;t hesitate to{' '}
<a title='Contact' href='#contact'>
contact me
</a>
.
</AboutMeContent>
</div>
<Wrapper>
Expand Down
11 changes: 7 additions & 4 deletions src/templates/Hero/Hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Hero = () => {
stagger: 0.1,
duration: 1,
delay: 0.25,
},
}
);
}, []);

Expand All @@ -29,10 +29,13 @@ const Hero = () => {
<h2>Junior front-end developer.</h2>
<HeroContent>
I&apos;m 16 years old and I&apos;ve been learning programming for almost
two years. I&apos;m still learning to find a job as a front-end developer
in the future. Programming is my passion, so I try to devote every free moment to it.
two years. I&apos;m still learning to find a job as a front-end
developer in the future. Programming is my passion, so I try to devote
every free moment to it.
</HeroContent>
<StyledLink href='#projects'>Check out my projects!</StyledLink>
<StyledLink title='Projects' href='#projects'>
Check out my projects!
</StyledLink>
</HeroWrapper>
);
};
Expand Down
13 changes: 10 additions & 3 deletions src/templates/Projects/Projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,14 @@ const Projects = () => {
<li key={tech}>{tech}</li>
))}
</ul>
<a href={githubLink} aria-label='github'>
<a title='Github' href={githubLink} aria-label='github'>
<GithubIcon />
</a>
<a href={previewLink} aria-label='preview'>
<a
title='Preview project'
href={previewLink}
aria-label='preview'
>
<PreviewLinkIcon />
</a>
<button
Expand All @@ -120,7 +124,10 @@ const Projects = () => {
)
)}
</Wrapper>
<StyledCenterLink href='https://github.com/Skolaczk?tab=repositories'>
<StyledCenterLink
title='Github projects'
href='https://github.com/Skolaczk?tab=repositories'
>
More projects
</StyledCenterLink>
</SectionWrapper>
Expand Down
3 changes: 3 additions & 0 deletions static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *

Sitemap: https://michalskolak.netlify.app/sitemap/sitemap-index.xml

0 comments on commit a4f558a

Please sign in to comment.