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