From d2df867a44b0f1a88b40a3579b77091c9636d299 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 30 May 2024 17:26:59 +0300 Subject: [PATCH 1/2] fix: give top nav links a bit more hit area and breathing room --- components/Nav.tsx | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/components/Nav.tsx b/components/Nav.tsx index 622c4cf..c52eff8 100644 --- a/components/Nav.tsx +++ b/components/Nav.tsx @@ -1,7 +1,7 @@ 'use client'; import Image from 'next/image'; -import Link from 'next/link'; +import Link, { LinkProps } from 'next/link'; import Wrapper from './Wrapper'; import { useEffect, useRef, useState } from 'react'; @@ -47,30 +47,13 @@ export default function Nav() {
- - GitHub - - - - Slack - - - - Resources - - - - Shop - - - - Code of Conduct - + GitHub + Slack + Resources + Shop + Code of Conduct
@@ -79,4 +62,6 @@ export default function Nav() { ); } -const NavSeparator = () =>
|
; +const NavLink = (props: React.PropsWithChildren) => ( + +); From c89b1b697e85649e37025867a53ccb3a1accc116 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 30 May 2024 17:30:09 +0300 Subject: [PATCH 2/2] fix: disable inadvertent selection on COC checkbox --- components/Form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Form.tsx b/components/Form.tsx index 287d29b..a3f2f9c 100644 --- a/components/Form.tsx +++ b/components/Form.tsx @@ -85,7 +85,7 @@ export default function Form() { -