link-stack/apps/link/pages/leafcutter/about.tsx

37 lines
829 B
TypeScript
Raw Normal View History

2023-03-15 12:17:43 +00:00
import { FC, useState } from "react";
2022-12-02 17:45:14 +01:00
import Head from "next/head";
2023-05-24 20:27:57 +00:00
import { Grid } from "@mui/material";
2022-12-02 17:45:14 +01:00
import { Layout } from "components/Layout";
import Iframe from "react-iframe";
2023-03-15 12:17:43 +00:00
const About: FC = () => {
2022-12-02 17:45:14 +01:00
const [leafcutterURL, setLeafcutterURL] = useState(
2022-12-14 13:24:50 +01:00
"https://lc.digiresilience.org/about"
2022-12-02 17:45:14 +01:00
);
return (
<Layout>
<Head>
<title>Link Shell</title>
</Head>
<Grid
container
spacing={0}
sx={{ height: "100%", width: "100%" }}
direction="column"
>
<Grid item sx={{ height: "100vh", width: "100%" }}>
<Iframe
id="link"
url={leafcutterURL}
width="100%"
height="100%"
frameBorder={0}
/>
</Grid>
</Grid>
</Layout>
);
};
2023-03-15 12:17:43 +00:00
export default About;