File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,19 +12,19 @@ interface ProfessorCardProps {
1212const Professor : React . FC < ProfessorCardProps > = ( { professor, onTagSelect } ) => {
1313 return (
1414 < div className = "max-w-sm overflow-hidden bg-white font-sans" >
15- < div className = "aspect-square w-full overflow-hidden" >
15+ < div className = "aspect-square w-full overflow-hidden rounded-xl " >
1616 < Image
1717 src = { professor . photo . url }
1818 width = { 800 }
1919 height = { 800 }
2020 alt = { professor . name }
21- className = "h-full w-full object-cover"
21+ className = "h-full w-full object-cover rounded-xl transition-transform duration-300 hover:scale-105 "
2222 />
2323 </ div >
2424
2525 < div className = "py-4 flex flex-col gap-2" >
2626 < div >
27- < h2 className = "text-xl font-bold text-gray-800 p-0" >
27+ < h2 className = "text-md md:text-lg font-bold text-gray-800 p-0" >
2828 { professor . name }
2929 </ h2 >
3030 < p className = "text-sm text-gray-400" > { professor . role } </ p >
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const ProfessorsGrid: React.FC<{
3535 Nenhum professor foi encontrado para os filtros selecionados.
3636 </ p >
3737 ) : (
38- < div className = "grid grid-cols-1 gap-8 sm: grid-cols-2 lg:grid-cols-4 items-start" >
38+ < div className = "grid gap-8 grid-cols-2 lg:grid-cols-4 items-start" >
3939 { paginated . map ( ( prof ) => (
4040 < Professor key = { prof . name } professor = { prof } onTagSelect = { handleTagSelectOnly } />
4141 ) ) }
Original file line number Diff line number Diff line change @@ -15,31 +15,29 @@ export const ProjectCard = ({
1515
1616 return (
1717 < div className = "py-6 border-b border-gray-200 hover:bg-gray-100 rounded-lg p-4 transition duration-300 slast:border-b-0" >
18- < div className = "flex justify-between gap-4" >
19- < div className = "flex w-full flex-wrap flex-col items-start gap-x-2 gap-y-1" >
20- { project . link ? (
21- < a
22- href = { project . link }
23- target = "_blank"
24- rel = "noreferrer"
25- className = "font-bold text-gray-900 hover:underline flex items-center gap-1"
26- >
27- { project . name }
28- < ExternalLink size = { 14 } className = "shrink-0" />
29- </ a >
30- ) : (
31- < span className = "font-bold text-gray-900" > { project . name } </ span >
32- ) }
33- { project . leader && (
34- < span className = "text-gray-600 text-sm" >
35- Coordenado por: < strong > { project . leader . name } </ strong >
36- </ span >
37- ) }
38- </ div >
18+ < div className = "flex w-full flex-wrap items-start justify-between gap-x-2 gap-y-1" >
19+ { project . link ? (
20+ < a
21+ href = { project . link }
22+ target = "_blank"
23+ rel = "noreferrer"
24+ className = "font-bold text-gray-900 hover:underline flex items-center gap-1"
25+ >
26+ { project . name }
27+ < ExternalLink size = { 14 } className = "shrink-0" />
28+ </ a >
29+ ) : (
30+ < span className = "font-bold text-gray-900" > { project . name } </ span >
31+ ) }
3932 < span className = "text-sm text-gray-500 shrink-0" >
4033 { getYear ( project . initDate ) } - { endLabel }
4134 </ span >
4235 </ div >
36+ { project . leader && (
37+ < span className = "text-gray-600 text-sm" >
38+ Coordenado por: < strong > { project . leader . name } </ strong >
39+ </ span >
40+ ) }
4341
4442 < div className = "mt-2 text-sm text-gray-700" >
4543 { documentToReactComponents ( project . description . json ) }
You can’t perform that action at this time.
0 commit comments