From 8c0bd9d767dddf1e915e3b08ac14324d6d4d3868 Mon Sep 17 00:00:00 2001 From: cssbubble Date: Fri, 20 May 2022 09:46:06 +0100 Subject: [PATCH 1/6] minor changes --- src/ButtonGroup.svelte | 4 ++-- src/ItemCard.svelte | 8 +++++++- src/ItemDetail.svelte | 14 +++++++++----- src/TopicDetail.svelte | 1 + src/TopicList.svelte | 2 +- src/TopicMasonryGrid.svelte | 9 ++++++++- src/tailwindui/AppShell.svelte | 2 +- src/tailwindui/Icon.svelte | 4 ++++ 8 files changed, 33 insertions(+), 11 deletions(-) diff --git a/src/ButtonGroup.svelte b/src/ButtonGroup.svelte index 7dd0e00..f1af43a 100644 --- a/src/ButtonGroup.svelte +++ b/src/ButtonGroup.svelte @@ -22,8 +22,8 @@ relative inline-flex flex-nowrap items-center px-4 py-2 {i == 0 && 'rounded-l-md'} {i == tabs.length-1 && 'rounded-r-md'} - border border-indigo-500 text-sm font-medium focus:z-10 focus:outline-none - {currentlySelected === i? 'bg-indigo-700 text-white' : 'bg-gray-100 text-gray-800'} + border border-gray-300 text-sm font-medium focus:z-10 focus:outline-none + {currentlySelected === i? 'bg-green-800 text-white' : 'bg-gray-100 text-gray-800'} " > {tab} diff --git a/src/ItemCard.svelte b/src/ItemCard.svelte index 4cda857..9cfbdce 100644 --- a/src/ItemCard.svelte +++ b/src/ItemCard.svelte @@ -2,7 +2,7 @@ export let item; - +
{item.name} @@ -11,3 +11,9 @@ + \ No newline at end of file diff --git a/src/ItemDetail.svelte b/src/ItemDetail.svelte index a97e046..8c10f12 100644 --- a/src/ItemDetail.svelte +++ b/src/ItemDetail.svelte @@ -1,6 +1,7 @@ + - \ No newline at end of file diff --git a/src/TopicMasonryGrid.svelte b/src/TopicMasonryGrid.svelte index 51593c5..09ccf0b 100644 --- a/src/TopicMasonryGrid.svelte +++ b/src/TopicMasonryGrid.svelte @@ -83,7 +83,7 @@
{#each [...map.entries()] as parent} -
+
{ format_topic_name(parent[0]) }
@@ -95,3 +95,10 @@ {/each}
+ + diff --git a/src/tailwindui/AppShell.svelte b/src/tailwindui/AppShell.svelte index 4c5eed7..d152ec3 100644 --- a/src/tailwindui/AppShell.svelte +++ b/src/tailwindui/AppShell.svelte @@ -123,7 +123,7 @@
-
+
diff --git a/src/tailwindui/Icon.svelte b/src/tailwindui/Icon.svelte index d4cb4fb..e04de27 100644 --- a/src/tailwindui/Icon.svelte +++ b/src/tailwindui/Icon.svelte @@ -28,4 +28,8 @@ +{:else if kind === "link"} + + + {/if} \ No newline at end of file From e0ba673604ccb3a57c41a26664750eccd93b14d3 Mon Sep 17 00:00:00 2001 From: cssbubble Date: Fri, 20 May 2022 09:56:26 +0100 Subject: [PATCH 2/6] data added --- learn.db | Bin 4804608 -> 4804608 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/learn.db b/learn.db index 6f825156e5f1b74e755b4baae4562a5448e58517..c1277997b2ca1500a4890d50d59a828df6947ac0 100644 GIT binary patch delta 235 zcmWN=$58?S06@{%6-w3 zLG+CT63T)kBq@usB+IfQtCEtmWMoaUvMxEv%Z6;qmTXHwcBCjJ*_A!nm$Fo(Dm6Kf zx*SSFn$nWC9Lceq$f=ykxpd@0F6BzDr7Mx#$gSK-PwwSG9_2}%x@ zLG*(J63T)kBq@uMk|kM|6-i4*R%K1HvMxEv%Z6;qmTXHwc4SwIQj$H{m$Fo(Dm6Kf zx*SSFn$nWC9Lceq$f=ykxpd@0F6Bxh>B_a-$gSK-PwwSG9_2}% Date: Fri, 20 May 2022 10:47:51 +0100 Subject: [PATCH 3/6] color scheme added in topiclist page --- src/TopicMasonryGrid.svelte | 18 ++++++++++++------ src/tailwindui/AppShell.svelte | 13 ++++++++++--- templates/index.html | 9 +++++++-- 3 files changed, 29 insertions(+), 11 deletions(-) diff --git a/src/TopicMasonryGrid.svelte b/src/TopicMasonryGrid.svelte index 09ccf0b..f5f355a 100644 --- a/src/TopicMasonryGrid.svelte +++ b/src/TopicMasonryGrid.svelte @@ -72,7 +72,7 @@ -

+

{#if topic} {capitalize(topic.display_name)} {:else} @@ -83,12 +83,12 @@
{#each [...map.entries()] as parent} -
- { format_topic_name(parent[0]) } + @@ -97,8 +97,14 @@ diff --git a/src/tailwindui/AppShell.svelte b/src/tailwindui/AppShell.svelte index f9310f4..c028682 100644 --- a/src/tailwindui/AppShell.svelte +++ b/src/tailwindui/AppShell.svelte @@ -7,6 +7,13 @@ + +
{#if isNavDrawerOpen} @@ -34,7 +41,7 @@ From: "translate-x-0" To: "-translate-x-full" --> -
+