mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-03 15:01:00 +02:00
Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c
git-subtree-dir: ai-context/workbench-ui git-subtree-split: 32e36a5c2131e429a7081cfaf67dabad3193cda3
This commit is contained in:
commit
a8390532f7
310 changed files with 56430 additions and 0 deletions
22
src/providers/ConnectionLoadingScreen.tsx
Normal file
22
src/providers/ConnectionLoadingScreen.tsx
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import React from "react";
|
||||
import { Box, Spinner, Text } from "@chakra-ui/react";
|
||||
|
||||
/**
|
||||
* Loading screen displayed while establishing WebSocket connection
|
||||
*/
|
||||
export const ConnectionLoadingScreen: React.FC = () => {
|
||||
return (
|
||||
<Box
|
||||
width="100%"
|
||||
height="100vh"
|
||||
display="flex"
|
||||
flexDirection="column"
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
gap={4}
|
||||
>
|
||||
<Spinner size="xl" />
|
||||
<Text color="fg.muted">Connecting to server...</Text>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue