Skip to content

Commit

Permalink
test using square image for social preview
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Nov 13, 2023
1 parent 1978214 commit f00dd06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netlify/functions/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exports.handler = async function share(event) {
<head>
<link rel="stylesheet" type="text/css" href="/style.css"/>
<link rel="icon" type="image/png" href="/images/oso-golf-bear-no-bg.png">
<meta property="og:image" content="https://oso-golf.netlify.app/images/social.png"/>
<meta property="og:image" content="https://oso-golf.netlify.app/images/social2.png"/>
<meta property="og:title" content="${name}'s Oso Golf Scorecard"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://oso-golf.netlify.app"/>
Expand All @@ -57,7 +57,7 @@ exports.handler = async function share(event) {
<meta name="twitter:image:alt" content="${name}'s Oso Golf Scorecard">
<meta name="twitter:title" content="${name}'s Oso Golf Scorecard">
<meta name="twitter:description" content="Oso Golf is a logic game, similar to “Regex Golf”, that is designed to teach you authorization principles by completing permissions with as few objects as possible.">
<meta name="twitter:image" content="https://oso-golf.netlify.app/images/social.png">
<meta name="twitter:image" content="https://oso-golf.netlify.app/images/social2.png">
<title>${name}'s Oso Golf Scorecard</title>
</head>
Expand Down
Binary file added public/images/social2.png
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 f00dd06

Please sign in to comment.