~kyoheiu/frssco

496368d04d89500c07ad9e135dc50b48a326b2a8 — Kyohei Uto 10 months ago 21de170
Add logo and margin to login form
2 files changed, 5 insertions(+), 2 deletions(-)

M routes/index.tsx
M static/globals.css
M routes/index.tsx => routes/index.tsx +3 -0
@@ 19,6 19,9 @@ const compareUpdated = (a: Entry, b: Entry): number => {
const Login = () => {
  return (
    <div className="login-form">
      <p>
        <img src="logo.png" />
      </p>
      <form method="post" action="/api/login">
        <input type="text" name="username" placeholder="USERNAME" />
        <input type="password" name="password" placeholder="PASSWORD" />

M static/globals.css => static/globals.css +2 -2
@@ 200,8 200,8 @@ aside {

.login-form {
    text-align: center;
    margin: auto;
    width: 80%;
    margin: 40px auto 0 auto;
    width: 50%;
}

#toast-container>div {