mirror of
https://github.com/smyalygames/anthonyberg-website.git
synced 2025-12-21 20:08:47 +01:00
feat(meta): update metadata image and twitter site
This commit is contained in:
@@ -3,9 +3,9 @@ import { Analytics } from '@vercel/analytics/react';
|
|||||||
|
|
||||||
export default function Document() {
|
export default function Document() {
|
||||||
const meta = {
|
const meta = {
|
||||||
title: 'Anthony Berg Portfolio',
|
title: 'Anthony Berg\'s Portfolio',
|
||||||
description: 'My own personal portfolio including for my own projects related to computer science',
|
description: 'My own personal portfolio including for my own projects related to computer science',
|
||||||
image: 'https://assets.vercel.com/image/upload/q_auto/front/vercel/dps.png',
|
image: '/images/kgxtunnel.jpg',
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -18,7 +18,7 @@ export default function Document() {
|
|||||||
<meta property="og:title" content={meta.title} />
|
<meta property="og:title" content={meta.title} />
|
||||||
<meta property="og:image" content={meta.image} />
|
<meta property="og:image" content={meta.image} />
|
||||||
<meta name="twitter:card" content="summary_large_image" />
|
<meta name="twitter:card" content="summary_large_image" />
|
||||||
<meta name="twitter:site" content="@yourname" />
|
{/*<meta name="twitter:site" content="@yourname" />*/}
|
||||||
<meta name="twitter:title" content={meta.title} />
|
<meta name="twitter:title" content={meta.title} />
|
||||||
<meta name="twitter:description" content={meta.description} />
|
<meta name="twitter:description" content={meta.description} />
|
||||||
<meta name="twitter:image" content={meta.image} />
|
<meta name="twitter:image" content={meta.image} />
|
||||||
|
|||||||
BIN
public/images/kgxtunnel.jpg
Normal file
BIN
public/images/kgxtunnel.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
Reference in New Issue
Block a user