drop.chapril.org-firefoxsend/app/ui/intro.js

19 lines
550 B
JavaScript
Raw Normal View History

2018-10-30 03:06:15 +01:00
const html = require('choo/html');
module.exports = function intro(state) {
return html`
2019-02-14 18:33:49 +01:00
<send-intro
2019-09-09 19:34:55 +02:00
class="flex flex-col items-center justify-center bg-white px-6 md:py-0 py-6 mb-0 h-full w-full dark:bg-grey-90"
2019-02-14 18:33:49 +01:00
>
2019-03-07 20:17:27 +01:00
<div class="mt-12 flex flex-col h-full">
2019-06-14 20:30:43 +02:00
<h1 class="text-3xl font-bold md:pb-2">
${state.translate('introTitle')}
2019-02-14 18:33:49 +01:00
</h1>
2019-05-03 18:26:10 +02:00
<p class="max-w-sm leading-loose mt-6 md:mt-2 md:pr-14">
${state.translate('introDescription')}
2019-02-14 18:33:49 +01:00
</p>
</div>
</send-intro>
`;
2018-10-30 03:06:15 +01:00
};