{#if step === 1}

{#if country.trim()} Journal your trip to {country}! {:else} Journal your trip! {/if}

{#if errors.country}{errors.country}{/if}
{#if errors.cities}{errors.cities}{/if} {#if cities.length > 0}
{#each cities as c} {c} {/each}
{/if}
{#if errors.date}{errors.date}{/if}
{#if errors.days}{errors.days}{/if}
Who did you go with? *
{#each ['solo','friends','family'] as t} {/each}
{#if errors.tripType}{errors.tripType}{/if}
How did you get there? *
{#each transportOptions as opt} {/each}
{#if errors.transport}{errors.transport}{/if}
{:else if step === 2}

Photos

Optional — add photos from your trip

(photos = p)} /> {:else}

Your memories{cities.length > 0 ? ` of ${cities.join(', ')}` : country.trim() ? ` of ${country}` : ''}

{#if cities.length > 0 || country.trim()}

{cities.join(', ')}{cities.length > 0 && country.trim() ? `, ${country}` : country.trim()}

{/if} {#each questions as q, i}

{q}

{/each} {/if}