diff --git a/src/app/error.tsx b/src/app/error.tsx index f59b5e2..f87b63a 100644 --- a/src/app/error.tsx +++ b/src/app/error.tsx @@ -18,7 +18,7 @@ export default function GlobalError() { return ( -
+
If this was a commercial project, I'd say something like: "We have encountered an unexpected error. It has been reported automatically but if you keep experiencing this please reach out to support." diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index e489eed..ed1d4a2 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -1,21 +1,11 @@ import Link from "next/link"; import { styled } from "../../../styled-system/jsx"; import { AuthButton } from "./components/AuthButton"; +import { Centered } from "@/components/Centered"; const StyledMain = styled("main", { base: { - position: "absolute", - width: "100%", - height: "100%", - - display: "flex", - alignItems: "center", - justifyContent: "center", - }, -}); - -const StyledContainer = styled("div", { - base: { + width: "80%", maxWidth: "400rem", display: "flex", flexDirection: "column", @@ -25,8 +15,8 @@ const StyledContainer = styled("div", { export default function Login() { return ( - - + +

This is a private app.

If you aren't on the whitelist, you will not be able to sign in! @@ -38,7 +28,7 @@ export default function Login() { .

-
-
+ + ); }