Merge branch 'sidebar/account-sidebar' into 'main'

removed account button

See merge request vkuchenik/website-framework!63
This commit is contained in:
2025-08-12 21:31:38 +00:00
5 changed files with 38 additions and 36 deletions
+1 -2
View File
@@ -3,7 +3,6 @@ import RegionalMap from "./views/RegionalMap";
import Volcano from "./views/Volcano";
import Admin from "./views/Admin";
import Account from "./views/Account"
import Settings from "./views/Settings"
import Home from "./views/Home";
import { DASHBOARD_VIEWS } from "@/constants/viewKeys";
import { chakra } from "@chakra-ui/react";
@@ -23,7 +22,7 @@ export default function Canvas({...props}) {
{view === "volcano" && <Volcano />}
{view === "admin" && <Admin />}
{view === "account" && <Account />}
{view === "settings" && <Settings />}
{view === "settings" && <Personal />}
{view === "personal" && <Personal />}
{view === "security" && <Security />}
</chakra.div>
@@ -1,9 +1,24 @@
import { Box } from "@chakra-ui/react";
import { Box, Text } from "@chakra-ui/react";
export default function Personal() {
return (
<Box color="white" bg="tomato">
Hello World
<Box p={8} mt={4} ml="auto" mr="auto" width="600px">
<Box
bg="bg"
shadow="md"
borderRadius="md"
p={8}
width="600px"
height="100px"
textAlign="center"
display="flex"
alignItems="center"
justifyContent="center"
>
<Text fontsize="2xl" fontWeight="bold" color="gray.700">
Personal Info Canvas coming soon!
</Text>
</Box>
</Box>
);
}
@@ -1,9 +1,24 @@
import { Box } from "@chakra-ui/react";
import { Box, Text } from "@chakra-ui/react";
export default function Security() {
return (
<Box color="white" bg="tomato">
Heya
<Box p={8} mt={4} ml="auto" mr="auto" width="600px">
<Box
bg="bg"
shadow="md"
borderRadius="md"
p={8}
width="600px"
height="100px"
textAlign="center"
display="flex"
alignItems="center"
justifyContent="center"
>
<Text fontsize="2xl" fontWeight="bold" color="gray.700">
Security Canvas coming soon!
</Text>
</Box>
</Box>
);
}
@@ -1,24 +0,0 @@
import { Box, Text } from '@chakra-ui/react';
export default function Settings() {
return (
<Box p={8} mt={4} ml="auto" mr="auto" width="600px">
<Box
bg="bg"
shadow="md"
borderRadius="md"
p={8}
width="600px"
height="100px"
textAlign="center"
display="flex"
alignItems="center"
justifyContent="center"
>
<Text fontsize="2xl" fontWeight="bold" color="gray.700">
Settings Canvas coming soon!
</Text>
</Box>
</Box>
);
}