-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
added the Happy Recovery Story page #519
Conversation
good work but in the issue comments i mentioned that it will be added in landing page which is not ready , so do one thing just create a separate route for this no need to add any tab in the nav bar in the exisiting ui |
Hello @codewarnab, I'm sorry for my mistake. I have removed the tab from the navbar, and the path to the page is /recovereds-page Please review once again |
@codewarnab please review |
src/Components/shared/Navbar.jsx
Outdated
/>, | ||
<BottomNavigationAction key="register" value="/register" showLabel label="Register" component={Link} to="/register" icon={<FaUserPlus size={28} />} />, | ||
<BottomNavigationAction key="login" value="/login" showLabel label="Login" component={Link} to="/login" icon={<FaUser size={24} />} />, | ||
/*<BottomNavigationAction key="RecoveredsPage" value="/recovereds-page" showLabel label="Stories" component={Link} to="/recovereds-page" icon={<FaPaw size={28} />} />, // for recovered stories section*/ |
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.
remove this part
src/Components/shared/Navbar.jsx
Outdated
@@ -2,14 +2,12 @@ import React, { useState, useEffect } from 'react'; | |||
import { Link, useLocation } from 'react-router-dom'; | |||
import BottomNavigation from '@mui/material/BottomNavigation'; | |||
import BottomNavigationAction from '@mui/material/BottomNavigationAction'; | |||
import { FaUser, FaUserPlus} from 'react-icons/fa'; | |||
import { FaUser, FaUserPlus, FaPaw } from 'react-icons/fa'; |
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.
remove this icon
src/Components/shared/Navbar.jsx
Outdated
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.
if possible revert this file as before
I have done changes and added the current original code of navbar to Navbar.jsx, please check @codewarnab |
Description
As stated in the issue #495 I have added a page that showcases the rescuers and the recovery stories of the rescued animals
Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state "None"]
Screenshots / GIFs (if applicable)
paws.mp4
Checklist:
Additional Notes
I have made the folder under src / pages / user / RecoveredsPage
The required images are added in the images folder of the RecoveredsPage folder.
Please review the PR, and if there are any changes required, let me know