intro.js 660 B

1234567891011121314151617181920
  1. const html = require('choo/html');
  2. const assets = require('../../common/assets');
  3. module.exports = function intro(state) {
  4. return html`
  5. <send-intro
  6. 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"
  7. >
  8. <div class="mt-12 flex flex-col h-full">
  9. <h1 class="text-3xl font-bold md:pb-2">
  10. ${state.translate('introTitle')}
  11. </h1>
  12. <p class="max-w-sm leading-loose mt-6 md:mt-2 md:pr-14">
  13. ${state.translate('introDescription')}
  14. </p>
  15. <img class="intro" src="${assets.get('intro.svg')}" />
  16. </div>
  17. </send-intro>
  18. `;
  19. };