feat(frontend): add discord callback page

this only handles existing accounts for now, still need to write an action function
This commit is contained in:
sam 2024-09-13 14:56:38 +02:00
parent 116d0577a7
commit ff22530f0a
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
13 changed files with 196 additions and 66 deletions

View file

@ -10,7 +10,7 @@ import Form from "react-bootstrap/Form";
import Button from "react-bootstrap/Button";
import ButtonGroup from "react-bootstrap/ButtonGroup";
import ListGroup from "react-bootstrap/ListGroup";
import { Container, Row, Col } from "react-bootstrap";
import { Row, Col } from "react-bootstrap";
import { useTranslation } from "react-i18next";
import i18n from "~/i18next.server";
import serverRequest, { getToken, writeCookie } from "~/lib/request.server";
@ -72,7 +72,7 @@ export default function LoginPage() {
const actionData = useActionData<typeof action>();
return (
<Container>
<>
<Row>
<Col md className="mb-4">
<h2>{t("log-in.form-title")}</h2>
@ -121,7 +121,7 @@ export default function LoginPage() {
</ListGroup>
</Col>
</Row>
</Container>
</>
);
}