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

Merged
freakoverse merged 15 commits from staging into master 2024-10-24 12:07:46 +00:00
2 changed files with 5 additions and 7 deletions
Showing only changes of commit 53861a36d3 - Show all commits

View File

@ -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' : ''

View File

@ -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>