feat: add line clamp utility and integrate RecentTaskTimeline component
- Added a new CSS utility for line clamping to `globals.css` for better text overflow handling. - Integrated `WelcomeSection` into `HomePageClient` for enhanced user experience. - Replaced `TaskCard` with `RecentTaskTimeline` in `RecentTasks` for improved task visualization. - Updated `ui/index.ts` to export `RecentTaskTimeline` and showcased it in `CardsSection` and `FeedbackSection`.
This commit is contained in:
@@ -8,6 +8,7 @@ import { DashboardStats } from '@/components/dashboard/DashboardStats';
|
||||
import { QuickActions } from '@/components/dashboard/QuickActions';
|
||||
import { RecentTasks } from '@/components/dashboard/RecentTasks';
|
||||
import { ProductivityAnalytics } from '@/components/dashboard/ProductivityAnalytics';
|
||||
import { WelcomeSection } from '@/components/dashboard/WelcomeSection';
|
||||
import { ProductivityMetrics } from '@/services/analytics/analytics';
|
||||
import { DeadlineMetrics } from '@/services/analytics/deadline-analytics';
|
||||
import { useGlobalKeyboardShortcuts } from '@/hooks/useGlobalKeyboardShortcuts';
|
||||
@@ -55,6 +56,9 @@ function HomePageContent({ productivityMetrics, deadlineMetrics }: {
|
||||
/>
|
||||
|
||||
<main className="container mx-auto px-6 py-8">
|
||||
{/* Section de bienvenue */}
|
||||
<WelcomeSection />
|
||||
|
||||
{/* Statistiques */}
|
||||
<DashboardStats stats={stats} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user