feat(SW-186): implement cms data into new header
This commit is contained in:
@@ -4,9 +4,17 @@ import styles from "./headerLink.module.css"
|
||||
|
||||
import type { HeaderLinkProps } from "@/types/components/header/headerLink"
|
||||
|
||||
export default function HeaderLink({ children, ...props }: HeaderLinkProps) {
|
||||
export default function HeaderLink({
|
||||
children,
|
||||
className,
|
||||
...props
|
||||
}: HeaderLinkProps) {
|
||||
return (
|
||||
<Link color="burgundy" className={styles.headerLink} {...props}>
|
||||
<Link
|
||||
color="burgundy"
|
||||
className={`${styles.headerLink} ${className}`}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
</Link>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user