revite/src/pages/home/Home.tsx

40 lines
1.3 KiB
TypeScript
Raw Normal View History

2021-06-19 15:24:11 -04:00
import styles from "./Home.module.scss";
import { Link } from "react-router-dom";
import { Text } from "preact-i18n";
import Header from "../../components/ui/Header";
import { Home as HomeIcon } from "@styled-icons/boxicons-solid";
import wideSVG from '../../assets/wide.svg';
2021-06-19 07:34:53 -04:00
export default function Home() {
return (
2021-06-19 15:24:11 -04:00
<div className={styles.home}>
<Header placement="primary">
<HomeIcon size={24} />
<Text id="app.navigation.tabs.home" />
</Header>
2021-06-19 15:24:11 -04:00
<h3>
<Text id="app.special.modals.onboarding.welcome" /> <img src={wideSVG} />
2021-06-19 15:24:11 -04:00
</h3>
<ul>
<li>
Go to your <Link to="/friends">friends list</Link>.
</li>
<li>
Give <Link to="/settings/feedback">feedback</Link>.
</li>
<li>
Join <Link to="/invite/Testers">testers server</Link>.
</li>
<li>
View{" "}
<a href="https://gitlab.insrt.uk/revolt" target="_blank">
source code
</a>
.
</li>
</ul>
2021-06-19 07:34:53 -04:00
</div>
);
}