feat: Configuration et gestion du planning [#2]

This commit is contained in:
N3WT DE COMPET
2025-01-11 19:37:29 +01:00
parent 3c27133cdb
commit 830d9a48c0
26 changed files with 1163 additions and 1071 deletions

View File

@ -0,0 +1,16 @@
import React from 'react';
const LevelLabel = ({ label, index }) => {
return (
<div
key={index}
className={`ml-2 px-3 py-1 rounded-md shadow-sm ${
index % 2 === 0 ? 'bg-white' : 'bg-gray-100'
} border border-gray-200 text-gray-700`}
>
{label}
</div>
);
};
export default LevelLabel;

View File

@ -0,0 +1,16 @@
import React from 'react';
const TeacherLabel = ({ nom, prenom, index }) => {
return (
<div
key={index}
className={`ml-2 px-3 py-1 rounded-md shadow-sm ${
index % 2 === 0 ? 'bg-white' : 'bg-gray-100'
} border border-gray-200 text-gray-700`}
>
<span className="font-bold">{nom} {prenom}</span>
</div>
);
};
export default TeacherLabel;