Hover style for the hiring link

pull/2891/head
Kamran Ahmed 2 years ago
parent 63d07c559a
commit 439aab60b0
  1. 8
      components/global-header.tsx

@ -14,7 +14,13 @@ type MenuLinkProps = {
function MenuLink(props: MenuLinkProps) { function MenuLink(props: MenuLinkProps) {
const { text, link, target = '_self', isFancy = false } = props; 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 return <Link
borderBottomWidth={0} borderBottomWidth={0}

Loading…
Cancel
Save