1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-11 03:34:00 +02:00

Hover style for the hiring link

This commit is contained in:
Kamran Ahmed
2022-11-07 15:26:32 +04:00
parent 63d07c559a
commit 439aab60b0

View File

@@ -14,7 +14,13 @@ type MenuLinkProps = {
function MenuLink(props: MenuLinkProps) {
const { text, link, target = '_self', isFancy = false } = props;
const gradientProp = isFancy ? { bgGradient: 'linear(to-r, yellow.100, teal.100)', bgClip: 'text' } : {};
const gradientProp = isFancy ? {
bgGradient: 'linear(to-r, yellow.100, teal.100)',
bgClip: 'text',
_hover: {
color: 'yellow.100'
}
} : {};
return <Link
borderBottomWidth={0}