From 47e71011a975e5e45dfe6326841b14eea8587e49 Mon Sep 17 00:00:00 2001 From: ameer2468 <33054370+ameer2468@users.noreply.github.com> Date: Tue, 10 Sep 2024 13:08:09 +0300 Subject: [PATCH] fix hidden nav --- apps/landing/src/components/cta-primary-button.tsx | 6 ++++-- apps/landing/src/components/global-nav-bar/index.tsx | 10 +++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/landing/src/components/cta-primary-button.tsx b/apps/landing/src/components/cta-primary-button.tsx index fc35a3bf1..3d2982a08 100644 --- a/apps/landing/src/components/cta-primary-button.tsx +++ b/apps/landing/src/components/cta-primary-button.tsx @@ -1,7 +1,7 @@ import { ArrowCircleDown, Icon } from '@phosphor-icons/react'; import clsx from 'clsx'; import Link from 'next/link'; -import { ReactNode, useId } from 'react'; +import { ComponentProps, ReactNode, useId } from 'react'; import { Platform } from '~/utils/current-platform'; type CtaButtonProps = { @@ -16,7 +16,8 @@ type CtaButtonProps = { | { platform: Platform | null; } -); +) & + ComponentProps<'button'>; export function CtaPrimaryButton({ iconComponent: Icon = ArrowCircleDown, @@ -53,6 +54,7 @@ export function CtaPrimaryButton({ {/* Close Button */}
@@ -143,7 +143,7 @@ export function NavBar() {
{/* Nav Links */} -
+
{NAVIGATION_ITEMS.map(({ label, href, adornment }) => ( {label}{' '} @@ -154,7 +154,11 @@ export function NavBar() { )} ))} - +