diff --git a/src/components/Hero.astro b/src/components/Hero.astro index b3ebbb7..10831ee 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -3,17 +3,28 @@ import {type NameURLModel } from '@ts/Models'; interface Props { title: string; subtitle: string; + logo: string; parent?: NameURLModel; } -const { title, subtitle, parent } = Astro.props; +const { title, subtitle, parent, logo } = Astro.props; + +let photopath = logo && '/src/assets/'.concat(logo); + +import { Image } from 'astro:assets'; +const images = import.meta.glob<{ default: ImageMetadata }>('/src/assets/*.{jpeg,jpg,png,gif,svg}') + ---
-
- {"Logo +
+ {"Logo

{title}

diff --git a/src/components/Organization.astro b/src/components/Organization.astro index 3965f2c..87cbf74 100644 --- a/src/components/Organization.astro +++ b/src/components/Organization.astro @@ -2,31 +2,37 @@ import { Icon } from 'astro-icon/components' import AboutCard from '@components/AboutCard.astro' import markdownit from 'markdown-it' +import ImageBox from '@components/ImageBox.astro' const md = markdownit() import { type OrgModel } from '@ts/Models' interface Props { org: OrgModel; + logo: string; columns: boolean; } const iconSize = 20; -const { org, columns = true} = Astro.props; +const { org, logo, columns = true} = Astro.props; ---
- +
-

{org.name}

-

{org.subtitle}

- {org.parent && -

{org.parent.name}

- } +

{org.name}

+

{org.subtitle}

+ {org.parent && +

{org.parent.name}

+ }
diff --git a/src/config.json b/src/config.json index 52cdc73..be0bf62 100644 --- a/src/config.json +++ b/src/config.json @@ -1,7 +1,7 @@ { "name": "OGRAPHIES Research & Design", "corp_form": "LLC", - "logo": "logo.jpg", + "logo": "logo_medium.png", "subtitle": "When mapping matters.", "url": "https://ographiesresearch.com", "description": "[OGRAPHIES Research & Design](https://ographiesresearch.com) is a mission-driven GIS, mapping, and spatial data science consultancy based in Greater Boston that designs tools and analyzes problems for clients who are working towards a more just world. [OGRAPHIES](https://ographiesresearch.com) is not a traditional GIS consultancy. [OGRAPHIES](https://ographiesresearch.com) builds custom web applications, automates complex spatial workflows, and works to scale the complexity of our solutions to align with the capacity of our clients.", diff --git a/src/pages/about.astro b/src/pages/about.astro index 15edce2..fc97fdb 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -23,7 +23,7 @@ let clients = data.clients.sort((a,b) => (a.name > b.name) ? 1 : ((b.name > a.na
- +
diff --git a/src/pages/index.astro b/src/pages/index.astro index 851599b..f064bc1 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -10,6 +10,6 @@ const data:ConfigModel= dataRaw; import { ViewTransitions } from 'astro:transitions'; --- - + \ No newline at end of file diff --git a/src/sass/styles.scss b/src/sass/styles.scss index eea3287..af5a9ad 100644 --- a/src/sass/styles.scss +++ b/src/sass/styles.scss @@ -29,6 +29,14 @@ a.button { text-decoration-line: none; } +.image-shadow-danger { + filter: drop-shadow($shadow-offset $shadow-offset 0px $danger); +} + +.image-shadow-success { + filter: drop-shadow($shadow-offset $shadow-offset 0px $success); +} + .text-shadow-danger { text-shadow: $shadow-offset $shadow-offset $danger; }