From 3fcb50286f3989740d918431ee6b43dc5bcaca26 Mon Sep 17 00:00:00 2001 From: Noah Penza Date: Fri, 30 Aug 2024 22:06:15 +1000 Subject: [PATCH] replacing a tags with link tags in AppNavBar --- .../app/src/client/components/AppNavBar.tsx | 41 ++++++++++++------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/template/app/src/client/components/AppNavBar.tsx b/template/app/src/client/components/AppNavBar.tsx index cdf5d35d..ca3d06c9 100644 --- a/template/app/src/client/components/AppNavBar.tsx +++ b/template/app/src/client/components/AppNavBar.tsx @@ -1,5 +1,6 @@ -import { Link, routes } from 'wasp/client/router'; +import { routes } from 'wasp/client/router'; import { useAuth } from 'wasp/client/auth'; +import { Link } from 'react-router-dom'; import { useState } from 'react'; import { Dialog } from '@headlessui/react'; import { BiLogIn } from 'react-icons/bi'; @@ -15,8 +16,6 @@ const navigation = [ { name: 'AI Scheduler (Demo App)', href: routes.DemoAppRoute.build() }, { name: 'File Upload (AWS S3)', href: routes.FileUploadRoute.build() }, { name: 'Pricing', href: routes.PricingPageRoute.build() }, - { name: 'Documentation', href: DocsUrl }, - { name: 'Blog', href: BlogUrl }, ]; const NavLogo = () => Your SaaS App; @@ -29,9 +28,9 @@ export default function AppNavBar() {