2018-11-12 20:13:31 +01:00
|
|
|
const html = require('choo/html');
|
|
|
|
const Component = require('choo/component');
|
2019-12-20 04:35:15 +01:00
|
|
|
/*const assets = require('../../common/assets');*/
|
2018-11-12 20:13:31 +01:00
|
|
|
|
|
|
|
class Promo extends Component {
|
2019-04-26 20:39:24 +02:00
|
|
|
constructor(name, state) {
|
2018-11-12 20:13:31 +01:00
|
|
|
super(name);
|
2019-04-26 20:39:24 +02:00
|
|
|
this.state = state;
|
2018-11-12 20:13:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
update() {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
createElement() {
|
|
|
|
return html`
|
2019-01-11 01:22:40 +01:00
|
|
|
<send-promo
|
2020-01-03 06:35:28 +01:00
|
|
|
class="send-promo w-full flex-row items-center content-center justify-center bg-white text-grey-80 px-4 flex border-b border-grey-banner leading-normal dark:bg-grey-90 dark:text-grey-20 dark:border-grey-80"
|
2019-12-20 04:35:15 +01:00
|
|
|
></send-promo>
|
2018-11-12 20:13:31 +01:00
|
|
|
`;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = Promo;
|