forked from abner/for-legacy-web
Port context menus.
This commit is contained in:
28
src/pages/home/Home.module.scss
Normal file
28
src/pages/home/Home.module.scss
Normal file
@@ -0,0 +1,28 @@
|
||||
.home {
|
||||
user-select: none;
|
||||
|
||||
h3 {
|
||||
margin: 1em 0;
|
||||
font-size: 48px;
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
height: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: auto;
|
||||
display: block;
|
||||
font-size: 18px;
|
||||
text-align: center;
|
||||
|
||||
li {
|
||||
list-style: lower-greek;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-light="true"] .home svg {
|
||||
filter: invert(100%);
|
||||
}
|
||||
@@ -1,9 +1,35 @@
|
||||
import PaintCounter from "../../lib/PaintCounter";
|
||||
import styles from "./Home.module.scss";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
import { Text } from "preact-i18n";
|
||||
import Header from "../../components/ui/Header";
|
||||
// import WideLogo from "../../../../../assets/wide.svg";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div>
|
||||
<PaintCounter />
|
||||
<div className={styles.home}>
|
||||
<Header placement="primary"><Text id="app.navigation.tabs.home" /></Header>
|
||||
<h3>
|
||||
<Text id="app.special.modals.onboarding.welcome" /> {/*<WideLogo />*/}
|
||||
</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>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user