Skip to content

Commit

Permalink
Website: social card
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Oct 11, 2023
1 parent badf370 commit 73ec5f3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Binary file added website/public/social-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions website/theme.config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,24 @@ export default {
if (asPath.length > 1) {
return {
titleTemplate: '%s – Bref',
openGraph: {
images: [
{
url: '/social-card.png',
},
],
},
};
} else {
return {
titleTemplate: 'Bref – Simple and scalable PHP with serverless',
openGraph: {
images: [
{
url: '/social-card.png',
},
],
},
};
}
},
Expand Down Expand Up @@ -51,6 +65,7 @@ export default {
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-152x152.png" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="Bref" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:creator" content="@brefphp" />
<meta name="google-site-verification" content="RRmKDrWI2l69B0nMwv4ndrYOHSuaTBfarvCgtJxMpXA" />
</>
Expand Down

0 comments on commit 73ec5f3

Please sign in to comment.