Skip to content

Commit 1c55572

Browse files
feat: add footer to the login page (#1012)
1 parent 732e0f0 commit 1c55572

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

site/src/pages/login.tsx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { makeStyles } from "@material-ui/core/styles"
22
import { useActor } from "@xstate/react"
33
import React, { useContext } from "react"
44
import { Navigate, useLocation } from "react-router-dom"
5+
import { Footer } from "../components/Page/Footer"
56
import { retrieveRedirect } from "../util/redirect"
67
import { XServiceContext } from "../xServices/StateContext"
78
import { SignInForm } from "./../components/SignIn"
@@ -13,6 +14,12 @@ export const useStyles = makeStyles((theme) => ({
1314
justifyContent: "center",
1415
alignItems: "center",
1516
},
17+
layout: {
18+
display: "flex",
19+
flexDirection: "column",
20+
gap: theme.spacing(4),
21+
alignItems: "center",
22+
},
1623
container: {
1724
marginTop: theme.spacing(-8),
1825
minWidth: "320px",
@@ -38,8 +45,12 @@ export const SignInPage: React.FC = () => {
3845
} else {
3946
return (
4047
<div className={styles.root}>
41-
<div className={styles.container}>
42-
<SignInForm isLoading={isLoading} authErrorMessage={authErrorMessage} onSubmit={onSubmit} />
48+
<div className={styles.layout}>
49+
<div className={styles.container}>
50+
<SignInForm isLoading={isLoading} authErrorMessage={authErrorMessage} onSubmit={onSubmit} />
51+
</div>
52+
53+
<Footer />
4354
</div>
4455
</div>
4556
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy