mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
feat: Création nouveau style / pagination profils annuaires
This commit is contained in:
@ -6,10 +6,8 @@ import ProfileSelector from '@/components/ProfileSelector';
|
||||
const SidebarItem = ({ icon: Icon, text, active, url, onClick }) => (
|
||||
<div
|
||||
onClick={onClick}
|
||||
className={`flex items-center gap-3 px-2 py-2 rounded-md cursor-pointer ${
|
||||
active
|
||||
? 'bg-emerald-50 text-emerald-600'
|
||||
: 'text-gray-600 hover:bg-gray-50'
|
||||
className={`flex items-center gap-3 px-2 py-2 rounded-md cursor-pointer hover:bg-emerald-100 ${
|
||||
active ? 'bg-emerald-50 text-emerald-600' : 'text-gray-600'
|
||||
}`}
|
||||
>
|
||||
<Icon size={20} />
|
||||
@ -35,7 +33,7 @@ function Sidebar({ currentPage, items, onCloseMobile }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="w-64 bg-white border-r h-full border-gray-200">
|
||||
<div className="w-64 bg-stone-50 border-r h-full border-gray-200">
|
||||
<div className="border-b border-gray-200 ">
|
||||
<ProfileSelector className="border-none" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user