refactor: update HeroSection component styles to use accent color for hover state and simplify layout
This commit is contained in:
parent
00405d5335
commit
c2d7e51f5b
@ -56,14 +56,13 @@ export default function HeroSection() {
|
||||
<AnimatedGroup variants={transitionVariants}>
|
||||
<LocaleLink
|
||||
href={linkIntroduction}
|
||||
className="hover:bg-background group mx-auto flex w-fit items-center gap-4 rounded-full border p-1 pl-4 shadow-md shadow-zinc-950/5 transition-colors duration-300 dark:shadow-zinc-950"
|
||||
className="hover:bg-accent group mx-auto flex w-fit items-center gap-2 rounded-full border p-1 pl-4"
|
||||
>
|
||||
<span className="text-foreground text-sm">
|
||||
{t('introduction')}
|
||||
</span>
|
||||
{/* <span className="dark:border-background block h-4 w-0.5 border-l bg-white dark:bg-zinc-700"></span> */}
|
||||
|
||||
<div className="bg-background group-hover:bg-muted size-6 overflow-hidden rounded-full duration-500">
|
||||
<div className="size-6 overflow-hidden rounded-full duration-500">
|
||||
<div className="flex w-12 -translate-x-1/2 duration-500 ease-in-out group-hover:translate-x-0">
|
||||
<span className="flex size-6">
|
||||
<ArrowRight className="m-auto size-3" />
|
||||
|
Loading…
Reference in New Issue
Block a user