diff --git a/src/sections/Projects/Sistent/components/popper/code.js b/src/sections/Projects/Sistent/components/popper/code.js index b43e84bb36683..7983121f6aeb1 100644 --- a/src/sections/Projects/Sistent/components/popper/code.js +++ b/src/sections/Projects/Sistent/components/popper/code.js @@ -1,61 +1,141 @@ import React, { useState } from "react"; import { navigate } from "gatsby"; import { useLocation } from "@reach/router"; -import { SistentThemeProvider, Popper, Button, Box } from "@layer5/sistent"; +import { + SistentThemeProvider, + Popper, + Button, + Box, + Grid, +} from "@layer5/sistent"; import { SistentLayout } from "../../sistent-layout"; import { CodeBlock } from "../button/code-block"; import TabButton from "../../../../../reusecore/Button"; import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode"; const codes = [ - ` - - - - I'm positioned above! - - - `, ` - - - I'm positioned above! - - `, + + + + The content of the Popper. + + + `, + ` + + + The content of the Popper. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + `, ]; export const PooperCode = () => { @@ -97,7 +177,7 @@ export const PooperCode = () => { { - + The content of the Popper. @@ -144,7 +224,7 @@ export const PooperCode = () => { - + Positioned Example @@ -154,12 +234,108 @@ export const PooperCode = () => { - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -154,12 +234,108 @@ export const PooperCode = () => {