diff --git a/components/global-header.tsx b/components/global-header.tsx index 73316ac55..fec1c89d8 100644 --- a/components/global-header.tsx +++ b/components/global-header.tsx @@ -7,10 +7,14 @@ import siteConfig from '../content/site.json'; type MenuLinkProps = { text: string; link: string; + target?: '_blank' | '_self' | '_parent' | '_top'; + isFancy?: boolean; }; function MenuLink(props: MenuLinkProps) { - const { text, link } = props; + const { text, link, target = '_self', isFancy = false } = props; + + const gradientProp = isFancy ? { bgGradient: 'linear(to-r, yellow.100, teal.100)', bgClip: 'text' } : {}; return {text} ; @@ -29,7 +35,13 @@ function DesktopMenuLinks() { fontSize='15px'> - + +