From d101a1a13e67771214688164edd4c3f8c647bfd6 Mon Sep 17 00:00:00 2001 From: Hunter LaFaille Date: Thu, 3 Oct 2024 17:24:44 +0000 Subject: [PATCH] Building out the registry --- src/lib/components/buttons/Button.svelte | 6 ++- .../components/cards/ProjectSection.svelte | 13 +++-- src/lib/components/cards/RegistryCard.svelte | 16 +++++++ src/lib/components/inputs/LineEdit.svelte | 5 ++ src/lib/components/nav/Navigation.svelte | 47 ++++++++++++++----- src/routes/+layout.svelte | 4 +- src/routes/projects/+page.svelte | 39 ++++++++++----- .../projects/espresso/registry/+page.svelte | 39 +++++++++++++++ 8 files changed, 136 insertions(+), 33 deletions(-) create mode 100644 src/lib/components/cards/RegistryCard.svelte create mode 100644 src/lib/components/inputs/LineEdit.svelte create mode 100644 src/routes/projects/espresso/registry/+page.svelte diff --git a/src/lib/components/buttons/Button.svelte b/src/lib/components/buttons/Button.svelte index 32ecdd9..f8edc8b 100644 --- a/src/lib/components/buttons/Button.svelte +++ b/src/lib/components/buttons/Button.svelte @@ -20,10 +20,12 @@ @apply h-min w-full; @apply text-clip text-nowrap; @apply select-none; + @apply hover:scale-[102%] hover:drop-shadow-lg; + @apply active:scale-[100%] active:drop-shadow-md; } .btn-primary { - @apply rounded-2xl bg-orange-500 p-4; - @apply text-xl font-medium text-gray-100; + @apply rounded-3xl bg-orange-500 p-4; + @apply text-xl font-bold text-gray-100; @apply hover:bg-amber-500; @apply active:bg-amber-600; } diff --git a/src/lib/components/cards/ProjectSection.svelte b/src/lib/components/cards/ProjectSection.svelte index dbc9654..3d97ef4 100644 --- a/src/lib/components/cards/ProjectSection.svelte +++ b/src/lib/components/cards/ProjectSection.svelte @@ -1,9 +1,12 @@ -
-

{title}

-

{body}

-
\ No newline at end of file +
+
+

{title}

+

{body}

+ +
+
diff --git a/src/lib/components/cards/RegistryCard.svelte b/src/lib/components/cards/RegistryCard.svelte new file mode 100644 index 0000000..e2dd957 --- /dev/null +++ b/src/lib/components/cards/RegistryCard.svelte @@ -0,0 +1,16 @@ + + +
+
+
+

{title}

+

{group}

+
+

{body}

+ +
+
diff --git a/src/lib/components/inputs/LineEdit.svelte b/src/lib/components/inputs/LineEdit.svelte new file mode 100644 index 0000000..0e426af --- /dev/null +++ b/src/lib/components/inputs/LineEdit.svelte @@ -0,0 +1,5 @@ + + \ No newline at end of file diff --git a/src/lib/components/nav/Navigation.svelte b/src/lib/components/nav/Navigation.svelte index a430de0..ac0da61 100644 --- a/src/lib/components/nav/Navigation.svelte +++ b/src/lib/components/nav/Navigation.svelte @@ -1,4 +1,5 @@ -
+
-
-
+

Test

-