-
+
setMobileMenuOpen(false)}
+ >
Beau Findlay

@@ -64,12 +68,14 @@ export default function NavBar() {
setMobileMenuOpen(false)}
>
Work
setMobileMenuOpen(false)}
>
This App
diff --git a/src/Client/src/components/NavLink.tsx b/src/Client/src/components/NavLink.tsx
index ae04782..5a7acdd 100644
--- a/src/Client/src/components/NavLink.tsx
+++ b/src/Client/src/components/NavLink.tsx
@@ -4,15 +4,17 @@ interface Props {
children: string;
to: string;
className?: string | null;
+ onClick?: () => void;
}
-export default function NavLink({ children, to, className }: Props) {
+export default function NavLink({ children, to, className, onClick }: Props) {
const defaultStyles = "text-base font-semibold leading-6 hover:text-gray-300";
const styles = className ? className : defaultStyles;
return (
isActive ? `${styles} underline underline-offset-4` : styles
}
diff --git a/src/Client/src/pages/WorkPage.tsx b/src/Client/src/pages/WorkPage.tsx
index ab65dbc..b5e3362 100644
--- a/src/Client/src/pages/WorkPage.tsx
+++ b/src/Client/src/pages/WorkPage.tsx
@@ -6,7 +6,7 @@ export default function WorkPage() {
return (
<>
Work
-
+
Freelance Software Engineer since 2018