-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #211 from NIAEFEUP/schedule__toggle
Update Classes Types on Schedule Caption #206
- Loading branch information
Showing
26 changed files
with
1,127 additions
and
875 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import { Button } from '../ui/button' | ||
import { BoltIcon, FunnelIcon, CameraIcon, ShareIcon, HashtagIcon, PencilIcon } from '@heroicons/react/24/outline' | ||
|
||
// Define features with title, description, and the Icon component | ||
const features = [ | ||
{ | ||
title: 'Reordenar e personalizar as opções de horário', | ||
description: | ||
'Dá-te controlo total para ajustar e personalizar as tuas opções de horário conforme a tua disponibilidade e necessidade.', | ||
Icon: PencilIcon, | ||
}, | ||
{ | ||
title: 'Partilhar horários com amigos', | ||
description: | ||
'Permite que compartilhes facilmente o teu horário de modo a que escolhas as mesmas turmas que os teus amigos.', | ||
Icon: ShareIcon, | ||
}, | ||
{ | ||
title: 'Definir até 10 opções de horários', | ||
description: | ||
'Oferece a flexibilidade de gerir múltiplas opções de horários conforme a definido nos parâmetros do SIGARRA.', | ||
Icon: HashtagIcon, | ||
}, | ||
{ | ||
title: 'Completar o horário com cadeiras aleatórias', | ||
description: | ||
'No caso de indecisão, preenche automaticamente o teu horário com cadeiras aleatórias para explorar as diferentes possibilidades.', | ||
Icon: BoltIcon, | ||
}, | ||
{ | ||
title: 'Tirar print ao horário', | ||
description: 'Permite que guardes ou imprimas o teu horário para referência rápida.', | ||
Icon: CameraIcon, | ||
}, | ||
{ | ||
title: 'Filtrar as opções de horários pelos professores', | ||
description: 'Facilita a escolha de horários com base nos teus professores preferidos.', | ||
Icon: FunnelIcon, | ||
}, | ||
] | ||
|
||
const FeatureCards = () => { | ||
return ( | ||
<div className="m-4 grid grid-cols-1 gap-4 sm:m-8 sm:grid-cols-2 sm:gap-6 lg:m-12 lg:grid-cols-3 lg:gap-12"> | ||
{features.map((feature, index) => ( | ||
<div key={index} className="rounded-lg bg-white p-4 text-center shadow-lg dark:bg-dark sm:p-5"> | ||
<Button className="relative left-0 top-0 mx-auto h-16 w-16 flex-grow cursor-default rounded-full border-4 border-primary bg-inherit text-primary hover:bg-secondary dark:bg-inherit dark:text-primary sm:h-20 sm:w-20"> | ||
<feature.Icon className="sm:h-15 sm:w-15 mx-auto h-10 w-10" /> | ||
</Button> | ||
<h3 className="sm:text-md py-2 text-sm font-bold">{feature.title}</h3> | ||
<p className="text-xs sm:text-sm">{feature.description}</p> | ||
</div> | ||
))} | ||
</div> | ||
) | ||
} | ||
|
||
export default FeatureCards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.