refactors style a bit and updates snaps
All checks were successful
gitea-deepak/gog_frontend/pipeline/head This commit looks good
All checks were successful
gitea-deepak/gog_frontend/pipeline/head This commit looks good
This commit is contained in:
@@ -13,7 +13,7 @@ export default function Login({ login }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="login-wrapper">
|
<div className="login-wrapper">
|
||||||
<h1>Please Log In</h1>
|
<h2>Please Log In</h2>
|
||||||
<form onSubmit={handleSubmit}>
|
<form onSubmit={handleSubmit}>
|
||||||
<label>
|
<label>
|
||||||
<p>Username</p>
|
<p>Username</p>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export default function Register({ register }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="register-wrapper">
|
<div className="register-wrapper">
|
||||||
<h1>Enter your data to register.</h1>
|
<h2>Enter your data to register.</h2>
|
||||||
<form onSubmit={handleSubmit}>
|
<form onSubmit={handleSubmit}>
|
||||||
<label>
|
<label>
|
||||||
<p>Username</p>
|
<p>Username</p>
|
||||||
|
|||||||
@@ -1,13 +1,28 @@
|
|||||||
@use '../common_styles/colours';
|
@use '../common_styles/colours';
|
||||||
@use '../common_styles/typography';
|
@use '../common_styles/typography';
|
||||||
|
|
||||||
.unauthenticated-app button {
|
.unauthenticated-app {
|
||||||
background-color: colours.$accent-color;
|
button {
|
||||||
border: 0;
|
background-color: colours.$accent-color;
|
||||||
color: colours.$inverted-text-color;
|
border: 0;
|
||||||
font: typography.$stack;
|
color: colours.$inverted-text-color;
|
||||||
margin: 10px;
|
font: typography.$stack;
|
||||||
padding: 10px 15px;
|
margin: 10px;
|
||||||
|
padding: 10px 15px;
|
||||||
|
}
|
||||||
|
.register-wrapper,
|
||||||
|
.login-wrapper {
|
||||||
|
padding: 1em;
|
||||||
|
margin: 1em;
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
margin: 1em auto;
|
||||||
|
}
|
||||||
|
input {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.unauthenticated-app .choose-register {
|
.unauthenticated-app .choose-register {
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ exports[`Login Snapshot 1`] = `
|
|||||||
<div
|
<div
|
||||||
className="login-wrapper"
|
className="login-wrapper"
|
||||||
>
|
>
|
||||||
<h1>
|
<h2>
|
||||||
Please Log In
|
Please Log In
|
||||||
</h1>
|
</h2>
|
||||||
<form
|
<form
|
||||||
onSubmit={[Function]}
|
onSubmit={[Function]}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ exports[`Register Snapshot 1`] = `
|
|||||||
<div
|
<div
|
||||||
className="register-wrapper"
|
className="register-wrapper"
|
||||||
>
|
>
|
||||||
<h1>
|
<h2>
|
||||||
Enter your data to register.
|
Enter your data to register.
|
||||||
</h1>
|
</h2>
|
||||||
<form
|
<form
|
||||||
onSubmit={[Function]}
|
onSubmit={[Function]}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ exports[`UnauthenticatedApp Snapshot 1`] = `
|
|||||||
<div
|
<div
|
||||||
className="login-wrapper"
|
className="login-wrapper"
|
||||||
>
|
>
|
||||||
<h1>
|
<h2>
|
||||||
Please Log In
|
Please Log In
|
||||||
</h1>
|
</h2>
|
||||||
<form
|
<form
|
||||||
onSubmit={[Function]}
|
onSubmit={[Function]}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user