From ad32a79b83d85ab03f998da4bbfa2542d54ca6ed Mon Sep 17 00:00:00 2001 From: shannonwells Date: Mon, 2 Dec 2024 17:33:08 -0800 Subject: [PATCH] PR comments' --- src/components/BecomeAProvider.svelte | 58 +++++++++---------- src/components/DropDownMenu.svelte | 35 +++++++++-- src/components/FAQItem.svelte | 4 +- src/components/Header.svelte | 2 +- src/components/LoginForm.svelte | 2 +- src/components/ProviderLogin.svelte | 30 +++++----- src/components/SelectNetworkAndAccount.svelte | 2 +- src/components/icons/FrequencyLogo.svelte | 2 +- src/routes/faq/+page.svelte | 4 +- src/style/app.css | 19 +----- 10 files changed, 82 insertions(+), 76 deletions(-) diff --git a/src/components/BecomeAProvider.svelte b/src/components/BecomeAProvider.svelte index cf63aa5..9bf3ef1 100644 --- a/src/components/BecomeAProvider.svelte +++ b/src/components/BecomeAProvider.svelte @@ -10,35 +10,33 @@ import BackHomeButton from '$components/BackHomeButton.svelte'; -
- -
- - {#if $user?.network != null && $user.network.id === NetworkType.MAINNET} - - {:else if $user && $user?.address !== ''} - {#if $user?.msaId === 0} - - {:else} - - {/if} + + + + {#if $user?.network != null && $user.network.id === NetworkType.MAINNET} + + {:else if $user && $user?.address !== ''} + {#if $user?.msaId === 0} + {:else} - + {/if} - - - -
- For developer and testing convenience, on Testnet, anyone with an MSA who wishes to become a Provider may simply - submit a createProvider transaction.

This action will register the MSA Id that is controlled by the - selected Transaction Signing Address above. Any Account Id that has been added to the MSA can submit the - transaction. -
-
-
+ {:else} + + {/if} + + + +
+ For developer and testing convenience, on Testnet, anyone with an MSA who wishes to become a Provider may simply + submit a createProvider transaction.

This action will register the MSA Id that is controlled by the + selected Transaction Signing Address above. Any Account Id that has been added to the MSA can submit the + transaction. +
+
diff --git a/src/components/DropDownMenu.svelte b/src/components/DropDownMenu.svelte index 911ebdf..88829b0 100644 --- a/src/components/DropDownMenu.svelte +++ b/src/components/DropDownMenu.svelte @@ -8,19 +8,46 @@ export let formatter: (value: T) => string = (value) => value.toString(); // eslint-disable-line no-undef -
- +
+ +
+ + diff --git a/src/components/FAQItem.svelte b/src/components/FAQItem.svelte index e3a3ffa..ec0559f 100644 --- a/src/components/FAQItem.svelte +++ b/src/components/FAQItem.svelte @@ -14,7 +14,7 @@ -
+
{@render answer?.()}
diff --git a/src/components/Header.svelte b/src/components/Header.svelte index 53a7c1a..297ce82 100644 --- a/src/components/Header.svelte +++ b/src/components/Header.svelte @@ -7,7 +7,7 @@
-
+

Provider Dashboard

diff --git a/src/components/LoginForm.svelte b/src/components/LoginForm.svelte index c539416..c6fd6ec 100644 --- a/src/components/LoginForm.svelte +++ b/src/components/LoginForm.svelte @@ -35,7 +35,7 @@ accountSelectorPlaceholder="Select a Provider Account Id" noAccountsFoundErrorMsg="No Provider Account Ids found. To become a Provider, see below." /> -
+
- - - - -
+ + + + + + + diff --git a/src/components/SelectNetworkAndAccount.svelte b/src/components/SelectNetworkAndAccount.svelte index 7e15b6c..5592f97 100644 --- a/src/components/SelectNetworkAndAccount.svelte +++ b/src/components/SelectNetworkAndAccount.svelte @@ -138,7 +138,7 @@ formatter={formatNetwork} /> {:else} -

+

Connected to {selectedNetwork?.name || 'Custom'} Change networks

diff --git a/src/components/icons/FrequencyLogo.svelte b/src/components/icons/FrequencyLogo.svelte index f2f7875..2a9f2ee 100644 --- a/src/components/icons/FrequencyLogo.svelte +++ b/src/components/icons/FrequencyLogo.svelte @@ -7,7 +7,7 @@ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" {width} - height="48.256" + height="100%" viewBox="0 0 461.117 68.256" > diff --git a/src/routes/faq/+page.svelte b/src/routes/faq/+page.svelte index f090300..b74212d 100644 --- a/src/routes/faq/+page.svelte +++ b/src/routes/faq/+page.svelte @@ -3,8 +3,8 @@ import HowToTransact from '$components/HowToTransact.svelte'; -
-

FAQ's

+
+

FAQ's

{#snippet question()} diff --git a/src/style/app.css b/src/style/app.css index db3ea6f..83a2771 100644 --- a/src/style/app.css +++ b/src/style/app.css @@ -31,7 +31,7 @@ @apply ml-6 list-decimal; } .column { - @apply flex flex-col md:gap-4; + @apply flex flex-col; } /* typography */ @@ -100,23 +100,6 @@ footer svg { @apply bg-white text-black transition duration-[0.3s] hover:text-teal; } - - select { - @apply m-0 cursor-pointer overflow-clip bg-transparent p-2 pr-f32 text-black outline-none outline-1 outline-gray3; - - &:focus, - &:hover { - @apply outline-teal; - } - - option:first-child { - @apply text-gray3 !important; - } - } - - ::placeholder { - @apply text-gray2 !important; - } } }