mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-12 20:24:21 +02:00
Hover style for the hiring link
This commit is contained in:
@@ -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}
|
||||||
|
Reference in New Issue
Block a user