Skip to content

Commit

Permalink
separate image for tech
Browse files Browse the repository at this point in the history
  • Loading branch information
rnewstead1 committed Aug 23, 2023
1 parent 1d29507 commit 7bbdde5
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 10 deletions.
34 changes: 27 additions & 7 deletions src/components/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,45 @@ function SEO({ description, lang, meta, title, imageShare }) {
titleTemplate={`%s | ${site.siteMetadata.title}`}
meta={[
{
name: `description`,
name: 'description',
content: metaDescription,
},
{
property: `og:title`,
property: 'og:title',
content: title,
},
{
property: `og:description`,
property: 'og:description',
content: metaDescription,
},
{
property: `og:type`,
content: `website`,
property: 'og:type',
content: 'website',
},
{
property: `og:image`,
property: 'og:image',
content: `${site.siteMetadata.siteUrl}${imageShare}`,
}
},
{
name: 'twitter:card',
content: 'summary',
},
{
name: 'twitter:creator',
content: site.siteMetadata.author,
},
{
name: 'twitter:title',
content: title,
},
{
name: 'twitter:description',
content: metaDescription,
},
{
name: 'twitter:image',
content: `${site.siteMetadata.siteUrl}${imageShare}`,
},
].concat(meta)}
link={[
{ rel: 'shortcut icon', type: 'image/png', href: `${favicon}` }
Expand Down
3 changes: 1 addition & 2 deletions src/pages/cv.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React from "react"
import Layout from "../components/layout"
import SEO from "../components/seo"

const CvPage = ({}) => {
return (
<>
<SEO title="CV" />
<SEO title="CV" imageShare="/RachelNormand.jpeg" />
<div style={{
margin: `0 auto`,
maxWidth: 960,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tech.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const TechPostsPage = ({

return (
<Layout>
<SEO title="Tech stuff" />
<SEO title="Tech stuff" imageShare="/RachelNormand.jpeg" />
<div>
<div className="home-container-two-column" style={{ 'border-bottom': '1px dotted gray' }}>
<div className="left-panel">
Expand Down
Binary file added static/RachelNormand.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7bbdde5

Please sign in to comment.