mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-15 07:32:48 +01:00
21 lines
644 B
JavaScript
21 lines
644 B
JavaScript
const html = require('choo/html');
|
|
const assets = require('../../common/assets');
|
|
|
|
module.exports = function intro(state) {
|
|
return html`
|
|
<send-intro
|
|
class="flex flex-col items-center justify-center bg-white px-6 md:py-0 py-6 mb-0 h-full w-full"
|
|
>
|
|
<div class="mt-12 flex flex-col h-full">
|
|
<h1 class="text-3xl font-bold md:pb-2">
|
|
${state.translate('introTitle')}
|
|
</h1>
|
|
<p class="max-w-sm leading-loose mt-6 md:mt-2 md:pr-14">
|
|
${state.translate('introDescription')}
|
|
</p>
|
|
<img class="intro" src="${assets.get('intro.svg')}" />
|
|
</div>
|
|
</send-intro>
|
|
`;
|
|
};
|