feat(nui): WIP manual pagination

This commit is contained in:
Luke committed 2022-01-04 18:36:52 +01:00
1 parent 3a1462e0c0
commit 7560099231
8 files changed
+67 -57

No files matched your search

+18 -21
View File
@@ -23,27 +23,24 @@ const App: React.FC = () => {
return (
<Center w="100%" h="100%">
{visible && (
<MotionBox
animate={{ y: [100, 0] }}
width="60%"
height="50%"
backgroundColor="#191E26"
borderRadius="1vh"
color="white"
fontFamily="Poppins"
userSelect="none"
>
<TopBar />
<LeftBar />
<RightBar />
<MainContent>
<Routes>
<Route path="/:resource" element={<Resource />} />
</Routes>
</MainContent>
</MotionBox>
)}
<Box
width="60%"
height="50%"
backgroundColor="#191E26"
borderRadius="1vh"
color="white"
fontFamily="Poppins"
userSelect="none"
>
<TopBar />
<LeftBar />
<RightBar />
<MainContent>
<Routes>
<Route path="/:resource" element={<Resource />} />
</Routes>
</MainContent>
</Box>
</Center>
);
};