|
@@ -3,6 +3,7 @@
|
|
|
import { useRouter } from 'next/navigation';
|
|
import { useRouter } from 'next/navigation';
|
|
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
|
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
|
|
|
import { FileText, Layout, Upload, BookOpen } from 'lucide-react';
|
|
import { FileText, Layout, Upload, BookOpen } from 'lucide-react';
|
|
|
|
|
+import Image from 'next/image';
|
|
|
|
|
|
|
|
interface AppTile {
|
|
interface AppTile {
|
|
|
id: string;
|
|
id: string;
|
|
@@ -48,6 +49,23 @@ export default function DashboardPage() {
|
|
|
icon: <BookOpen className="w-8 h-8" />,
|
|
icon: <BookOpen className="w-8 h-8" />,
|
|
|
href: '/api-docs',
|
|
href: '/api-docs',
|
|
|
color: 'bg-orange-500'
|
|
color: 'bg-orange-500'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 'cintas-calendar-summary',
|
|
|
|
|
+ title: 'Cintas Install Calendar Summary',
|
|
|
|
|
+ description: 'View installation calendar summary and statistics',
|
|
|
|
|
+ icon: (
|
|
|
|
|
+ <div className="w-8 h-8 relative">
|
|
|
|
|
+ <Image
|
|
|
|
|
+ src="/Cintas-Blue.svg"
|
|
|
|
|
+ alt="Cintas"
|
|
|
|
|
+ fill
|
|
|
|
|
+ className="object-contain"
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ ),
|
|
|
|
|
+ href: '/cintas-calendar-summary',
|
|
|
|
|
+ color: 'bg-blue-600'
|
|
|
}
|
|
}
|
|
|
];
|
|
];
|
|
|
|
|
|
|
@@ -75,7 +93,7 @@ export default function DashboardPage() {
|
|
|
onClick={() => handleAppClick(app.href)}
|
|
onClick={() => handleAppClick(app.href)}
|
|
|
>
|
|
>
|
|
|
<CardHeader className="text-center">
|
|
<CardHeader className="text-center">
|
|
|
- <div className={`${app.color} w-16 h-16 rounded-full flex items-center justify-center text-white mx-auto mb-4 group-hover:scale-110 transition-transform duration-300`}>
|
|
|
|
|
|
|
+ <div className={`${app.id === 'cintas-calendar-summary' ? 'bg-white border-2 border-blue-500' : app.color} w-16 h-16 rounded-full flex items-center justify-center ${app.id === 'cintas-calendar-summary' ? '' : 'text-white'} mx-auto mb-4 group-hover:scale-110 transition-transform duration-300`}>
|
|
|
{app.icon}
|
|
{app.icon}
|
|
|
</div>
|
|
</div>
|
|
|
<CardTitle className="text-xl font-semibold text-gray-900 dark:text-white">
|
|
<CardTitle className="text-xl font-semibold text-gray-900 dark:text-white">
|