meme component2
This commit is contained in:
parent
76a6c0441c
commit
20b7b24203
3 changed files with 8 additions and 2 deletions
4
homepages/meme/index.js
Normal file
4
homepages/meme/index.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
module.exports = {
|
||||||
|
text: `This is LBRY`,
|
||||||
|
url: 'https://odysee.com/@Odysee:8?view=discussion',
|
||||||
|
};
|
|
@ -1,11 +1,12 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Button from 'component/button';
|
import Button from 'component/button';
|
||||||
|
const memes = require('memes');
|
||||||
|
|
||||||
export default function Meme() {
|
export default function Meme() {
|
||||||
return (
|
return (
|
||||||
<h1 className="home__meme">
|
<h1 className="home__meme">
|
||||||
<Button button="link" href="https://odysee.com/@Odysee:8?view=discussion">
|
<Button button="link" href={memes.url}>
|
||||||
{'big gulps, huh?'}
|
{memes.text}
|
||||||
</Button>
|
</Button>
|
||||||
</h1>
|
</h1>
|
||||||
);
|
);
|
||||||
|
|
|
@ -77,6 +77,7 @@ let baseConfig = {
|
||||||
config: path.resolve(__dirname, 'config.js'),
|
config: path.resolve(__dirname, 'config.js'),
|
||||||
homepage: 'util/homepage.js',
|
homepage: 'util/homepage.js',
|
||||||
homepages: process.env.CUSTOM_HOMEPAGE === 'true' ? path.resolve(__dirname, 'custom/homepages/v2/index.js') : ('homepages/index.js'),
|
homepages: process.env.CUSTOM_HOMEPAGE === 'true' ? path.resolve(__dirname, 'custom/homepages/v2/index.js') : ('homepages/index.js'),
|
||||||
|
memes: process.env.CUSTOM_HOMEPAGE === 'true' ? path.resolve(__dirname, 'custom/homepages/meme/index.js') : path.resolve(__dirname, 'homepages/meme/index.js'),
|
||||||
lbryinc: 'lbryinc/dist/bundle.es.js',
|
lbryinc: 'lbryinc/dist/bundle.es.js',
|
||||||
// Build optimizations for 'redux-persist-transform-filter'
|
// Build optimizations for 'redux-persist-transform-filter'
|
||||||
'redux-persist-transform-filter': 'redux-persist-transform-filter/index.js',
|
'redux-persist-transform-filter': 'redux-persist-transform-filter/index.js',
|
||||||
|
|
Loading…
Reference in a new issue