website refactor
This commit is contained in:
@@ -39,7 +39,7 @@ export function ProfileLeaguesTemplate({ viewData }: ProfileLeaguesTemplateProps
|
||||
|
||||
{viewData.ownedLeagues.length === 0 ? (
|
||||
<Text size="sm" color="text-gray-400">
|
||||
You don't own any leagues yet in this session.
|
||||
You don't own any leagues yet in this session.
|
||||
</Text>
|
||||
) : (
|
||||
<Stack gap={3}>
|
||||
@@ -55,7 +55,7 @@ export function ProfileLeaguesTemplate({ viewData }: ProfileLeaguesTemplateProps
|
||||
<Surface variant="muted" rounded="lg" border padding={6}>
|
||||
<Stack gap={4}>
|
||||
<Stack direction="row" align="center" justify="between">
|
||||
<Heading level={2}>Leagues you're in</Heading>
|
||||
<Heading level={2}>Leagues you're in</Heading>
|
||||
{viewData.memberLeagues.length > 0 && (
|
||||
<Text size="xs" color="text-gray-400">
|
||||
{viewData.memberLeagues.length} {viewData.memberLeagues.length === 1 ? 'league' : 'leagues'}
|
||||
@@ -65,7 +65,7 @@ export function ProfileLeaguesTemplate({ viewData }: ProfileLeaguesTemplateProps
|
||||
|
||||
{viewData.memberLeagues.length === 0 ? (
|
||||
<Text size="sm" color="text-gray-400">
|
||||
You're not a member of any other leagues yet.
|
||||
You're not a member of any other leagues yet.
|
||||
</Text>
|
||||
) : (
|
||||
<Stack gap={3}>
|
||||
|
||||
Reference in New Issue
Block a user