// __SDEFILE__ - This file is a dependency for the stand-alone environment import Link from 'next/link' export const iconSize = 'h-8 w-8 md:h-10 md:w-10 lg:h-12 lg:w-12' export const NavButton = ({ href, label, color, children, onClick = false, extraClasses = '', active = false, }) => { const className = 'border-0 px-1 lg:px-3 xl:px-4 text-base py-3 md:py-4 text-center flex flex-col items-center 2xl:w-36 ' + `hover:bg-${color} text-${color} hover:text-neutral grow xl:grow-0 relative ${extraClasses} ${ active ? 'font-heavy' : '' }` const span = {label} return onClick ? ( ) : ( {children} {span} ) } export const NavSpacer = () => (
|
)