Skip to content

Commit 351a819

Browse files
committed
Actually improve the backlink
1 parent 29887b1 commit 351a819

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/app/conf/2025/schedule/_components/back-link.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ export function BackLink({
1111
return (
1212
<NextLink
1313
href={`/conf/${year}/${kind}`}
14-
className="group cursor-pointer transition-all typography-menu hover:underline hover:underline-offset-4"
14+
className="group -m-2 inline-flex cursor-pointer items-center gap-2 p-2 transition-all typography-menu hover:underline hover:underline-offset-4"
1515
>
16-
<span className="-m-2 flex items-center gap-2 p-2">
17-
<div className="group-hover:animate-arrow-left group-focus:animate-arrow-left [--arrow-left-x:-1px]">
18-
<ArrowDownIcon className="inline-block size-4 rotate-90" />
19-
</div>
20-
Back to {capitalize(kind)}
21-
</span>
16+
<div className="group-hover:animate-arrow-left group-focus:animate-arrow-left [--arrow-left-x:-1px]">
17+
<ArrowDownIcon className="inline-block size-4 rotate-90" />
18+
</div>
19+
Back to {capitalize(kind)}
2220
</NextLink>
2321
)
2422
}

0 commit comments

Comments
 (0)