implemented ratings, fixes

This commit is contained in:
lnn0q 2025-06-01 17:54:57 +03:00
parent 4801cf3a13
commit d1da980501
31 changed files with 775 additions and 236 deletions

View file

@ -96,6 +96,7 @@ export const Route = createRootRouteWithContext<RouterContext>()({
<Stack flexDirection="row" alignItems="center" gap={4}>
<Stack
hideBelow="md"
direction="row"
alignItems="center"
paddingY={1}
@ -124,7 +125,7 @@ export const Route = createRootRouteWithContext<RouterContext>()({
{identity != null ? (
<Menu.Root>
<Menu.Trigger css={{ '&:hover': { cursor: 'pointer' } }}>
<Avatar size="sm" />
<Avatar size="sm" fallback={identity.data.user.username[0]} />
</Menu.Trigger>
<Menu.Positioner mt={2}>
<Menu.Content backgroundColor={'bg.subtle'}>
@ -169,7 +170,9 @@ export const Route = createRootRouteWithContext<RouterContext>()({
</Stack>
<Separator style={{ padding: '4px' }} />
<Outlet />
<TanStackRouterDevtools />
<Stack hidden>
<TanStackRouterDevtools />
</Stack>
</Stack>
);
}