-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d11609
commit 50c556e
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import superjson from "superjson"; | ||
import { GetServerSideProps } from "next"; | ||
import { SideNavLinkDestination } from "components/Sidebar/NavLinkUtils"; | ||
import { testConnections } from "testData"; | ||
import { SidebarLayoutShell } from "~/components/SidebarLayoutShell"; | ||
import { ContentContainer } from "~/components/utils/ContentContainer"; | ||
import { | ||
Flex, | ||
Heading, | ||
VStack, | ||
} from "@chakra-ui/react"; | ||
import { useState } from "react"; | ||
|
||
export const getServerSideProps: GetServerSideProps = async (context) => { | ||
return { props: { connections: superjson.stringify(testConnections) } }; | ||
}; | ||
|
||
const Connections = ({}) => { | ||
const [selectedIndex, updateIndex] = useState(1); | ||
return ( | ||
<SidebarLayoutShell currentTab={SideNavLinkDestination.Connections}> | ||
<ContentContainer height="full"> | ||
<VStack w="full" alignItems="flex-start" h={"full"}> | ||
<Heading fontWeight="medium" size="xl" mb="8"> | ||
Configure Metlo connection for GCP | ||
</Heading> | ||
<Flex w={"full"} h={"full"} direction="column"> | ||
Coming Soon | ||
</Flex> | ||
</VStack> | ||
</ContentContainer> | ||
</SidebarLayoutShell> | ||
); | ||
}; | ||
|
||
export default Connections; |