feat(frontend): add static page support at /page/[name], add tos + privacy link to login

This commit is contained in:
sam 2022-11-20 22:09:36 +01:00
parent 17cc57a31d
commit 78d6a817ed
4 changed files with 51 additions and 2 deletions

View file

@ -8,6 +8,7 @@ import TextInput from "../../components/TextInput";
import Loading from "../../components/Loading";
import Button, { ButtonStyle } from "../../components/Button";
import Notice from "../../components/Notice";
import BlueLink from "../../components/BlueLink";
interface CallbackResponse {
has_account: boolean;
@ -191,8 +192,9 @@ export default function Discord() {
</span>
<span className="block px-3 pb-3">
<span className="font-bold">Note:</span> by clicking &quot;Create
account&quot;, you agree to the terms of service and the privacy
policy.
account&quot;, you agree to the{" "}
<BlueLink to="/page/tos">terms of service</BlueLink> and the{" "}
<BlueLink to="/page/privacy">privacy policy</BlueLink>.
</span>
</div>
</div>