webcompile/src/routes/team.svelte

61 lines
1.4 KiB
Svelte
Raw Normal View History

2022-07-03 01:23:41 +05:30
<script lang="ts">
2022-08-08 10:50:03 +05:30
import { CardInner, CardOuter, Link, LinksOuter } from "$lib/Card";
2022-08-04 20:00:24 +05:30
import members from "$lib/Team.json";
2022-07-03 01:23:41 +05:30
</script>
<svelte:head>
2022-08-04 20:00:24 +05:30
<title>Our team | Project Segfault</title>
<meta name="description" content="Team members of Project Segfault." />
2022-07-03 01:23:41 +05:30
</svelte:head>
2022-08-07 19:05:50 +05:30
<h1>Our team</h1>
<CardOuter>
2022-08-08 10:50:03 +05:30
{#each members as { name, discord, matrix, position, description, github, pgp, website, email, picture }}
<CardInner title={name} {position} {description}>
<LinksOuter>
{#if matrix}
2022-08-07 19:05:50 +05:30
<Link url={matrix} classes="matrixcolored">
2022-08-08 13:16:52 +05:30
<div class="i-simple-icons:matrix"></div>
2022-08-07 19:05:50 +05:30
</Link>
{/if}
{#if discord}
<Link url={discord} classes="discordcolored">
2022-08-08 13:16:52 +05:30
<div class="i-simple-icons:discord"></div>
2022-08-07 19:05:50 +05:30
</Link>
{/if}
{#if github}
<Link url={github} classes="githubcolored">
2022-08-08 13:16:52 +05:30
<div class="i-simple-icons:github"></div>
2022-08-07 19:05:50 +05:30
</Link>
{/if}
{#if website}
<Link url={website} classes="web">
2022-08-08 13:16:52 +05:30
<div class="i-fa6-solid:globe"></div>
2022-08-07 19:05:50 +05:30
</Link>
{/if}
{#if email}
<Link url="mailto:{email}" classes="email">
2022-08-08 13:16:52 +05:30
<div class="i-fa6-solid:envelope"></div>
2022-08-07 19:05:50 +05:30
</Link>
{/if}
{#if pgp}
<Link url={pgp} classes="pgp">
2022-08-08 13:16:52 +05:30
<div class="i-fa6-solid:key"></div>
2022-08-07 19:05:50 +05:30
</Link>
{/if}
{#if picture}
<Link url={picture} classes="picture">
2022-08-08 13:16:52 +05:30
<div class="i-fa6-solid:camera"></div>
2022-08-07 19:05:50 +05:30
</Link>
{/if}
2022-08-08 10:50:03 +05:30
</LinksOuter>
</CardInner>
{/each}
</CardOuter>