signup page
This commit is contained in:
parent
82361fdf63
commit
2f330a3b40
4 changed files with 105 additions and 4 deletions
|
@ -7,6 +7,7 @@ import NewPostWidget from '../components/NewPostWidget.tsx'
|
|||
import { useFeedViewModel } from '../feed/feedViewModel.ts'
|
||||
import { Post } from '../model/posts/posts.ts'
|
||||
import { Temporal } from '@js-temporal/polyfill'
|
||||
import AppLayout from '../layouts/AppLayout.tsx'
|
||||
|
||||
interface HomePageProps {
|
||||
postsService: PostsService
|
||||
|
@ -48,9 +49,11 @@ export default function HomePage({ postsService, mediaService }: HomePageProps)
|
|||
)
|
||||
|
||||
return (
|
||||
<main className={`w-full max-w-3xl mx-auto`}>
|
||||
<NewPostWidget onSubmit={onCreatePost} isSubmitting={isSubmitting} />
|
||||
<FeedView pages={pages} onLoadMore={loadNextPage} />
|
||||
</main>
|
||||
<AppLayout>
|
||||
<main className={`w-full max-w-3xl mx-auto`}>
|
||||
<NewPostWidget onSubmit={onCreatePost} isSubmitting={isSubmitting} />
|
||||
<FeedView pages={pages} onLoadMore={loadNextPage} />
|
||||
</main>
|
||||
</AppLayout>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue