From f4dead26c92e2ef6be45af0eb56d12bb3a00d983 Mon Sep 17 00:00:00 2001 From: secondl1ght <85003930+secondl1ght@users.noreply.github.com> Date: Sat, 24 Sep 2022 22:20:18 -0600 Subject: lots of style updates after design review, bug fixes, and more improve --- src/components/About.svelte | 12 ++++++------ src/components/AppHeader.svelte | 8 ++++---- src/components/LandingHero.svelte | 2 +- src/components/LocationsMap.svelte | 11 ++++++++++- src/components/Quote.svelte | 19 ++++++++++--------- 5 files changed, 31 insertions(+), 21 deletions(-) (limited to 'src/components') diff --git a/src/components/About.svelte b/src/components/About.svelte index 9857aa92..cf45a253 100644 --- a/src/components/About.svelte +++ b/src/components/About.svelte @@ -42,22 +42,22 @@

{$t('about.header')}

{@html $t('about.p1')}

+

+ {@html $t('about.p2')} +

{@html $t('about.p3')}

-

- {@html $t('about.p4')} -

-
+

{$t('about.team.header')}

@@ -97,7 +97,7 @@
-
+

{$t('about.locations.header')}

{@html $t('about.locations.description')} diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte index 04426bd3..f0272fe1 100644 --- a/src/components/AppHeader.svelte +++ b/src/components/AppHeader.svelte @@ -116,20 +116,20 @@ {#if $subject?.profile}

{:else}
- +
{/if} diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte index 6fcaf075..466a6194 100644 --- a/src/components/LandingHero.svelte +++ b/src/components/LandingHero.svelte @@ -8,7 +8,7 @@

{$t('landing.header_before_icon')} diff --git a/src/components/LocationsMap.svelte b/src/components/LocationsMap.svelte index b1d9ce55..2227a831 100644 --- a/src/components/LocationsMap.svelte +++ b/src/components/LocationsMap.svelte @@ -9,7 +9,7 @@ if (browser) { const leaflet = await import('leaflet'); - map = leaflet.map(mapElement).setView([49.267265, -123.1491965], 13); + map = leaflet.map(mapElement, { attributionControl: false }).setView([0, 0], 0); const myCustomColour = 'orange'; @@ -76,6 +76,15 @@ .bindPopup(location.info) ._icon.classList.add('huechange'); }); + + map.fitBounds([ + [locations[0].lat, locations[0].long], + [locations[1].lat, locations[1].long], + [locations[2].lat, locations[2].long], + [locations[3].lat, locations[3].long], + [locations[4].lat, locations[4].long], + [locations[5].lat, locations[5].long] + ]); } }); diff --git a/src/components/Quote.svelte b/src/components/Quote.svelte index 23094325..1e099061 100644 --- a/src/components/Quote.svelte +++ b/src/components/Quote.svelte @@ -1,10 +1,11 @@ + aria-hidden="true" + class="w-10 h-10 text-gray-400 dark:text-gray-600" + viewBox="0 0 24 27" + fill="none" + xmlns="http://www.w3.org/2000/svg" + > -- cgit v1.2.3