diff options
author | axtloss <axtlos@disroot.org> | 2024-08-20 01:20:30 +0200 |
---|---|---|
committer | axtloss <axtlos@disroot.org> | 2024-08-20 01:20:30 +0200 |
commit | e235aa6cf4914cbff6c72f19e0fcf6888da349f7 (patch) | |
tree | 0d488cadc02706aa2c7652b42e4f21342125c5f7 /src/routes/projects/ProjectEntry.svelte | |
parent | 479414a93ae03a4463c16d54b39cd155b1e04683 (diff) | |
download | website-e235aa6cf4914cbff6c72f19e0fcf6888da349f7.tar.gz website-e235aa6cf4914cbff6c72f19e0fcf6888da349f7.tar.bz2 |
yayyy new website!!
Diffstat (limited to '')
-rw-r--r-- | src/routes/projects/ProjectEntry.svelte | 36 |
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> |