added illustrations

This commit is contained in:
Danny Coates 2019-02-27 11:42:43 -08:00
parent f968083f74
commit 72ee9c13d2
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
7 changed files with 613 additions and 16 deletions

View file

@ -427,7 +427,7 @@ module.exports.empty = function(state, emit) {
>
${state.translate('uploadDropDragMessage')}
</div>
<div class="pb-6 text-center text-base">
<div class="pb-6 text-center text-base italic">
${state.translate('uploadDropButtonMessage')}
</div>
<input

View file

@ -1,6 +1,7 @@
/* global downloadMetadata */
const html = require('choo/html');
const archiveTile = require('./archiveTile');
const assets = require('../../common/assets');
const modal = require('./modal');
const notFound = require('./notFound');
@ -133,6 +134,7 @@ module.exports = function(state, emit) {
<p class="pb-2 text-grey-darkest leading-normal">
${state.translate('downloadFinishText')}
</p>
<img src="${assets.get('completed.svg')}" class="" />
<p class="mb-4">
<a
href="/"

View file

@ -7,18 +7,23 @@ module.exports = function(state, emit) {
<main class="main">
${state.modal && modal(state, emit)}
<div
class="flex flex-col items-center bg-white m-6 px-6 py-8 border border-grey-light md:border-none md:px-12 md:py-16 shadow w-full md:h-full"
class="flex flex-col items-center h-full w-full p-6 z-10 overflow-hidden md:rounded-lg md:shadow-big"
>
<h1 class="text-2xl text-center">
<h1 class="text-center font-bold my-4 text-2xl">
${state.translate('errorPageHeader')}
</h1>
<img class="my-16" src="${assets.get('illustration_error.svg')}" />
<p class="max-w-md leading-normal">
<p class="pb-2 max-w-md text-center text-grey-darkest leading-normal">
${state.translate('uploadPageExplainer')}
</p>
<a class="text-blue mt-10 font-medium" href="/">
${state.translate('sendYourFilesLink')}
</a>
<img class="" src="${assets.get('error.svg')}" />
<p class="mb-4">
<a
href="/"
class="btn rounded-lg flex items-center mt-4"
role="button"
>${state.translate('sendYourFilesLink')}</a
>
</p>
</div>
</main>
`;

View file

@ -7,19 +7,15 @@ module.exports = function(state, emit) {
<main class="main">
${state.modal && modal(state, emit)}
<div
class="flex flex-col items-center bg-white m-6 px-6 py-8 border border-grey-light md:border-none md:px-12 md:py-16 shadow w-full"
class="flex flex-col items-center h-full w-full p-6 z-10 overflow-hidden md:rounded-lg md:shadow-big"
>
<h1 class="text-2xl text-center">
<h1 class="text-center font-bold my-4 text-2xl">
${state.translate('expiredPageHeaderUpdate')}
</h1>
<img
class="my-16"
src="${assets.get('illustration_expired.svg')}"
id="expired-img"
/>
<p class="pb-2 text-grey-darkest">
<p class="pb-2 max-w-md text-center text-grey-darkest leading-normal">
${state.translate('downloadFinishText')}
</p>
<img src="${assets.get('notFound.svg')}" class="" />
<p class="mb-4">
<a
href="/"