Skip to content

Commit e4e8157

Browse files
committed
fix: add some of contrats to the button
1 parent 19a7fc0 commit e4e8157

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/slogan_button.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ pub fn SloganButton() -> impl IntoView {
4242

4343
view! {
4444
<div
45-
class="flex select-none items-center justify-center lg:justify-start group"
45+
class="flex select-none items-center justify-center lg:justify-start group text-white max-w-lg"
4646
on:click=click_handler
4747
>
48-
<button class="bg-orange-300 dark:bg-transparent border-4 border-orange-400 group-hover:border-orange-500 flex justify-center items-center rounded-full w-12 h-12 text-xl relative z-10">
48+
<button class="bg-orange-200 dark:bg-black/30 border-4 border-orange-400 group-hover:border-orange-500 dark:group-hover:bg-black/60 flex justify-center items-center rounded-full w-12 h-12 text-xl relative z-10">
4949
<span class="motion-safe:animate-spin">"🎲"</span>
5050
</button>
51-
<p class="font-work-sans font-light lg:text-left bg-orange-400 dark:bg-transparent h-12 pr-4 pl-10 flex items-center -ml-6 flex-1 rounded-r-full group-hover:bg-orange-500 dark:group-hover:bg-transparent max-w-lg">
51+
<p class="font-work-sans font-light lg:text-left bg-orange-400 dark:bg-black/30 border-y-4 border-r-4 border-orange-400 h-12 pr-4 pl-10 flex items-center -ml-6 flex-1 rounded-r-full group-hover:bg-orange-500 dark:group-hover:bg-white/5 max-w-lg">
5252
{slogan}
5353
</p>
5454
</div>

0 commit comments

Comments
 (0)