Skip to content

Commit

Permalink
App name correction and form element hierarchy change
Browse files Browse the repository at this point in the history
  • Loading branch information
me3zaAKAgoat authored Apr 5, 2024
1 parent ac1ce25 commit 76135e5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function LandingPage() {
href="/"
>
<Icon className="fill-primary-content h-[24px] mt-0.5 -mr-1" />
Dtboard
DTboard
</a>
<ul className="hidden items-center text-xl gap-4 font-semibold md:flex">
<li>
Expand Down
14 changes: 7 additions & 7 deletions frontend/src/pages/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,15 @@ function Login({}) {
href="/"
>
<Icon className="fill-primary-content h-[35px] mt-0.5 -mr-1" />
Dtboard
DTboard
</a>
<div className="bg-secondary flex flex-col justify-end items-center w-96 h-80 rounded-[7px] border border-solid border-gray-600 overflow-hidden drop-shadow-2xl mt-20">
<Link
className="m-2 hover:underline font-semibold"
to="/register"
>
Don't have an account? Sign Up here.
</Link>
<form
className="flex flex-col items-center h-4/5"
onSubmit={handleLogin}
Expand All @@ -80,12 +86,6 @@ function Login({}) {
{loading ? 'Loading...' : 'Log In'}
</button>
</form>
<Link
className="m-2 hover:underline font-semibold"
to="/register"
>
Don't have an account? Sign Up here.
</Link>
<div
className={`flex flex-col items-center justify-center h-6 text-primary-content bg-error w-full font-bold text-sm ${
error === null ? 'invisible' : ''
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/pages/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,12 @@ const Register = () => {
href="/"
>
<Icon className="fill-primary-content h-[35px] mt-0.5 -mr-1" />
Dtboard
DTboard
</a>
<div className="bg-secondary flex flex-col justify-end items-center w-96 h-[350px] rounded-[7px] border border-solid border-gray-600 overflow-hidden drop-shadow-2xl mt-20">
<Link className="mt-7 hover:underline font-semibold" to="/login">
Already have an account? Log in here.
</Link>
<form
className="flex flex-col items-center w-full h-full"
onSubmit={handleSubmit}
Expand Down Expand Up @@ -100,9 +103,6 @@ const Register = () => {
Sign Up
</button>
</form>
<Link className="mt-7 hover:underline font-semibold" to="/login">
Already have an account? Log in here.
</Link>
<div
className={`mt-6 flex flex-col items-center justify-center h-6 text-textColor bg-error w-full font-bold text-sm ${
error === null ? 'invisible' : ''
Expand Down

0 comments on commit 76135e5

Please sign in to comment.