1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
backup-websites-2024-01/components/NavLink.tsx
Vojtech Mares 8d0450011a feat: change color palette from blue to amber and reduce number of font sizes
- color change blue theme -> amber theme
- text color changes: grays to black & few grays
- font changes: less sizes (small -> normal)
2023-01-11 11:21:34 +01:00

18 lines
381 B
TypeScript

import { ReactNode } from "react";
import Link from "next/link";
type Props = {
href: string;
children: ReactNode;
};
export function NavLink({ href, children }: Props) {
return (
<Link
href={href}
className="inline-block rounded-lg py-1 px-2 text-lg font-medium text-slate-700 hover:bg-slate-100 hover:text-black"
>
{children}
</Link>
);
}