From e45174bfa1c5e60736736802b68aedcc9d1acb77 Mon Sep 17 00:00:00 2001 From: xnought Date: Tue, 7 May 2024 16:52:33 -0700 Subject: [PATCH] feat: random protein first iter --- frontend/src/lib/EntryCard.svelte | 3 +- frontend/src/routes/Home.svelte | 69 ++++++++++++++++--------------- 2 files changed, 37 insertions(+), 35 deletions(-) diff --git a/frontend/src/lib/EntryCard.svelte b/frontend/src/lib/EntryCard.svelte index ffefbe73..11156bb6 100644 --- a/frontend/src/lib/EntryCard.svelte +++ b/frontend/src/lib/EntryCard.svelte @@ -1,11 +1,12 @@

{title}

diff --git a/frontend/src/routes/Home.svelte b/frontend/src/routes/Home.svelte index 6d3f0e24..38cbd085 100644 --- a/frontend/src/routes/Home.svelte +++ b/frontend/src/routes/Home.svelte @@ -5,6 +5,8 @@ import Molstar from "../lib/Molstar.svelte"; import ProteinLinkCard from "../lib/ProteinLinkCard.svelte"; import { colorScheme } from "../lib/venomeMolstarUtils"; + import { Card } from "flowbite-svelte"; + import EntryCard from "../lib/EntryCard.svelte"; const quickLinks = [ { @@ -18,12 +20,12 @@ href: "/articles", }, { - title: "Upload", + title: "Upload New Proteins", desc: "Upload new proteins or create new articles for others to view.", href: "/upload", }, { - title: "Open Source Code", + title: "Completely Open Source", desc: "This sites code is completely open source on GitHub.", href: "https://github.com/xnought/venome", }, @@ -59,43 +61,42 @@
-
- {#each quickLinks as q} - - {/each} +
+
+ {#each quickLinks as q} + + {/each} +
{#if randomProtein}
-
- Random Protein -
-
-
- -
-
- + +
+
+ +
+
+ +
-
+
{/if}
About us here