mirror of
https://github.com/ProjectSegfault/website.git
synced 2025-04-18 00:39:11 +05:30
30 lines
740 B
Svelte
30 lines
740 B
Svelte
<script lang="ts">
|
|
import { CardInner, CardOuter, Link, LinksOuter } from "$lib/Card";
|
|
import projects from "$lib/Projects.json";
|
|
</script>
|
|
|
|
<svelte:head>
|
|
<title>Our projects | Project Segfault</title>
|
|
<meta name="description" content="Our collection of projects." />
|
|
</svelte:head>
|
|
|
|
<h1>Our projects</h1>
|
|
<CardOuter>
|
|
{#each projects as { name, description, git, website }}
|
|
<CardInner title={name} {description}>
|
|
<LinksOuter>
|
|
{#if website}
|
|
<Link url={website} classes="web">
|
|
<div class="i-fa6-solid:globe"></div>
|
|
</Link>
|
|
{/if}
|
|
|
|
{#if git}
|
|
<Link url={git} classes="gitcolored">
|
|
<div class="i-simple-icons:git"></div>
|
|
</Link>
|
|
{/if}
|
|
</LinksOuter>
|
|
</CardInner>
|
|
{/each}
|
|
</CardOuter> |