This commit is contained in:
john 2025-05-18 13:41:08 +02:00
parent abd7c2f073
commit 384da1e832
18 changed files with 150 additions and 116 deletions

View file

@ -5,7 +5,8 @@ import { useParams } from 'react-router-dom'
import SingleColumnLayout from '../../../layouts/SingleColumnLayout.tsx'
import NavBar from '../../../components/NavBar.tsx'
import { useFeedViewModel } from '../components/FeedView.ts'
import NavLinkButton from '../../../components/NavLinkButton.tsx'
import NavButton from '../../../components/buttons/NavButton.tsx'
import AuthNavButtons from '../../auth/components/AuthNavButtons.tsx'
interface AuthorPageParams {
postsService: PostsService
@ -27,8 +28,8 @@ export default function AuthorPage({ postsService }: AuthorPageParams) {
<SingleColumnLayout
navbar={
<NavBar>
<NavLinkButton to={'/'}>home</NavLinkButton>
<NavLinkButton to="/logout">logout</NavLinkButton>
<NavButton to={'/'}>home</NavButton>
<AuthNavButtons />
</NavBar>
}
>