mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-06-09 17:14:21 +02:00
fix(#19): continuing working
This commit is contained in:
parent
6a8172e971
commit
80483821b6
4
.vscode/settings.json~f1c7c1c (fix(#19): continuing working)
vendored
Normal file
4
.vscode/settings.json~f1c7c1c (fix(#19): continuing working)
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"eslint.lintTask.enable": true,
|
||||||
|
"conventionalCommits.scopes": ["#17", "#20", "#19"]
|
||||||
|
}
|
@ -73,22 +73,20 @@ const TeamMembers: FC<Props> = ({ teamId }): JSX.Element => {
|
|||||||
if (volunteers.length === 0) return <div />
|
if (volunteers.length === 0) return <div />
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ul className={styles.volunteers}>
|
<div className={styles.volunteers}>
|
||||||
<li>
|
|
||||||
<div className={styles.volunteerName} />
|
<div className={styles.volunteerName} />
|
||||||
<div className={styles.dayTitle}>S ({volunteers.filter(hasDay("S")).length})</div>
|
<div className={styles.dayTitle}>S ({volunteers.filter(hasDay("S")).length})</div>
|
||||||
<div className={styles.dayTitle}>D ({volunteers.filter(hasDay("D")).length})</div>
|
<div className={styles.dayTitle}>D ({volunteers.filter(hasDay("D")).length})</div>
|
||||||
</li>
|
|
||||||
{volunteers.map((volunteer) => (
|
{volunteers.map((volunteer) => (
|
||||||
<li key={volunteer.id} className={styles.volunteer}>
|
<>
|
||||||
<div className={styles.volunteerName}>
|
<div key={volunteer.id} className={styles.volunteerName}>
|
||||||
{volunteer.firstname} {volunteer.lastname}
|
{volunteer.firstname} {volunteer.lastname}
|
||||||
</div>
|
</div>
|
||||||
<DaysAvailability volunteer={volunteer} />
|
<DaysAvailability volunteer={volunteer} />
|
||||||
<VolunteerEmail email={volunteer.email} />
|
<VolunteerEmail email={volunteer.email} />
|
||||||
</li>
|
</>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,24 +11,6 @@ $height: 24px;
|
|||||||
grid-template-columns: minmax(min-content, 5fr) min-content min-content;
|
grid-template-columns: minmax(min-content, 5fr) min-content min-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.volunteerName {
|
|
||||||
grid-column: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.volunteerEmail {
|
|
||||||
display: inline-block;
|
|
||||||
height: $height;
|
|
||||||
padding-left: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dayTitle {
|
|
||||||
display: inline-block;
|
|
||||||
width: 50px;
|
|
||||||
height: $height;
|
|
||||||
margin: 0 2px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.day {
|
.day {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user