diff --git a/apps/main/src/components/ActionCard.tsx b/apps/main/src/components/ActionCard.tsx index 7c6ffd8..e0fe152 100644 --- a/apps/main/src/components/ActionCard.tsx +++ b/apps/main/src/components/ActionCard.tsx @@ -32,7 +32,7 @@ export function ActionCard({ ? "bg-[rgb(128,78,236)] text-white border-transparent shadow-lg" : isPrimary ? "bg-primary text-white hover:shadow-lg" - : "bg-white border border-[#EAECF0] hover:shadow-md", + : "bg-white dark:bg-gray-800 border border-[#EAECF0] dark:border-gray-700 hover:shadow-md", className, )} > @@ -40,7 +40,7 @@ export function ActionCard({
{description}
diff --git a/apps/main/src/components/DashboardActionCards.tsx b/apps/main/src/components/DashboardActionCards.tsx
index 55b5406..4a5c4fd 100644
--- a/apps/main/src/components/DashboardActionCards.tsx
+++ b/apps/main/src/components/DashboardActionCards.tsx
@@ -1,5 +1,6 @@
import { FolderPlus, MessageCircle, PlusCircle, UserPlus } from "lucide-react";
import { useState } from "react";
+import { useTranslation } from "react-i18next";
import { ActionCard } from "./ActionCard";
export interface DashboardActionCardsProps {
@@ -17,6 +18,7 @@ export function DashboardActionCards({
onInviteTeam,
onSendMessage,
}: DashboardActionCardsProps) {
+ const { t } = useTranslation("pages");
const [selected, setSelected] = useState
- {task.title}
-
+ {task.title}
+
- Ce projet regroupe les tâches, fichiers et événements associés. Utilisez les onglets ci-dessus pour naviguer entre les différentes sections.
+ Ce projet regroupe les tâches, fichiers et événements
+ associés. Utilisez les onglets ci-dessus pour naviguer entre
+ les différentes sections.
+
{task.title}
Aucun fichier
+ Aucun fichier
+ {fileName}
+ {fileName}
+
- Erreur lors du chargement des tablos
+ Erreur lors du chargement des projets
{error instanceof Error
@@ -507,13 +507,13 @@ export const TabloPage = () => {
}}
>
+
{formattedDate}
+
{t("dashboard.taskList.title")}
+
{t("tablo.projectList.title")}
{onSeeAllClick && (
+
) : (
tablo.name.charAt(0).toUpperCase()
)}
{tablo.name}
+
+ {tablo.name}
+
Description du projet
+
+ Description du projet
+
Mes tâches
+
+ Mes tâches
+
Fichiers
-
+ Fichiers
+
+ Informations
+
+ Informations
+
-
+
{getGreeting()},{" "}
-
+
{user.first_name ?? user.name}
!