From 3a4b67eb37142fb065ce0fb83b0bb184eab01b02 Mon Sep 17 00:00:00 2001
From: Logan Hunt <loganhunt@simponic.xyz>
Date: Tue, 12 Apr 2022 18:39:51 -0600
Subject: Let there be light

---
 src/routes/team/PersonCard.svelte | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 src/routes/team/PersonCard.svelte

(limited to 'src/routes/team/PersonCard.svelte')

diff --git a/src/routes/team/PersonCard.svelte b/src/routes/team/PersonCard.svelte
new file mode 100644
index 0000000..3859179
--- /dev/null
+++ b/src/routes/team/PersonCard.svelte
@@ -0,0 +1,26 @@
+<script>
+  import PersonBio from './PersonBio.svelte';  
+
+  export let person;
+  export let direction;
+</script>
+
+<main>
+  <div class="row">
+    {#if direction == 'right'}
+      <div class="col-sm-3">
+        <img class="img-fluid" src={person.image} alt={person.name} />
+      </div>
+      <div class="col-sm-9">
+        <PersonBio bio={person.bio} />
+      </div>
+    {:else}
+      <div class="col-sm-9">
+        <PersonBio bio={person.bio} />
+      </div>
+      <div class="col-sm-3">
+        <img class="img-fluid" src={person.image} alt={person.name} />
+      </div>
+    {/if}
+  </div>
+</main>
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

