V1 calendrier

This commit is contained in:
ElPoyo
2025-10-10 14:58:05 +02:00
parent 080fb7d077
commit aae68f8ab7
26 changed files with 1328 additions and 847 deletions

View File

@@ -120,22 +120,7 @@ class _CalendarPageState extends State<CalendarPage> {
return Scaffold(
appBar: CustomAppBar(
title: _getMonthName(_focusedDay.month),
actions: [
IconButton(
icon: Icon(
_calendarCollapsed
? Icons.keyboard_arrow_down
: Icons.keyboard_arrow_up,
color: AppColors.blanc,
),
onPressed: () {
setState(() {
_calendarCollapsed = !_calendarCollapsed;
});
},
),
],
title: "Calendrier",
),
drawer: const MainDrawer(currentPage: '/calendar'),
body: isMobile ? _buildMobileLayout() : _buildDesktopLayout(),
@@ -149,8 +134,8 @@ class _CalendarPageState extends State<CalendarPage> {
),
);
},
child: const Icon(Icons.add, color: Colors.red),
tooltip: 'Ajouter un événement',
child: const Icon(Icons.add, color: Colors.red),
)
: null,
);
@@ -252,7 +237,7 @@ class _CalendarPageState extends State<CalendarPage> {
left: 0,
right: 0,
height: _calendarCollapsed ? 0 : null,
child: Container(
child: SizedBox(
height: MediaQuery.of(context).size.height,
child: Column(
children: [
@@ -360,7 +345,7 @@ class _CalendarPageState extends State<CalendarPage> {
left: 0,
right: 0,
bottom: 0,
child: Container(
child: SizedBox(
height: MediaQuery.of(context).size.height,
child: Column(
children: [