2021-07-05 11:23:23 +01:00
|
|
|
import { Home as HomeIcon } from "@styled-icons/boxicons-solid";
|
2021-06-19 20:24:11 +01:00
|
|
|
import { Link } from "react-router-dom";
|
|
|
|
|
2021-07-05 11:23:23 +01:00
|
|
|
import styles from "./Home.module.scss";
|
2021-06-19 20:24:11 +01:00
|
|
|
import { Text } from "preact-i18n";
|
2021-07-05 11:23:23 +01:00
|
|
|
|
|
|
|
import wideSVG from "../../assets/wide.svg";
|
2021-07-10 15:57:29 +01:00
|
|
|
import Button from "../../components/ui/Button";
|
2021-06-19 20:24:11 +01:00
|
|
|
import Header from "../../components/ui/Header";
|
2021-06-20 11:05:12 +01:00
|
|
|
|
2021-06-19 12:34:53 +01:00
|
|
|
export default function Home() {
|
2021-07-05 11:25:20 +01:00
|
|
|
return (
|
|
|
|
<div className={styles.home}>
|
|
|
|
<Header placement="primary">
|
|
|
|
<HomeIcon size={24} />
|
|
|
|
<Text id="app.navigation.tabs.home" />
|
|
|
|
</Header>
|
|
|
|
<h3>
|
|
|
|
<Text id="app.special.modals.onboarding.welcome" />{" "}
|
|
|
|
<img src={wideSVG} />
|
|
|
|
</h3>
|
2021-07-09 16:23:06 +01:00
|
|
|
<div className={styles.actions}>
|
|
|
|
<Link to="/invite/Testers">
|
|
|
|
<Button contrast error>
|
|
|
|
Join testers server
|
|
|
|
</Button>
|
|
|
|
</Link>
|
|
|
|
<Link to="/settings/feedback">
|
2021-07-10 15:57:29 +01:00
|
|
|
<Button contrast>Give feedback</Button>
|
2021-07-09 16:23:06 +01:00
|
|
|
</Link>
|
2021-07-10 15:57:29 +01:00
|
|
|
<a
|
|
|
|
href="https://gitlab.insrt.uk/revolt"
|
|
|
|
target="_blank"
|
|
|
|
rel="noreferrer">
|
|
|
|
<Button contrast>Source code</Button>
|
2021-07-09 16:23:06 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
2021-07-05 11:25:20 +01:00
|
|
|
</div>
|
|
|
|
);
|
2021-06-19 12:34:53 +01:00
|
|
|
}
|