Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

fix: fix multiple h1's #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions app/src/views/users/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,16 @@ export default function UsersLoginPage() {
};

return (
<section className="px-4 md:px-6 mb-12 mx-auto w-full md:w-1/2">
<section className="w-full px-4 mx-auto mb-12 md:px-6 md:w-1/2">
<Head>
<title>montelearn / login</title>
</Head>
<div className="my-12 md:my-18">
<Title>Hi there!</Title>
<Title className="text-gray-300">Care to log in?</Title>
<Title>
Hi there!
<br />
<span className="text-gray-300">Care to log in?</span>
</Title>
</div>
<div className="">
<Card>
Expand All @@ -75,11 +78,11 @@ export default function UsersLoginPage() {
errors={errors.password}
/>
<InputErrors errors={errors.non_field_errors} />
<ul className="flex font-roboto-mono mt-10">
<Button className="mx-0 sm:mx-2 px-8 py-4" onClick={handleLogin}>
<ul className="flex mt-10 font-roboto-mono">
<Button className="px-8 py-4 mx-0 sm:mx-2" onClick={handleLogin}>
Login
</Button>
<li className="mx-0 sm:mx-2 font-medium text-red-400">
<li className="mx-0 font-medium text-red-400 sm:mx-2">
<Link href="/users/register">
<a className="flex px-8 py-4">Register</a>
</Link>
Expand All @@ -91,7 +94,7 @@ export default function UsersLoginPage() {
<Text>
Did you forget your password?{" "}
<Link href="/users/forgot-password">
<a className="text-red-400 font-medium">Reset it now</a>
<a className="font-medium text-red-400">Reset it now</a>
</Link>
</Text>
</div>
Expand Down
11 changes: 7 additions & 4 deletions app/src/views/users/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,16 @@ export default function UsersRegisterPage() {
};

return (
<section className="px-4 md:px-6 mb-12 mx-auto w-full md:w-1/2">
<section className="w-full px-4 mx-auto mb-12 md:px-6 md:w-1/2">
<Head>
<title>montelearn / register</title>
</Head>
<div className="my-12 md:my-18">
<Title>Ahoy you!</Title>
<Title className="text-gray-300">Wanna register?</Title>
<Title>
Ahoy you!
<br />
<span className="text-gray-300">Wanna register?</span>
</Title>
</div>
<div className="">
<Card>
Expand Down Expand Up @@ -111,7 +114,7 @@ export default function UsersRegisterPage() {
errors={errors.password2}
/>
<InputErrors errors={errors.non_field_errors} />
<ul className="flex font-roboto-mono mt-10">
<ul className="flex mt-10 font-roboto-mono">
<Button className="px-8 py-4" onClick={handleLogin}>
Register now
</Button>
Expand Down