diff --git a/src/components/employee.svelte b/src/components/employee.svelte index 83ce2b1c..69c01f25 100644 --- a/src/components/employee.svelte +++ b/src/components/employee.svelte @@ -3,6 +3,7 @@ import LinkedinLogo from 'phosphor-svelte/lib/LinkedinLogo'; import Image from '$components/image.svelte'; import { JsonLd } from 'svelte-meta-tags'; + import type { Picture } from 'vite-imagetools'; export let givenName: string; export let familyName: string; @@ -16,9 +17,8 @@ }; export let socialMedia: socialMedia[] = []; - // TODO: Use Picture type from components/image.svelte - // eslint-disable-next-line @typescript-eslint/no-explicit-any - export let image: any; + export let image: Picture; + export let photographerName: string | undefined = undefined; const name = `${givenName} ${familyName}`; @@ -44,6 +44,20 @@ }} /> + +
diff --git a/src/components/employees.svelte b/src/components/employees.svelte index 8d3c6be0..d9e41498 100644 --- a/src/components/employees.svelte +++ b/src/components/employees.svelte @@ -22,6 +22,7 @@ { type: 'linkedin', url: 'https://www.linkedin.com/in/thomasbrustad/' }, { type: 'github', url: 'https://github.com/HanBrustad' } ]} + photographerName="Steffen Normark" />