init frontend

This commit is contained in:
2023-09-27 20:27:25 +01:00
parent 4aa5cd6dfc
commit 9e6659c14e
63 changed files with 4901 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { useOutletContext } from 'react-router-dom'
import { Stack } from '@mantine/core'
import UserPostFeed from '../components/UserPostFeed'
import type { UserContext } from '../components/UserLayout'
function UserPage() {
const { user } = useOutletContext<UserContext>()
return (
<Stack my='lg' spacing='md'>
<UserPostFeed user={user} />
</Stack>
)
}
export default UserPage