diff --git a/web/src/app.css b/web/src/app.css index 28ab712684..de9c9441cf 100644 --- a/web/src/app.css +++ b/web/src/app.css @@ -142,46 +142,4 @@ input:focus-visible { .scrollbar-stable { scrollbar-gutter: stable both-edges; } - - /* Supporter Effect */ - .supporter-effect { - position: relative; - border: 0px solid transparent; - background-clip: padding-box; - animation: gradient 10s ease infinite; - z-index: 1; - } - - .supporter-effect:hover:after { - position: absolute; - top: 0px; - bottom: 0px; - left: 0px; - right: 0px; - background: linear-gradient( - to right, - rgba(16, 132, 254, 0.25), - rgba(229, 125, 175, 0.25), - rgba(254, 36, 29, 0.25), - rgba(255, 183, 0, 0.25), - rgba(22, 193, 68, 0.25) - ); - content: ''; - border-radius: 8px; - animation: gradient 10s ease infinite; - background-size: 400% 400%; - z-index: -1; - } - - @keyframes gradient { - 0% { - background-position: 0% 50%; - } - 50% { - background-position: 100% 50%; - } - 100% { - background-position: 0% 50%; - } - } } diff --git a/web/src/lib/components/shared-components/side-bar/purchase-info.svelte b/web/src/lib/components/shared-components/side-bar/purchase-info.svelte index a113889d19..6f40dc4923 100644 --- a/web/src/lib/components/shared-components/side-bar/purchase-info.svelte +++ b/web/src/lib/components/shared-components/side-bar/purchase-info.svelte @@ -16,6 +16,7 @@ import { handleError } from '$lib/utils/handle-error'; import { preferences } from '$lib/stores/user.store'; import { getButtonVisibility } from '$lib/utils/purchase-utils'; + import SupporterBadge from '$lib/components/shared-components/side-bar/supporter-badge.svelte'; let showMessage = false; let isOpen = false; @@ -83,14 +84,7 @@ class="w-full" type="button" > -
{$t('purchase_account_info')}
-