2021-01-20 18:42:19 +11:00
|
|
|
import { Flex, Text, Box } from "theme-ui";
|
2020-05-07 22:29:31 +10:00
|
|
|
import raw from "raw.macro";
|
2020-04-09 18:19:07 +10:00
|
|
|
|
|
|
|
|
import Footer from "../components/Footer";
|
2020-05-07 22:29:31 +10:00
|
|
|
import Markdown from "../components/Markdown";
|
2020-04-09 18:19:07 +10:00
|
|
|
|
2020-07-01 20:19:26 +10:00
|
|
|
import assets from "../docs/assets";
|
|
|
|
|
|
2021-01-19 18:19:06 +11:00
|
|
|
const database = raw("../docs/faq/database.md");
|
|
|
|
|
const maps = raw("../docs/faq/maps.md");
|
|
|
|
|
const audioSharing = raw("../docs/faq/audio-sharing.md");
|
2021-01-20 18:42:19 +11:00
|
|
|
const general = raw("../docs/faq/general.md");
|
2021-01-21 14:18:33 +11:00
|
|
|
const connection = raw("../docs/faq/connection.md");
|
2020-04-09 21:56:02 +10:00
|
|
|
|
2020-04-09 18:19:07 +10:00
|
|
|
function FAQ() {
|
|
|
|
|
return (
|
|
|
|
|
<Flex
|
|
|
|
|
sx={{
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
minHeight: "100%",
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Flex
|
|
|
|
|
sx={{
|
|
|
|
|
flexDirection: "column",
|
2020-04-09 21:56:02 +10:00
|
|
|
maxWidth: "500px",
|
2020-04-09 18:19:07 +10:00
|
|
|
flexGrow: 1,
|
|
|
|
|
}}
|
2020-04-14 22:38:43 +10:00
|
|
|
m={4}
|
2020-04-09 18:19:07 +10:00
|
|
|
>
|
2020-04-09 23:45:39 +10:00
|
|
|
<Text mb={2} variant="heading" as="h1" sx={{ fontSize: 5 }}>
|
2020-04-09 21:56:02 +10:00
|
|
|
Frequently Asked Questions
|
|
|
|
|
</Text>
|
2021-01-20 18:42:19 +11:00
|
|
|
<Box my={1} id="general">
|
|
|
|
|
<Markdown source={general} assets={assets} />
|
|
|
|
|
</Box>
|
|
|
|
|
<Box my={1} id="maps">
|
2021-01-19 18:19:06 +11:00
|
|
|
<Markdown source={maps} assets={assets} />
|
2021-01-20 18:42:19 +11:00
|
|
|
</Box>
|
|
|
|
|
<Box my={1} id="audio-sharing">
|
2021-01-19 18:19:06 +11:00
|
|
|
<Markdown source={audioSharing} assets={assets} />
|
2021-01-20 18:42:19 +11:00
|
|
|
</Box>
|
|
|
|
|
<Box my={1} id="database">
|
|
|
|
|
<Markdown source={database} assets={assets} />
|
|
|
|
|
</Box>
|
2021-01-21 14:18:33 +11:00
|
|
|
<Box my={1} id="connection">
|
|
|
|
|
<Markdown source={connection} assets={assets} />
|
|
|
|
|
</Box>
|
2020-04-09 18:19:07 +10:00
|
|
|
</Flex>
|
|
|
|
|
<Footer />
|
|
|
|
|
</Flex>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default FAQ;
|