Set relative paths within Svelte, as well

Apologies for the bits and pieces 😛
This commit is contained in:
Badri Sunderarajan 2021-06-05 00:09:03 +05:30
parent 0ed5d0158f
commit 96f07aa6b7
1 changed files with 3 additions and 3 deletions

View File

@ -291,7 +291,7 @@
<main>
{#if step < 4}
<img src="/assets/email-baker.png" class="main-pic" alt="Email Oven"/>
<img src="assets/email-baker.png" class="main-pic" alt="Email Oven"/>
<h1>Chip <span class="highlight">Choc</span></h1>
<h2>Cookie-cutter emails made easy.</h2>
@ -384,7 +384,7 @@
{/if}
{#if step == 4}
<img src="/assets/email-baking.png" class="main-pic" alt="Email Oven with cookies inside"/>
<img src="assets/email-baking.png" class="main-pic" alt="Email Oven with cookies inside"/>
<h1><span class={emailsSoFar % 2 == 0 ? 'highlight' : ''}>Chip</span> <span class={emailsSoFar % 2 == 0 ? '' : 'highlight'}>Choc</span></h1>
<h2>Your cookies are being cut...</h2>
<progress value={emailsSoFar} max={emailsToSend}>{emailsToSend ? emailsSoFar/emailsToSend*100 : 0} %</progress>
@ -403,7 +403,7 @@
{/if}
{#if step == 5}
<img src="/assets/cookies.png" class="main-pic" alt="A Pile of Cookies"/>
<img src="assets/cookies.png" class="main-pic" alt="A Pile of Cookies"/>
<h1>Wheee<span class="highlight">!</span></h1>
<h2>All emails sent successfully.</h2>
<button on:click={stepTwo}>Back to Draft</button>