2018-10-30 02:06:15 +00:00
|
|
|
const html = require('choo/html');
|
|
|
|
const assets = require('../../common/assets');
|
|
|
|
|
|
|
|
module.exports = function intro(state) {
|
|
|
|
return html`
|
2019-02-14 17:33:49 +00:00
|
|
|
<send-intro
|
2019-02-15 00:16:30 +00:00
|
|
|
class="flex flex-col items-center justify-center bg-white px-6 md:py-0 py-6 mb-0 h-full w-full"
|
2019-02-14 17:33:49 +00:00
|
|
|
>
|
2019-03-07 19:17:27 +00:00
|
|
|
<div class="mt-12 flex flex-col h-full">
|
2019-02-14 20:23:27 +00:00
|
|
|
<h1 class="font-bold">
|
2019-03-04 22:13:18 +00:00
|
|
|
${state.translate('introTitle')}
|
2019-02-14 17:33:49 +00:00
|
|
|
</h1>
|
2019-03-08 21:04:46 +00:00
|
|
|
<p class="max-w-sm leading-normal mt-6 md:mt-2 md:pr-16">
|
2019-03-04 22:13:18 +00:00
|
|
|
${state.translate('introDescription')}
|
2019-02-14 17:33:49 +00:00
|
|
|
</p>
|
2019-02-15 00:16:30 +00:00
|
|
|
<img class="intro" src="${assets.get('intro.svg')}" />
|
2019-02-14 17:33:49 +00:00
|
|
|
</div>
|
|
|
|
</send-intro>
|
|
|
|
`;
|
2018-10-30 02:06:15 +00:00
|
|
|
};
|