feat: change logo and og
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
export function SEOHead({
|
||||
title,
|
||||
description,
|
||||
canonical,
|
||||
ogImage
|
||||
canonical,
|
||||
ogImage = ''
|
||||
}) {
|
||||
const siteUrl = 'https://aramland.approagency.ir/';
|
||||
|
||||
@@ -19,14 +19,14 @@ export function SEOHead({
|
||||
<meta property="og:title" content={title} />
|
||||
<meta property="og:description" content={description} />
|
||||
<meta property="og:url" content={`${siteUrl}${canonical}`} />
|
||||
<meta property="og:image" content={ogImage || `${siteUrl}/og-image.png`} />
|
||||
<meta property="og:image" content={ogImage || `${siteUrl}og-image.jpg`} />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:locale" content="fa_IR" />
|
||||
|
||||
{/* Twitter */}
|
||||
<meta name="twitter:title" content={title} />
|
||||
<meta name="twitter:description" content={description} />
|
||||
<meta name="twitter:image" content={ogImage || `${siteUrl}/og-image.png`} />
|
||||
<meta name="twitter:image" content={ogImage || `${siteUrl}og-image.jpg`} />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user