forked from ProjectSegfault/website
requested changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { CardInner, CardOuter, Link, LinksOuter } from "$lib/Card";
|
||||
import { CardInner, CardOuter, Link, LinksOuter } from "$lib/Card";
|
||||
import projects from "$lib/Projects.json";
|
||||
import IconGitHub from "~icons/simple-icons/github";
|
||||
import IconGitHub from "~icons/simple-icons/github";
|
||||
import IconGlobe from "~icons/fa6-solid/globe";
|
||||
import IconEmail from "~icons/fa6-solid/envelope";
|
||||
import IconCamera from "~icons/fa6-solid/camera";
|
||||
@@ -14,10 +14,10 @@
|
||||
|
||||
<h1>Our projects</h1>
|
||||
<CardOuter>
|
||||
{#each projects as { name, description, github, website }}
|
||||
<CardInner title={name} {description}>
|
||||
<LinksOuter>
|
||||
{#if website}
|
||||
{#each projects as { name, description, github, website }}
|
||||
<CardInner title={name} {description}>
|
||||
<LinksOuter>
|
||||
{#if website}
|
||||
<Link url={website} classes="web">
|
||||
<IconGlobe />
|
||||
</Link>
|
||||
@@ -28,8 +28,7 @@
|
||||
<IconGitHub />
|
||||
</Link>
|
||||
{/if}
|
||||
|
||||
</LinksOuter>
|
||||
</CardInner>
|
||||
{/each}
|
||||
</CardOuter>
|
||||
</LinksOuter>
|
||||
</CardInner>
|
||||
{/each}
|
||||
</CardOuter>
|
||||
|
||||
Reference in New Issue
Block a user