Skip to content

Commit

Permalink
Fixing UI error
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenfamj committed Apr 28, 2022
1 parent 1c2a3f4 commit 1e071c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions client/src/pages/Auth/Auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import { useEffect } from 'react';
import LoginForm from './LoginForm/LoginForm';
import RegisterForm from './RegisterForm/RegisterForm';

// Import assets
import background from '../../assets/pictures/mesh-gradient.jpg';

// Import from RTK
import { useAppSelector } from '../../hooks/rtkHook';

Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/Auth/LoginForm/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from 'react';

// Import Login Interface
import { inputMetas, onChangeType, loginAuth } from '../../../interfaces/formInputs';
import { loginAuthResponse, errorAlert } from '../../../interfaces/authApiResponse';
import { loginAuthResponse } from '../../../interfaces/authApiResponse';

// Import Form Components
import GlassForm from '../../../components/GlassForm/GlassForm';
Expand Down Expand Up @@ -92,7 +92,7 @@ const LoginForm = () => {
return (
<>
<GlassWrapper>
<h1 className='relative text-4xl font-black top-14 text-sky-500'>SKIL</h1>
<h1 className='mt-8 text-4xl font-black text-sky-500'>SKIL</h1>

<div>
<h1 className='mb-4 text-2xl font-semibold text-indigo-900'>Login</h1>
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Auth/RegisterForm/RegisterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const Register = () => {
return (
<>
<GlassWrapper>
<h1 className='relative text-4xl font-black text-sky-500 top-14'>SKIL</h1>
<h1 className='mt-8 text-4xl font-black text-sky-500'>SKIL</h1>
<div>
<h1 className='mb-4 text-2xl font-semibold text-indigo-900'>Create New Account</h1>
<GlassForm inputs={inputs} onChange={onChange} values={registerStates} />
Expand Down

0 comments on commit 1e071c8

Please sign in to comment.