From 61adf76da5c4b4a47896a8cb8af3465e4a58c07b Mon Sep 17 00:00:00 2001 From: DanielS Date: Wed, 22 Jul 2026 12:45:15 +0200 Subject: [PATCH] feat(dashboard): align quick access buttons in 3 columns with calendar popup Convert quick access grid to 3 columns and open in-app dialog modal for calendar button. --- shop/components/HomeClient.tsx | 102 +++++++++++++++++++++++++-------- 1 file changed, 79 insertions(+), 23 deletions(-) diff --git a/shop/components/HomeClient.tsx b/shop/components/HomeClient.tsx index c37e5cc..9850e34 100644 --- a/shop/components/HomeClient.tsx +++ b/shop/components/HomeClient.tsx @@ -22,6 +22,14 @@ import { Sparkles, Activity } from 'lucide-react' +import { + Dialog, + DialogContent, + DialogHeader, + DialogTitle, + DialogDescription, + DialogFooter, +} from '@/components/ui/dialog' interface HomeClientProps { initialUser: User | null @@ -30,6 +38,7 @@ interface HomeClientProps { export function HomeClient({ initialUser }: HomeClientProps) { const [user, setUser] = useState(initialUser) const [mounted, setMounted] = useState(false) + const [calendarOpen, setCalendarOpen] = useState(false) useEffect(() => { setMounted(true) @@ -126,23 +135,23 @@ export function HomeClient({ initialUser }: HomeClientProps) { Mein Dashboard Schnellzugriff

-
+
-
-
- +
+
+
Kundenliste - Kunden & Lizenzen verwalten + Verwalten
- + @@ -150,41 +159,42 @@ export function HomeClient({ initialUser }: HomeClientProps) { -
-
- +
+
+
Bestellungen - Aufträge & Status einsehen + Status einsehen
- + - + +
@@ -193,6 +203,52 @@ export function HomeClient({ initialUser }: HomeClientProps) { + {/* Dialog / Popup für Termin-Kalender (Geplant) */} + + + +
+
+ +
+
+ + Termin-Kalender + + In Planung + + +
+
+ + Die direkte Termin-Kalender Integration befindet sich aktuell in der Entwicklung. + Hier können Sie in Kürze Schulungs-, Installations- und Beratungstermine direkt buchen und verwalten. + +
+ +
+
+ Geplante Features: +
+
    +
  • Online-Terminbuchung für Kassen-Installationen
  • +
  • Schulungstermine vereinbaren
  • +
  • Kalender-Synchronisation (Outlook / Google)
  • +
+
+ + + + +
+
+ {/* Grid of modules */}