Privacy page restyling (#22)

This commit is contained in:
Riccardo Senica
2024-11-23 13:01:48 +01:00
committed by GitHub
parent c300b2501d
commit d8170747c7
12 changed files with 275 additions and 183 deletions

View File

@@ -5,11 +5,12 @@ import { Button } from './Button';
interface LinkProps {
path: string;
text: string;
className?: string;
}
export default function CustomLink({ path, text }: LinkProps) {
export default function CustomLink({ path, text, className }: LinkProps) {
return (
<Button asChild>
<Button asChild className={className}>
<Link href={path}>{text}</Link>
</Button>
);