"use client"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import Link from "next/link"; interface QuickAction { label: string; href: string; icon: React.ReactNode; color: string; description: string; } const quickActions: QuickAction[] = [ { label: "New Booking", href: "/bookings", icon: ( ), color: "bg-blue-500 hover:bg-blue-600", description: "Create a new court booking", }, { label: "Open Register", href: "/pos", icon: ( ), color: "bg-green-500 hover:bg-green-600", description: "Start cash register shift", }, { label: "New Sale", href: "/pos", icon: ( ), color: "bg-purple-500 hover:bg-purple-600", description: "Record a point of sale transaction", }, { label: "Register Player", href: "/clients", icon: ( ), color: "bg-orange-500 hover:bg-orange-600", description: "Add a new player to the system", }, ]; export function QuickActions() { return ( Quick Actions {quickActions.map((action) => ( {action.icon} {action.label} {action.description} ))} ); }
{action.label}
{action.description}