aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/NavigateLink.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/components/NavigateLink.tsx')
-rw-r--r--frontend/app/components/NavigateLink.tsx24
1 files changed, 12 insertions, 12 deletions
diff --git a/frontend/app/components/NavigateLink.tsx b/frontend/app/components/NavigateLink.tsx
index 8741121..712c5ce 100644
--- a/frontend/app/components/NavigateLink.tsx
+++ b/frontend/app/components/NavigateLink.tsx
@@ -1,18 +1,18 @@
import { Link } from "wouter";
export default function NavigateLink({
- to,
- children,
+ to,
+ children,
}: {
- to: string;
- children: React.ReactNode;
+ to: string;
+ children: React.ReactNode;
}) {
- return (
- <Link
- to={to}
- className="text-lg text-white bg-brand-600 px-4 py-2 border-2 border-brand-50 rounded-sm transition duration-300 hover:bg-brand-500 focus:ring-3 focus:ring-brand-400 focus:outline-hidden"
- >
- {children}
- </Link>
- );
+ return (
+ <Link
+ to={to}
+ className="text-lg text-white bg-brand-600 px-4 py-2 border-2 border-brand-50 rounded-sm transition duration-300 hover:bg-brand-500 focus:ring-3 focus:ring-brand-400 focus:outline-hidden"
+ >
+ {children}
+ </Link>
+ );
}