Skip to content

Commit

Permalink
fix: meta 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mrskiro committed Dec 31, 2023
1 parent 967f150 commit 49e1cfa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/meta/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type Props = {
export const Meta = (props: Props) => {
const og = `https://og-image-eta-sable.vercel.app/${encodeURIComponent(
props.title
)}.png`
)}`

const router = useRouter()
const url = `https://mrskiro.dev${router.asPath}`
Expand All @@ -29,8 +29,10 @@ export const Meta = (props: Props) => {
<meta name="description" content={props.description} />
)}

<meta name="twitter:card" content="summary" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content={props.title} />
<meta name="twitter:image" content={og} />

<meta property="og:url" content={url} />
<meta property="og:title" content={props.title} />
<meta property="og:type" content={props.ogType} />
Expand Down

1 comment on commit 49e1cfa

@vercel
Copy link

@vercel vercel bot commented on 49e1cfa Dec 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mrskiro – ./

mrskiro-mrskiro.vercel.app
mrskiro.dev
www.mrskiro.dev
mrskiro-git-main-mrskiro.vercel.app

Please sign in to comment.