From e235aa6cf4914cbff6c72f19e0fcf6888da349f7 Mon Sep 17 00:00:00 2001
From: axtloss <axtlos@disroot.org>
Date: Tue, 20 Aug 2024 01:20:30 +0200
Subject: yayyy new website!!

---
 src/routes/projects/ProjectEntry.svelte | 36 +++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 src/routes/projects/ProjectEntry.svelte

(limited to 'src/routes/projects/ProjectEntry.svelte')

diff --git a/src/routes/projects/ProjectEntry.svelte b/src/routes/projects/ProjectEntry.svelte
new file mode 100644
index 0000000..53c69b5
--- /dev/null
+++ b/src/routes/projects/ProjectEntry.svelte
@@ -0,0 +1,36 @@
+<script lang="ts">
+  export let name: string;
+  export let description: string;
+  export let projType: string;
+  export let link: string;
+  export let id: string = name.toLowerCase().replaceAll(" ", "_");
+</script>
+
+<section id="{id}" class="box">
+    <h2>{name}</h2>
+    <section id="fsverify-link">
+      <p class="subheader">
+	{projType} - <a href="{link}">{link}</a>
+      </p>
+    </section>
+    <slot />
+    <p class="description">
+      {description}
+    </p>
+</section>
+
+
+<style lang="scss">
+  @use 'sass:color';
+  section {
+    max-width: 790px;
+    width: 100%;
+    & h2 {
+      margin-bottom: 0px;
+    }
+    & .description {
+      text-align: center;
+    }
+  }
+
+</style>
-- 
cgit v1.2.3

