removed the need for # in the url, redirect # url to a normal /, there's now a 'page not found' page if the link is broken, profile page added with user being able to see his own blocked content #98
@ -74,14 +74,12 @@ interface NavButtonProps extends NavLinkProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const NavButton = ({
|
const NavButton = ({
|
||||||
to,
|
|
||||||
end,
|
|
||||||
svgPath,
|
svgPath,
|
||||||
viewBox = '0 0 512 512'
|
viewBox = '0 0 512 512',
|
||||||
|
...rest
|
||||||
}: NavButtonProps) => (
|
}: NavButtonProps) => (
|
||||||
<NavLink
|
<NavLink
|
||||||
to={to}
|
{...rest}
|
||||||
end={end}
|
|
||||||
className={({ isActive }) =>
|
className={({ isActive }) =>
|
||||||
`btn btnMain socialNavInsideBtn ${
|
`btn btnMain socialNavInsideBtn ${
|
||||||
isActive ? 'socialNavInsideBtnActive' : ''
|
isActive ? 'socialNavInsideBtnActive' : ''
|
||||||
|
@ -499,8 +499,8 @@ export const ProfilePage = () => {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{tab === 1 && <>USER's BLOGS WIP</>}
|
{tab === 1 && <>WIP</>}
|
||||||
{tab === 2 && <>USER's POSTS WIP</>}
|
{tab === 2 && <>WIP</>}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user