tweaked title and illustration styles

This commit is contained in:
Danny Coates 2019-02-28 15:53:13 -08:00
parent 7716ba6e77
commit 3bd2996c14
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
6 changed files with 120 additions and 242 deletions

View File

@ -7,13 +7,13 @@ module.exports = function(state) {
id="download-complete" id="download-complete"
class="flex flex-col items-center justify-center h-full w-full bg-white p-2" class="flex flex-col items-center justify-center h-full w-full bg-white p-2"
> >
<h1 class="text-center font-bold my-4 text-2xl"> <h1 class="text-center font-bold my-2">
${state.translate('downloadFinish')} ${state.translate('downloadFinish')}
</h1> </h1>
<p class="pb-2 text-grey-darkest leading-normal"> <p class="text-grey-darkest leading-normal">
${state.translate('downloadFinishText')} ${state.translate('downloadFinishText')}
</p> </p>
<img src="${assets.get('completed.svg')}" class="max-w-sm" /> <img src="${assets.get('completed.svg')}" class="my-12 h-48" />
<p class="mb-4"> <p class="mb-4">
<a href="/" class="btn rounded-lg flex items-center mt-4" role="button" <a href="/" class="btn rounded-lg flex items-center mt-4" role="button"
>${state.translate('sendYourFilesLink')}</a >${state.translate('sendYourFilesLink')}</a

View File

@ -6,25 +6,22 @@ module.exports = function(state, emit) {
return html` return html`
<main class="main"> <main class="main">
${state.modal && modal(state, emit)} ${state.modal && modal(state, emit)}
<div <section
class="flex flex-col items-center h-full w-full p-6 z-10 overflow-hidden md:rounded-lg md:shadow-big" class="flex flex-col items-center justify-center h-full w-full p-6 z-10 overflow-hidden md:rounded-lg md:shadow-big"
> >
<h1 class="text-center font-bold my-4 text-2xl"> <h1 class="text-center font-bold my-2">
${state.translate('errorPageHeader')} ${state.translate('errorPageHeader')}
</h1> </h1>
<p class="pb-2 max-w-md text-center text-grey-darkest leading-normal"> <p class="max-w-md text-center text-grey-darkest leading-normal">
${state.translate('uploadPageExplainer')} ${state.translate('uploadPageExplainer')}
</p> </p>
<img class="max-w-sm" src="${assets.get('error.svg')}" /> <img class="my-12 h-48" src="${assets.get('error.svg')}" />
<p class="mb-4"> <p class="">
<a <a href="/" class="btn rounded-lg flex items-center" role="button"
href="/"
class="btn rounded-lg flex items-center mt-4"
role="button"
>${state.translate('sendYourFilesLink')}</a >${state.translate('sendYourFilesLink')}</a
> >
</p> </p>
</div> </section>
</main> </main>
`; `;
}; };

View File

@ -9,7 +9,7 @@ module.exports = function(state, emit) {
<div <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 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"
> >
<h1 class="text-2xl text-center">${state.translate('legalHeader')}</h1> <h1 class="text-center">${state.translate('legalHeader')}</h1>
${raw( ${raw(
replaceLinks(state.translate('legalNoticeTestPilot'), [ replaceLinks(state.translate('legalNoticeTestPilot'), [
'https://testpilot.firefox.com/terms', 'https://testpilot.firefox.com/terms',

View File

@ -6,25 +6,22 @@ module.exports = function(state, emit) {
return html` return html`
<main class="main"> <main class="main">
${state.modal && modal(state, emit)} ${state.modal && modal(state, emit)}
<div <section
class="flex flex-col items-center h-full w-full p-6 z-10 overflow-hidden md:rounded-lg md:shadow-big" class="flex flex-col items-center justify-center h-full w-full p-6 z-10 overflow-hidden md:rounded-lg md:shadow-big"
> >
<h1 class="text-center font-bold my-4 text-2xl"> <h1 class="text-center font-bold my-2">
${state.translate('expiredPageHeaderUpdate')} ${state.translate('expiredPageHeaderUpdate')}
</h1> </h1>
<p class="pb-2 max-w-md text-center text-grey-darkest leading-normal"> <p class="max-w-md text-center text-grey-darkest leading-normal">
${state.translate('downloadFinishText')} ${state.translate('downloadFinishText')}
</p> </p>
<img src="${assets.get('notFound.svg')}" class="max-w-sm" /> <img src="${assets.get('notFound.svg')}" class="my-12" />
<p class="mb-4"> <p class="">
<a <a href="/" class="btn rounded-lg flex items-center" role="button"
href="/"
class="btn rounded-lg flex items-center mt-4"
role="button"
>${state.translate('sendYourFilesLink')}</a >${state.translate('sendYourFilesLink')}</a
> >
</p> </p>
</div> </section>
</main> </main>
`; `;
}; };

View File

@ -26,7 +26,7 @@ module.exports = function(state, emit) {
return html` return html`
<main class="main"> <main class="main">
${state.modal && modal(state, emit)} ${state.modal && modal(state, emit)}
<div <section
class="flex flex-col items-center justify-center text-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 justify-center text-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"
> >
<h1 class="">${strings.header}</h1> <h1 class="">${strings.header}</h1>
@ -35,7 +35,7 @@ module.exports = function(state, emit) {
<a href="${url}" class="btn rounded-lg mt-8 px-8"> <a href="${url}" class="btn rounded-lg mt-8 px-8">
${strings.button} ${strings.button}
</a> </a>
</div> </section>
</main> </main>
`; `;
}; };

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 34 KiB