Skip to content

Commit

Permalink
Merge pull request #35 from jahongiry/chat-v1
Browse files Browse the repository at this point in the history
Finish chat part one
  • Loading branch information
jahongiry authored Feb 15, 2024
2 parents 4fcdca5 + b3484a5 commit 6c7b9a6
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
Binary file added src/img/pubg_winter.avif
Binary file not shown.
7 changes: 4 additions & 3 deletions src/pages/login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ const Login = () => {
onChange={handleInputChange}
/>
</div>
<button type='submit' className='login-main'>
{translations.login.enter}
</button>
<div className='login-footer'>
<div>
<label htmlFor='button'>{translations.login.forget}</label>
Expand All @@ -107,9 +110,7 @@ const Login = () => {
</NavLink>
</div>
</div>
<button type='submit' className='login-main'>
{translations.login.enter}
</button>

<div className='back-home'>
<hr />
<NavLink activeclassname='forgot-password' to='/'>
Expand Down
5 changes: 3 additions & 2 deletions src/pages/login/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,12 @@

.login-section .login-main {
width: 100%;
font-size: 1.2rem;
font-size: 1.5rem !important;
font-weight: 800;
letter-spacing: 2px;
padding: 5px;
padding: 10px !important;
border-radius: 25px;
margin-top: 1rem;
margin-bottom: 3rem;
border-top: 2px solid #d6b1d6; /* Light blue top border */
border-right: 2px solid #d969c6; /* Regular blue for the right border */
Expand Down
6 changes: 3 additions & 3 deletions src/pages/signup/Signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ const Signup = () => {
</div>
)}
</div>
<button type='submit' className='login-button login-main-signup'>
{translations.signup.signup}
</button>
<div className='login-footer'>
<div>
<label htmlFor='button'>
Expand All @@ -124,9 +127,6 @@ const Signup = () => {
</NavLink>
</div>
</div>
<button type='submit' className='login-button login-main-signup'>
{translations.signup.signup}
</button>
</form>
<div className='corner-item bottom-left'></div>
<div className='corner-item bottom-right'></div>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/signup/signup.css
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@

.login-section .login-main-signup {
width: 100%;
font-size: 1.2rem;
font-size: 1.5rem !important;
font-weight: 800;
letter-spacing: 2px;
padding: 5px;
padding: 10px !important;
border-radius: 25px;
margin-top: 2rem;
margin-bottom: 3rem;
Expand Down
1 change: 0 additions & 1 deletion src/slices/cardSlice.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const fetchCards = createAsyncThunk(
async (_, thunkAPI) => {
try {
const response = await axios.get('/offers');
console.log(response.data);
return response.data;
} catch (error) {
return thunkAPI.rejectWithValue(error.response.data);
Expand Down

0 comments on commit 6c7b9a6

Please sign in to comment.