Skip to content

Commit

Permalink
fix: preview
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdy committed Nov 22, 2023
1 parent b80e307 commit f9cb16a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
content="Wonderland is the largest core development group in Web3. We partner up with the best protocols in the world, including, among others: Optimism, Connext, and Reflexer."
/>
<meta name="author" content="Wonderland" />
<meta property="og:url" content="https://defi.sucks" />
<!-- <meta property="og:url" content="https://defi.sucks" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Wonderland" />
<meta
property="og:description"
content="Wonderland is the largest core development group in Web3. We partner up with the best protocols in the world, including, among others: Optimism, Connext, and Reflexer."
/>
<meta property="og:image" content="https://defi.sucks/share.jpg" />
<meta property="og:image" content="https://defi.sucks/share.jpg" /> -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@DeFi_wonderlnad" />
<meta name="twitter:creator" content="@DeFi_wonderland" />
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/DocumentHead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export const DocumentHead = ({ name, description, image }: Props) => {
return (
<Helmet>
<title>{name} - Wonderland</title>
{description && <meta name='description' content={description} />}

<meta property='og:url' content={`https://defi.sucks${location.pathname}`} />
<meta property='og:title' content={`${name} - Wonderland`} />

{description && <meta name='description' content={description} />}
{description && <meta property='og:description' content={description} />}
{image && <meta property='og:image' content={`https://defi.sucks/${image}`} />}
</Helmet>
Expand Down
8 changes: 7 additions & 1 deletion src/pages/Landing/Intro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styled from 'styled-components';
import { Footer, Navbar, StarsBackground } from '~/containers';
import { Landing } from './Landing';
import { Intro } from './IntroMask/Intro';
import { MOBILE_MAX_WIDTH } from '~/components/common';
import { DocumentHead, MOBILE_MAX_WIDTH } from '~/components/common';
import { useStateContext } from '~/hooks/useStateContext';

export interface StyledContainerProps {
Expand All @@ -26,6 +26,12 @@ export function IntroductionPage() {

return (
<>
<DocumentHead
name='Wonderland'
description='Wonderland is the largest core development group in Web3. We partner up with the best protocols in the world, including, among others: Optimism, Connext, and Reflexer.'
image={`share.jpg`}
/>

{isLoaded && (
<>
<StarsBackground zIndex={isIntroLoaded ? 0 : 10} />
Expand Down

0 comments on commit f9cb16a

Please sign in to comment.