mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 16:03:21 +00:00
feat: Configuration et gestion du planning [#2]
This commit is contained in:
16
Front-End/src/components/CustomLabels/LevelLabel.js
Normal file
16
Front-End/src/components/CustomLabels/LevelLabel.js
Normal 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;
|
||||
16
Front-End/src/components/CustomLabels/TeacherLabel.js
Normal file
16
Front-End/src/components/CustomLabels/TeacherLabel.js
Normal 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;
|
||||
Reference in New Issue
Block a user