summaryrefslogtreecommitdiff
path: root/src/routes/projects/ProjectEntry.svelte
diff options
context:
space:
mode:
authoraxtloss <axtlos@disroot.org>2024-08-20 01:20:30 +0200
committeraxtloss <axtlos@disroot.org>2024-08-20 01:20:30 +0200
commite235aa6cf4914cbff6c72f19e0fcf6888da349f7 (patch)
tree0d488cadc02706aa2c7652b42e4f21342125c5f7 /src/routes/projects/ProjectEntry.svelte
parent479414a93ae03a4463c16d54b39cd155b1e04683 (diff)
downloadwebsite-e235aa6cf4914cbff6c72f19e0fcf6888da349f7.tar.gz
website-e235aa6cf4914cbff6c72f19e0fcf6888da349f7.tar.bz2
yayyy new website!!
Diffstat (limited to 'src/routes/projects/ProjectEntry.svelte')
-rw-r--r--src/routes/projects/ProjectEntry.svelte36
1 files changed, 36 insertions, 0 deletions
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>