diff options
| author | Murillo Pinheiro de Oliveira <[email protected]> | 2024-04-03 17:12:01 -0300 |
|---|---|---|
| committer | Murillo Pinheiro de Oliveira <[email protected]> | 2024-04-03 17:12:01 -0300 |
| commit | 95ccd96adeb29a80a9466e5b4db41ce2c69cc4b1 (patch) | |
| tree | 65d63911c5965bb9de44c706e2c460bf53e95a8e /src | |
| parent | be9d15ec1a20d760afd1bfa3cfb8db620baa28bd (diff) | |
| download | coinos-ui-95ccd96adeb29a80a9466e5b4db41ce2c69cc4b1.tar.gz coinos-ui-95ccd96adeb29a80a9466e5b4db41ce2c69cc4b1.zip | |
updated: small fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/AppHeader.svelte | 16 | ||||
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+layout.svelte | 10 | ||||
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+page.svelte | 6 | ||||
| -rw-r--r-- | src/routes/(app)/[username]/+layout.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(app)/[username]/settings/[...tab]/_pos.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(app)/send/[...text]/+page.svelte | 2 |
6 files changed, 19 insertions, 19 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte index 42536e62..147ba834 100644 --- a/src/components/AppHeader.svelte +++ b/src/components/AppHeader.svelte @@ -48,7 +48,7 @@ {#if user} <a href={`/${user.username}`}> <button - class="bg-white dark:bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white dark:!bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/${user.username}` ? 'opacity-100' : 'opacity-70 hover:opacity-80'}" @@ -57,7 +57,7 @@ </a> <a href={`/${user.username}/buy`}> <button - class="bg-white dark:bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white dark:!bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/${user.username}/buy` ? 'opacity-100' : 'opacity-70 hover:opacity-80'}" @@ -66,7 +66,7 @@ </a> <a href={`/${user.username}/receive`}> <button - class="bg-white dark:bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white dark:!bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/${user.username}/receive` ? 'opacity-100' : 'opacity-70 hover:opacity-80'}" @@ -75,7 +75,7 @@ </a> <a href={`/${user.username}/payments`}> <button - class="bg-white dark:bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white dark:!bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/${user.username}/payments` ? 'opacity-100' : 'opacity-70 hover:opacity-80'} relative" @@ -96,7 +96,7 @@ </a> <a href={`/send`}> <button - class="bg-white dark:bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white dark:!bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/send` ? 'opacity-100' : 'opacity-70 hover:opacity-80'}" @@ -106,7 +106,7 @@ <div class="relative"> <OutClick on:outclick={() => (showMenu = false)}> <button - class="bg-white dark:bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white dark:!bg-black p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/${user.username}` || $page.url.pathname === `/${user.username}/settings` || $page.url.pathname === `/support` @@ -121,7 +121,7 @@ <div class="{showMenu ? 'block' - : 'hidden'} absolute top-14 right-0 bg-white dark:bg-black dark:border-2 dark:border-gray-50 rounded-3xl p-8 shadow-xl z-50" + : 'hidden'} absolute top-14 right-0 bg-white dark:!bg-black dark:border-2 dark:border-gray-50 rounded-3xl p-8 shadow-xl z-50" > <ul class="space-y-5 w-48"> {#each menuButtons as { href, icon, key }} @@ -145,7 +145,7 @@ </div> {:else} <a href={`/login?redirect=${$page.url.pathname}`}> - <button class="bg-white dark:bg-black px-5 py-2 rounded-xl font-semibold text-sm" + <button class="bg-white dark:!bg-black px-5 py-2 rounded-xl font-semibold text-sm" >{$t("nav.signIn")}</button > </a> diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte index 2bf79a50..5bf8280b 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.svelte +++ b/src/routes/(app)/[username]/(profile)/+layout.svelte @@ -164,7 +164,7 @@ {#if following} <div class="w-full flex"> <button - class="mx-auto rounded-full border py-3 px-6 font-bold hover:opacity-80 flex w-60 bg-black text-white" + class="mx-auto rounded-full border dark:border-white py-3 px-6 font-bold hover:opacity-80 flex w-60 bg-black text-white" on:click={unfollow} > <div class="mx-auto flex"> @@ -176,7 +176,7 @@ {:else} <div class="w-full flex"> <button - class="mx-auto rounded-full border py-3 px-6 font-bold hover:opacity-80 flex w-60" + class="mx-auto rounded-full border dark:border-white py-3 px-6 font-bold hover:opacity-80 flex w-60" on:click={follow} > <div class="mx-auto flex"> @@ -192,7 +192,7 @@ <div class="w-full flex"> <a href={`/${subject.username}/messages`} class="mx-auto"> <button - class="rounded-full border py-3 px-6 font-bold hover:opacity-80 flex w-60" + class="rounded-full border dark:border-white py-3 px-6 font-bold hover:opacity-80 flex w-60" > <div class="mx-auto flex"> <Icon icon="message" style="mr-2 my-auto" /> @@ -212,7 +212,7 @@ class="mx-auto" > <button - class="rounded-full border py-3 px-6 font-bold hover:opacity-80 flex w-60" + class="rounded-full border dark:border-white py-3 px-6 font-bold hover:opacity-80 flex w-60" > <div class="mx-auto flex"> <Icon icon="send" style="mr-2" /> @@ -228,7 +228,7 @@ <input placeholder="Password reset" bind:value={password} /> <button type="submit" - class="rounded-full border py-3 px-6 font-bold hover:opacity-80 flex w-60" + class="rounded-full border dark:border-white py-3 px-6 font-bold hover:opacity-80 flex w-60" > <div class="mx-auto flex"> <Icon icon="clock" style="mr-2 my-auto w-8" /> diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index 2812100c..6ca59e8a 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -94,7 +94,7 @@ > <a href={`/send`} class="w-full md:w-40"> <button - class="rounded-full border py-3 px-6 font-bold hover:opacity-80 flex h-14 w-full " + class="rounded-full border dark:border-white py-3 px-6 font-bold hover:opacity-80 flex h-14 w-full " > <div class="mx-auto my-auto flex"> <Icon icon="send" style="my-auto h-6 mr-2 text-red-300 dark:invert" /> @@ -105,7 +105,7 @@ <a href={`/${user.username}/receive`} class="w-full md:w-40 my-auto"> <button - class="rounded-full border py-3 px-6 font-bold hover:opacity-80 flex h-14 w-full" + class="rounded-full border dark:border-white py-3 px-6 font-bold hover:opacity-80 flex h-14 w-full" > <div class="mx-auto flex"> <Icon icon="numpad" style="my-auto h-6 mr-2 dark:invert" /> @@ -116,7 +116,7 @@ <a href={`/buy`} class="w-full md:w-52"> <button - class="rounded-full border py-3 px-6 font-bold hover:opacity-80 flex h-14 w-full" + class="rounded-full border dark:border-white py-3 px-6 font-bold hover:opacity-80 flex h-14 w-full" > <div class="mx-auto flex"> <!-- <Icon icon="plus" style="my-auto h-6 mr-2" /> --> diff --git a/src/routes/(app)/[username]/+layout.svelte b/src/routes/(app)/[username]/+layout.svelte index dd29e3aa..4d6faccd 100644 --- a/src/routes/(app)/[username]/+layout.svelte +++ b/src/routes/(app)/[username]/+layout.svelte @@ -54,4 +54,4 @@ animation: 280ms cubic-bezier(0, 0, 0.2, 1) 80ms both fade-in, 180ms cubic-bezier(0.4, 0, 0.2, 1) both slide-from-right; } -</style> +</style>
\ No newline at end of file diff --git a/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte b/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte index 68b5e05f..f20a8d89 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte @@ -110,7 +110,7 @@ <a href="./shopify"> <button type="button" - class="flex rounded-full border py-2 px-4 font-bold hover:opacity-80 w-full gap-2 my-5 justify-center" + class="flex rounded-full border py-2 px-4 font-bold hover:opacity-80 w-full gap-2 my-5 justify-center dark:border-white" > <img src="/icons/shopify.svg" alt="" class="w-8" /> <div class="my-auto">Shopify Integration</div> diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte index 817ed9e8..2622feed 100644 --- a/src/routes/(app)/send/[...text]/+page.svelte +++ b/src/routes/(app)/send/[...text]/+page.svelte @@ -124,7 +124,7 @@ </div> </div> </div> - </a> --> + </a> --> {#each contacts as c} <a href={`/send/${c.username}`}> <div |
