blob: 12e068fe3c409b07b2e79c165bc88b47b159a544 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<script>
import DirectionCard from '../../components/DirectionCard.svelte';
import { people } from '$lib/data/people';
</script>
<div>
<h1 class="text-center">Our Team.</h1>
{#if people.length}
{#each people as person, i (person.email)}
<div class="row border-bottom">
<DirectionCard
imageSpec={{ image: person.image, alt: person.name }}
direction={i % 2 ? 'left' : 'right'}
>
<h2>{person.name}, {person.position}</h2>
<a href="mailto:{person.email}"><p>{person.email}</p></a>
<p style="white-space: pre-line">{person.bio}</p>
</DirectionCard>
</div>
{/each}
{/if}
</div>
|