use meme component

This commit is contained in:
zeppi 2021-07-19 13:58:40 -04:00 committed by jessopb
parent 75a6ea21a5
commit 90e2a225e4
2 changed files with 17 additions and 1 deletions

View file

@ -16,6 +16,7 @@ import { GetLinksData } from 'util/buildHomepage';
// @if TARGET='web'
import Pixel from 'web/component/pixel';
import Meme from 'web/component/meme';
// @endif
type Props = {
@ -141,12 +142,15 @@ function HomePage(props: Props) {
</p>
</div>
)}
{/* @if TARGET='web' */}
{SIMPLE_SITE && <Meme />}
{/* @endif */}
{rowData.map(({ title, route, link, icon, help, pinUrls, options = {} }, index) => {
// add pins here
return getRowElements(title, route, link, icon, help, options, index, pinUrls);
})}
{/* @if TARGET='web' */}
<Pixel type={'retargeting'} />
<Pixel type={'retargeting'} />
{/* @endif */}
</Page>
);

12
web/component/meme.jsx Normal file
View file

@ -0,0 +1,12 @@
import React from 'react';
import Button from 'component/button';
export default function Meme() {
return (
<h1 className="home__meme">
<Button button="link" href="https://odysee.com/@Odysee:8?view=discussion">
{'big gulps, huh?'}
</Button>
</h1>
);
}