Skip to content

Commit

Permalink
task(frontend): alteração do ícone da volta para tela de login (#147)
Browse files Browse the repository at this point in the history
* frontend(feature): criação da nova página de informações para usuários

* frontend(fixxing): ajustando tamanho do ícone de informação

* frontend(feature): add information page for new users

* web(info): organiza layout dos colaboradores

* web(info): adição da descrição de utilização do site.

* web(info): modulariza página de informações

* fix(web): fix information page for new users

* web(icons): add icons for google and search

* web(icon): mudando o icone da volta para o home

* web(icon): add search icon to the search bar

* web(fixing): fixing search icon alt text

---------

Co-authored-by: mateuvrs <[email protected]>
Co-authored-by: Mateus Vieira <[email protected]>
  • Loading branch information
3 people authored Dec 8, 2023
1 parent 39c7d1a commit d39a16d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
11 changes: 10 additions & 1 deletion web/app/components/AsideSchedulePopUp/Form/InputForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { useRef } from 'react';

import toast from 'react-hot-toast';

import Image from 'next/image';

import searchIcon from '@/public/icons/search.jpg';

import searchDiscipline, { DisciplineType } from '@/app/utils/api/searchDiscipline';

import { FormData, FormType, InputFormPropsType } from '../types/types';
Expand All @@ -26,7 +30,12 @@ function Form(props: FormPropsType) {
ref={inputRef}
className='h-14 p-2 w-full rounded-xl focus:outline-none'
/>
<button className='material-symbols-rounded' type='submit' >search</button>
<button type='submit' >
<Image
width={30} height={30}
src={searchIcon} alt='ícone de pesquisa'
/>
</button>
</form>
);
}
Expand Down
2 changes: 1 addition & 1 deletion web/app/schedules/info/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Team = () => {
<CollaboratorImage name="Caio Habibe" src="https://github.com/CaioHabibe.png" />
<CollaboratorImage name="Caio Rodrigues" src="https://github.com/caio-felipee.png" />
</div>
<div className="grid grid-cols-3 pb-10 gap-5">
<div className="grid grid-cols-3 pb-10 gap-5">
<CollaboratorImage name="Gabriel Castelo" src="https://github.com/GabrielCastelo-31.png" />
<CollaboratorImage name="Henrique Camelo" src="https://github.com/henriquecq.png" />
<CollaboratorImage name="Mateus Vieira" src="https://github.com/mateusvrs.png" />
Expand Down
14 changes: 8 additions & 6 deletions web/app/schedules/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import InfoHeader from '../components/InfoHeader';

import homeIcon from '@/public/icons/home.jpg';
import infoIcon from '@/public/icons/info.jpg';
import logoIcon from '@/public/icons/logotipo.jpg';
import googleIcon from '@/public/icons/google.jpg';
import scheduleIcon from '@/public/icons/schedule.jpg';
import profileIcon from '@/public/icons/profile.jpg';
import useWindowDimensions from '../hooks/useWindowDimensions';
Expand All @@ -32,11 +32,13 @@ function LogoReturnButton() {

return (
user.is_anonymous &&
<Button onClick={() => router.replace('/')} className="absolute top-0 right-3 !shadow-none !p-0 ">
<Image
width={100} height={100}
src={logoIcon} alt='ícone do logotipo'
/>
<Button onClick={() => router.replace('/')} className="absolute top-4 right-6 !shadow-none !p-0 ">
<div className="bg-white flex justify-center items-center rounded-full w-12 h-12">
<Image
width={35} height={35}
src={googleIcon} alt='ícone do logotipo google'
/>
</div>
</Button>
);
}
Expand Down
Binary file added web/public/icons/google.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/public/icons/search.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d39a16d

Please sign in to comment.