🐜 fix(www): Fix the marquee

This commit is contained in:
Wanjohi
2025-01-21 01:12:58 +03:00
parent 0d0b1f4b14
commit 4a27f54e80
4 changed files with 20 additions and 12 deletions

View File

@@ -127,7 +127,7 @@ export const HomeNavBar = component$(({ avatarUrl, username, discriminator }: Pr
value={team.name}
class="leading-none text-sm items-center flex px-2 h-8 rounded-md outline-none relative select-none w-full"
>
<span class="w-full max-w-[20ch] flex items-center gap-2 truncate [&>svg]:size-5 ">
<span class="w-full max-w-[20ch] flex items-center gap-2 truncate [&>svg]:size-5 text-[#6f6f6f] dark:text-[#a0a0a0]">
<Avatar class="flex-shrink-0 rounded-full" name={team.name} />
{team.name}
</span>

View File

@@ -38,8 +38,8 @@ export const NavBar = component$(({ link }: Props) => {
<button onClick$={() => window.location.href = link as string} class="w-full text-gray-900/70 bg-gray-400/30 dark:bg-gray-600/30 dark:text-gray-100/30 whitespace-nowrap font-mono text-sm py-3">
<div class="flex relative">
<span class="whitespace-pre marquee-animation">
Launching Soon · Login to reserve your username · Launching Soon · Login to reserve your username · Launching Soon · Login to reserve your username ·
Launching Soon · Login to reserve your username · Launching Soon · Login to reserve your username · Launching Soon · Login to reserve your username ·
Launching Soon · Login to reserve your username · Launching Soon · Login to reserve your username · Launching Soon · Login to reserve your username · Launching Soon · Login to reserve your username ·
Launching Soon · Login to reserve your username · Launching Soon · Login to reserve your username · Launching Soon · Login to reserve your username · Launching Soon · Login to reserve your username ·
</span>
</div>
</button>