Skip to content

Commit

Permalink
ui: update look and feel of fun title X
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdjohnson committed Dec 9, 2024
1 parent 4ce088b commit 904b119
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/FunTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,14 @@ const FunTitle = observer(({ className }: { className?: string }) => {
<button onClick={sampleXWord}>
{titleSections[0]}

<span className={twMerge(className, 'link mx-0 text-primary')}>{titleSections[1]}</span>
<span
className={twMerge(
className,
'mx-0 bg-gradient-to-b from-primary to-secondary to-70% bg-clip-text font-semibold text-transparent transition-all duration-700 ease-in-out hover:text-primary',
)}
>
{titleSections[1]}
</span>

{titleSections[2]}
</button>
Expand Down

0 comments on commit 904b119

Please sign in to comment.