From c00c67c1bf9a57254b03105f2298889d50dbe200 Mon Sep 17 00:00:00 2001 From: Eric Robsky Huntley Date: Thu, 29 Feb 2024 17:00:20 -0500 Subject: [PATCH 1/3] add address 2 and link styling --- src/components/Footer.astro | 1 + src/components/Organization.astro | 2 ++ src/sass/styles.scss | 9 +++++++++ 3 files changed, 12 insertions(+) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 2a85da6..1dd635a 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -43,6 +43,7 @@ const { navItems } = Astro.props;
  • {data.email && {data.email}}
  • {data.phone && {data.phone}}
  • {data.office.address}
  • +
  • {data.office.address2}
  • {data.office.city}, {data.office.state} {data.office.postal}
  • diff --git a/src/components/Organization.astro b/src/components/Organization.astro index c9cebdf..3d00f7b 100644 --- a/src/components/Organization.astro +++ b/src/components/Organization.astro @@ -14,6 +14,7 @@ interface Props { description?: string; office?: { address?: string; + address2?: string; city?: string; state?: string; postal?: string; @@ -41,6 +42,7 @@ const { org, columns = true} = Astro.props;
  • {org.email && {org.email}}
  • {org.phone && {org.phone}}
  • {org.office.address}
  • +
  • {org.office.address2}
  • {org.office.city}, {org.office.state} {org.office.postal}
  • diff --git a/src/sass/styles.scss b/src/sass/styles.scss index 8987f8a..806b2e9 100644 --- a/src/sass/styles.scss +++ b/src/sass/styles.scss @@ -20,6 +20,15 @@ } } +a { + text-decoration-line: underline; + text-decoration-style: dashed; +} + +a.button { + text-decoration-line: none; +} + .text-shadow-danger { text-shadow: $shadow-offset $shadow-offset $danger; } From 681ad053f2a6c40d781cc102a59a2df2e79cfd4a Mon Sep 17 00:00:00 2001 From: Eric Robsky Huntley Date: Thu, 29 Feb 2024 17:52:29 -0500 Subject: [PATCH 2/3] add pitch to globe --- src/components/Globe.astro | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Globe.astro b/src/components/Globe.astro index 511f6a8..9fa4658 100644 --- a/src/components/Globe.astro +++ b/src/components/Globe.astro @@ -6,11 +6,12 @@ interface Props { zoom: number; mapstyle: string; bearing: number; + pitch?: number; accesstoken: string; interactive?: boolean; sec?: number; } -const { lng, lat, zoom, mapstyle, bearing, accesstoken, interactive = false, sec} = Astro.props; +const { lng, lat, zoom, mapstyle, bearing, pitch, accesstoken, interactive = false, sec} = Astro.props; --- @@ -22,6 +23,7 @@ const { lng, lat, zoom, mapstyle, bearing, accesstoken, interactive = false, sec data-zoom={zoom} data-mapstyle={mapstyle} data-bearing={bearing} + data-pitch={pitch} data-accesstoken={accesstoken} data-interactive={interactive} data-sec={sec} @@ -39,6 +41,7 @@ const { lng, lat, zoom, mapstyle, bearing, accesstoken, interactive = false, sec center: [this.dataset.lng, this.dataset.lat], interactive: this.dataset.interactive, bearing: this.dataset.bearing, + pitch: this.dataset.pitch, zoom: this.dataset.zoom, style: this.dataset.mapstyle }) @@ -59,7 +62,7 @@ const { lng, lat, zoom, mapstyle, bearing, accesstoken, interactive = false, sec