-
Notifications
You must be signed in to change notification settings - Fork 3
Added React Router For Navigation #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/Pages/LandingPage.tsx
Outdated
|
||
const LandingPage = () => { | ||
return ( | ||
<div className="h-[100vh] flex flex-col justify-center items-center"> | ||
<h1 className="text-[128px] font-medium-">LibraryHub</h1> | ||
<p className="text-[36px] font-medium">Your central place for all library needs</p> | ||
<div className="flex gap-[20px] mt-[50px]"> | ||
<Button variant="outline">Create A Library</Button> | ||
<Button >Join A Library</Button> | ||
<Link to={'Login'}><Button variant="outline">Create A Library</Button></Link> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link should be like 'management/login'
src/Pages/LandingPage.tsx
Outdated
<Button variant="outline">Create A Library</Button> | ||
<Button >Join A Library</Button> | ||
<Link to={'Login'}><Button variant="outline">Create A Library</Button></Link> | ||
<Link to={'SignUp'}><Button >Join A Library</Button></Link> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link should be like 'user/login'
src/App.tsx
Outdated
<Route path="*" element={<NotFound />} /> | ||
<Route path='LibraryManagement' element={<LandingPage/>}/> | ||
<Route path='LibraryManagement/Login' element={<LandingPage/>}/> | ||
<Route path='LibraryManagement/SignUp' element={<LandingPage/>}/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change paths here as well
No description provided.