Merge branch 'feature/add-deformation-tab' into 'main'
Feature/add deformation tab See merge request vkuchenik/website-framework!75
This commit is contained in:
@@ -6,6 +6,7 @@ import { DailyActivity } from "./HomeTabs/DailyActivity";
|
|||||||
import { Gas } from "./HomeTabs/Gas";
|
import { Gas } from "./HomeTabs/Gas";
|
||||||
import { Seismic } from "./HomeTabs/Seismic";
|
import { Seismic } from "./HomeTabs/Seismic";
|
||||||
import { RemoteSensing } from "./HomeTabs/RemoteSensing";
|
import { RemoteSensing } from "./HomeTabs/RemoteSensing";
|
||||||
|
import { Deformation } from "./HomeTabs/Deformation"
|
||||||
import { CancelButton } from "../CanvasComponents/CancelButton";
|
import { CancelButton } from "../CanvasComponents/CancelButton";
|
||||||
import { SaveButton } from "../CanvasComponents/SaveButton";
|
import { SaveButton } from "../CanvasComponents/SaveButton";
|
||||||
import DeleteAllButton from "../CanvasComponents/DeleteAllButton";
|
import DeleteAllButton from "../CanvasComponents/DeleteAllButton";
|
||||||
@@ -161,6 +162,9 @@ export default function Home(props) {
|
|||||||
<Tabs.Content value="remote">
|
<Tabs.Content value="remote">
|
||||||
<RemoteSensing />
|
<RemoteSensing />
|
||||||
</Tabs.Content>
|
</Tabs.Content>
|
||||||
|
<Tabs.Content value="deformation">
|
||||||
|
<Deformation />
|
||||||
|
</Tabs.Content>
|
||||||
<Tabs.Content value="daily">
|
<Tabs.Content value="daily">
|
||||||
<DailyActivity />
|
<DailyActivity />
|
||||||
</Tabs.Content>
|
</Tabs.Content>
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
import { Box, Text } from "@chakra-ui/react";
|
||||||
|
|
||||||
|
export function Deformation() {
|
||||||
|
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">Deformation page coming soon.</Text>
|
||||||
|
</Box>
|
||||||
|
</Box>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@ export const DASHBOARD_TABS = [
|
|||||||
{ value: "gas", label: "Gas" },
|
{ value: "gas", label: "Gas" },
|
||||||
{ value: "seismic", label: "Seismic" },
|
{ value: "seismic", label: "Seismic" },
|
||||||
{ value: "remote", label: "Remote Sensing" },
|
{ value: "remote", label: "Remote Sensing" },
|
||||||
|
{ value: "deformation", label: "Deformation" },
|
||||||
{ value: "daily", label: "Daily Activity" },
|
{ value: "daily", label: "Daily Activity" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user