chore: update PageMetadata default image
This commit is contained in:
parent
c161d3d473
commit
3efb3a6a18
|
@ -13,7 +13,7 @@ export const PageMetadata: React.FC<Props> = ({ title, description, image }) =>
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const url = `${SITE_URL}${router.asPath}`;
|
const url = `${SITE_URL}${router.asPath}`;
|
||||||
const fullTitle = `${title} | ${SITE_NAME}`;
|
const fullTitle = `${title} | ${SITE_NAME}`;
|
||||||
const defaultOgImage = `${SITE_URL}/images/pages/gopher-downloads-front-light.svg`; // TODO: update with right image
|
const defaultOgImage = `${SITE_URL}/images/metadata-gopher.png`;
|
||||||
const ogImage = !image ? defaultOgImage : `${SITE_URL}${image}`;
|
const ogImage = !image ? defaultOgImage : `${SITE_URL}${image}`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue