Skip to content

Commit

Permalink
fix: update seo meta tags (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzkirstein authored Jan 9, 2025
1 parent cb63d15 commit bf22dda
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/components/@shared/Page/Seo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ export default function Seo({

<title>{pageTitle}</title>

{isBrowser &&
window?.location?.hostname !== 'market.oceanprotocol.com' && (
<meta name="robots" content="noindex,nofollow" />
)}
{isBrowser && window?.location?.hostname !== 'portal.pontus-x.eu' && (
<meta name="robots" content="noindex,nofollow" />
)}

<link rel="canonical" href={canonical} />
<link rel="icon" href="/favicon.ico" sizes="any" />
Expand Down Expand Up @@ -65,10 +64,9 @@ export default function Seo({
/>

<meta property="og:site_name" content={siteContent?.siteTitle} />
{isBrowser &&
window?.location?.hostname === 'market.oceanprotocol.com' && (
<meta name="twitter:creator" content="@oceanprotocol" />
)}
{isBrowser && window?.location?.hostname === 'portal.pontus-x.eu' && (
<meta name="twitter:creator" content="@deltaDAO" />
)}
<meta name="twitter:card" content="summary_large_image" />

{datasetSchema && (
Expand Down

0 comments on commit bf22dda

Please sign in to comment.