webcompile/src/routes/team.svelte

68 lines
1.6 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-06 18:40:25 +05:30
import IconDiscord from "~icons/simple-icons/discord";
import IconMatrix from "~icons/simple-icons/matrix";
import IconGitHub from "~icons/simple-icons/github";
2022-08-05 01:32:10 +05:30
import IconKey from "~icons/fa6-solid/key";
import IconGlobe from "~icons/fa6-solid/globe";
import IconEmail from "~icons/fa6-solid/envelope";
import IconCamera from "~icons/fa6-solid/camera";
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">
<IconMatrix />
</Link>
{/if}
{#if discord}
<Link url={discord} classes="discordcolored">
<IconDiscord />
</Link>
{/if}
{#if github}
<Link url={github} classes="githubcolored">
<IconGitHub />
</Link>
{/if}
{#if website}
<Link url={website} classes="web">
<IconGlobe />
</Link>
{/if}
{#if email}
<Link url="mailto:{email}" classes="email">
<IconEmail />
</Link>
{/if}
{#if pgp}
<Link url={pgp} classes="pgp">
<IconKey />
</Link>
{/if}
{#if picture}
<Link url={picture} classes="picture">
<IconCamera />
</Link>
{/if}
2022-08-08 10:50:03 +05:30
</LinksOuter>
</CardInner>
{/each}
</CardOuter>