File tree Expand file tree Collapse file tree 1 file changed +40
-9
lines changed
Expand file tree Collapse file tree 1 file changed +40
-9
lines changed Original file line number Diff line number Diff line change 1- import { Center , Loader , MantineProvider } from "@mantine/core" ;
1+ import {
2+ AppShell ,
3+ Center ,
4+ Flex ,
5+ Loader ,
6+ MantineProvider ,
7+ Text ,
8+ } from "@mantine/core" ;
29import "@mantine/core/styles.css" ;
310import { ReactFlowProvider } from "@xyflow/react" ;
411import "@xyflow/react/dist/style.css" ;
@@ -12,15 +19,39 @@ import { theme } from "./theme";
1219export default function App ( ) {
1320 return (
1421 < MantineProvider theme = { theme } defaultColorScheme = "dark" >
15- < Center h = "100vh" >
16- < Suspense fallback = { < Loader color = "indigo" size = "lg" /> } >
17- < LogicVMProvider >
18- < ReactFlowProvider >
19- < LogicVMFlow />
20- </ ReactFlowProvider >
21- </ LogicVMProvider >
22+ < ReactFlowProvider >
23+ < Suspense
24+ fallback = {
25+ < Center pt = "50vh" >
26+ < Loader color = "indigo" size = "lg" />
27+ </ Center >
28+ }
29+ >
30+ < AppShell h = "100vh" footer = { { height : 30 } } >
31+ < AppShell . Main h = "100%" >
32+ < LogicVMProvider >
33+ < LogicVMFlow />
34+ </ LogicVMProvider >
35+ </ AppShell . Main >
36+
37+ < AppShell . Footer >
38+ < Flex h = "100%" justify = "center" align = "center" >
39+ < Text
40+ size = "sm"
41+ c = "dimmed"
42+ td = "underline"
43+ component = "a"
44+ href = "https://github.com/object-Object/mindy/tree/main/mindy-website"
45+ target = "_blank"
46+ rel = "noopener noreferrer"
47+ >
48+ Source
49+ </ Text >
50+ </ Flex >
51+ </ AppShell . Footer >
52+ </ AppShell >
2253 </ Suspense >
23- </ Center >
54+ </ ReactFlowProvider >
2455 </ MantineProvider >
2556 ) ;
2657}
You can’t perform that action at this time.
0 commit comments