webcompile/src/routes/team/+page.svelte

52 lines
1.2 KiB
Svelte
Raw Normal View History

2022-07-03 01:23:41 +05:30
<script lang="ts">
2023-01-25 22:41:11 +05:30
import type { PageData } from "./$types";
import Team from "./Team.json";
2022-07-03 01:23:41 +05:30
2023-01-25 22:41:11 +05:30
export let data: PageData;
</script>
2022-08-07 19:05:50 +05:30
2023-01-25 22:41:11 +05:30
<h1>{data.title}</h1>
2022-08-07 19:05:50 +05:30
2023-01-25 22:41:11 +05:30
<div class="flex flex-row flex-wrap gap-4">
{#each Team as member}
2023-02-03 23:25:33 +05:30
<div
class="flex flex-col gap-4 rounded bg-secondary p-4 w-110 no-underline text-text"
>
2023-01-25 22:41:11 +05:30
<div class="flex flex-col gap-2 flex-1">
<span class="text-2xl">{member.name} - {member.position}</span>
{#if member.description}
<p>{member.description}</p>
2022-09-10 21:28:19 +05:30
{/if}
2023-01-25 22:41:11 +05:30
</div>
<div class="children:text-text flex flex-row gap-4 text-lg">
{#if member.website}
2023-02-03 23:25:33 +05:30
<a href={member.website}
><div class="i-ic:outline-language" /></a
>
2022-08-07 19:05:50 +05:30
{/if}
2023-01-25 22:41:11 +05:30
{#if member.matrix}
2023-02-03 23:25:33 +05:30
<a href={member.matrix}
><div class="i-simple-icons:matrix" /></a
>
2022-08-07 19:05:50 +05:30
{/if}
2023-01-25 22:41:11 +05:30
{#if member.git}
<a href={member.git}><div class="i-simple-icons:git" /></a>
2022-08-07 19:05:50 +05:30
{/if}
2023-01-25 22:41:11 +05:30
{#if member.email}
2023-02-03 23:25:33 +05:30
<a href="mailto:{member.email}"
><div class="i-ic:outline-email" /></a
>
2022-08-07 19:05:50 +05:30
{/if}
2023-01-25 22:41:11 +05:30
{#if member.pgp}
2023-02-03 23:25:33 +05:30
<a href={member.pgp}><div class="i-ic:outline-vpn-key" /></a
>
2022-08-07 19:05:50 +05:30
{/if}
2023-01-25 22:41:11 +05:30
</div>
</div>
2022-08-08 10:50:03 +05:30
{/each}
2023-02-03 23:25:33 +05:30
</div>