mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
feat: no player selected
This commit is contained in:
1 parent
b7486022eb
commit
145bc84fb1
1 file changed
+15
@@ -12,6 +12,7 @@ import {
|
|||||||
Checkbox,
|
Checkbox,
|
||||||
DropdownMenu,
|
DropdownMenu,
|
||||||
Flex,
|
Flex,
|
||||||
|
Heading,
|
||||||
Text,
|
Text,
|
||||||
TextField,
|
TextField,
|
||||||
} from '@radix-ui/themes';
|
} from '@radix-ui/themes';
|
||||||
@@ -249,6 +250,20 @@ export default function Page() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<SessionPage naked={false} />
|
<SessionPage naked={false} />
|
||||||
|
|
||||||
|
{!session.isTracking && (
|
||||||
|
<Flex
|
||||||
|
align="center"
|
||||||
|
justify="center"
|
||||||
|
direction="column"
|
||||||
|
style={{ flex: 1 }}
|
||||||
|
>
|
||||||
|
<Heading color="gray">No player selected</Heading>
|
||||||
|
<Text color="gray">
|
||||||
|
Search for a <PersonIcon /> Player to get started
|
||||||
|
</Text>
|
||||||
|
</Flex>
|
||||||
|
)}
|
||||||
</PageWrapper>
|
</PageWrapper>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user