mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-04-04 04:01:27 +00:00
Fonction PWA et ajout du responsive design Planning mobile : - Nouvelle vue DayView avec bandeau semaine scrollable, date picker natif et navigation integree - ScheduleNavigation converti en drawer overlay sur mobile, sidebar fixe sur desktop - Suppression double barre navigation mobile, controles deplaces dans DayView - Date picker natif via label+input sur mobile Suivi pedagogique : - Refactorisation page grades avec composant Table partage - Colonnes stats par periode, absences, actions (Fiche + Evaluer) - Lien cliquable sur la classe vers SchoolClassManagement feat(backend): ajout associated_class_id dans StudentByRFCreationSerializer [#NEWTS-4] UI global : - Remplacement fleches texte par icones Lucide ChevronDown/ChevronRight - Pagination conditionnelle sur tous les tableaux plats - Layout responsive mobile : cartes separees fond transparent - Table.js : pagination optionnelle, wrapper md uniquement
19 lines
586 B
JavaScript
19 lines
586 B
JavaScript
'use client';
|
|
import { Menu } from 'lucide-react';
|
|
import ProfileSelector from '@/components/ProfileSelector';
|
|
|
|
export default function MobileTopbar({ onMenuClick }) {
|
|
return (
|
|
<header className="fixed top-0 left-0 right-0 z-40 h-14 bg-white border-b border-gray-200 flex items-center justify-between px-4 md:hidden">
|
|
<button
|
|
onClick={onMenuClick}
|
|
className="p-2 rounded-md hover:bg-gray-100 border border-gray-200"
|
|
aria-label="Ouvrir le menu"
|
|
>
|
|
<Menu size={20} />
|
|
</button>
|
|
<ProfileSelector compact />
|
|
</header>
|
|
);
|
|
}
|