[FE] Add og image

This commit is contained in:
SA K
2022-12-09 15:59:52 +09:00
parent 398c583116
commit d0ffe58d5a
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
<meta property="og:title" content="Vanilla Meta" />
<meta property="og:description" content="최신 엔터프라이즈용 비즈니스 인텔리전스 웹 애플리케이션, Vanilla Meta" />
<meta property="og:image" content="%PUBLIC_URL%/static/images/logo/logo.svg" />
<meta property="og:image" content="%PUBLIC_URL%/static/images/logo/vanillaMeta-og.jpg" />
<meta property="og:url" content="https://vanillameta.net" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Vanilla Meta" />
@@ -18,12 +18,12 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Vanilla Meta" />
<meta property="twitter:image" content="%PUBLIC_URL%/static/images/logo/logo.png" />
<meta property="twitter:image" content="%PUBLIC_URL%/static/images/logo/vanillaMeta-og.jpg" />
<meta name="twitter:site" content="https://vanillameta.net" />
<meta name="twitter:description" content="최신 엔터프라이즈용 비즈니스 인텔리전스 웹 애플리케이션, Vanilla Meta" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/static/images/logo/logo.svg" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/images/logo/vanillaMeta-og.jpg" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
</head>

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

View File

@@ -6,7 +6,7 @@ const Seo = props => {
const {
title = 'Vanilla Meta',
description = '최신 엔터프라이즈용 비즈니스 인텔리전스 웹 애플리케이션, Vanilla Meta',
image = `${ROUTE_URL}/static/images/logo/logo.svg`,
image = `${ROUTE_URL}/static/images/logo/vanillaMeta-og.jpg`,
url = ROUTE_URL,
} = props;
const titleText = title === 'Vanilla Meta' ? 'Vanilla Meta' : title + ' - Vanilla Meta';