From ba173b38adc0fd0cccfb265493ca7cf18ef8c8f2 Mon Sep 17 00:00:00 2001 From: krishna Date: Sun, 23 Jun 2024 15:10:34 +0530 Subject: [PATCH] changed a to link --- frontend/src/Navbar.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/Navbar.tsx b/frontend/src/Navbar.tsx index 7a5d6a7..a8b84aa 100644 --- a/frontend/src/Navbar.tsx +++ b/frontend/src/Navbar.tsx @@ -1,7 +1,7 @@ import React, { useState } from 'react'; import Button from './library/button'; import './index.css'; -import { useLocation, useNavigate } from 'react-router-dom'; +import { useLocation, useNavigate, Link } from 'react-router-dom'; import { useAuth } from './contexts/AuthContext'; import { useModal } from './library/modal/ModalContext'; @@ -35,14 +35,14 @@ const aboutUs = ( community, we welcome you with open arms. Let's connect, code, and create together! For more information about COPS and our initiatives, visit our{' '} - {' '} official website   - + . Thank you for visiting, and we hope you enjoy your time playing UNO! @@ -114,13 +114,13 @@ const rules = (

If you would like to learn more about the Rules of UNO click{' '} - here - + .

@@ -156,13 +156,13 @@ const Navbar: React.FC = () => { className="w-7 h-7 sm:w-6 sm:h-6 md:w-7 md:h-7 lg:w-9 lg:h-9" /> - + logo - + {auth.isLoggedIn() ? ( <>