mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-12 18:29:57 -05:00
41 lines
1.3 KiB
TypeScript
41 lines
1.3 KiB
TypeScript
import { Home as HomeIcon } from "@styled-icons/boxicons-solid";
|
|
import Button from "../../components/ui/Button";
|
|
import { Link } from "react-router-dom";
|
|
|
|
import styles from "./Home.module.scss";
|
|
import { Text } from "preact-i18n";
|
|
|
|
import wideSVG from "../../assets/wide.svg";
|
|
import Header from "../../components/ui/Header";
|
|
|
|
export default function Home() {
|
|
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>
|
|
<div className={styles.actions}>
|
|
<Link to="/invite/Testers">
|
|
<Button contrast error>
|
|
Join testers server
|
|
</Button>
|
|
</Link>
|
|
<Link to="/settings/feedback">
|
|
<Button contrast>
|
|
Give feedback
|
|
</Button>
|
|
</Link>
|
|
<a href="https://gitlab.insrt.uk/revolt" target="_blank">
|
|
<Button contrast>
|
|
Source code
|
|
</Button>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|