From 7745b91fb0806fa55a10e2dc04f49da6e73030d8 Mon Sep 17 00:00:00 2001 From: Ruan Bueno Date: Tue, 23 Sep 2025 12:01:49 -0300 Subject: [PATCH] refactor: add news on dashboard --- src/app/(authenticated)/dashboard/page.tsx | 61 ++++++++++++++++++---- 1 file changed, 52 insertions(+), 9 deletions(-) diff --git a/src/app/(authenticated)/dashboard/page.tsx b/src/app/(authenticated)/dashboard/page.tsx index ed47996e..129d7ef7 100644 --- a/src/app/(authenticated)/dashboard/page.tsx +++ b/src/app/(authenticated)/dashboard/page.tsx @@ -11,6 +11,8 @@ import NewsDisplay from "@/components/dashboard/news-displ" import { routeItems } from "@/const/routes" import { FaInstagram, FaFacebook, FaYoutube } from "react-icons/fa6" import Image from "next/image" +import { ContentFeed } from "@/components/content-feed"; +import { DashboardShell } from "@/components/dashboard-shell"; import { SuggestionsWrapper } from "./suggestions-wrapper" import { CompleteProfileModal } from "@/components/complete-profile-modal" @@ -103,14 +105,14 @@ export default function DashboardPage() {
{ - // routeItems(user?.role_config).map((m,i)=> m.title !== "Dashboard" && ( - //
- // - // - // {m.title} - // - //
- // )) + routeItems(user?.role_config).map((m,i)=> m.title !== "Dashboard" && ( +
+ + + {m.title} + +
+ )) }
@@ -166,7 +168,48 @@ export default function DashboardPage() { - + + {/* Seção de Notícias - Design Assertivo e Responsivo */} + {/*
+ {/* Header da Seção com Design Melhorado */} + {/*
+
+
+ +
+

+ News +

+
+

+ Fique por dentro das últimas novidades, atualizações e acontecimentos importantes +

+ + {/* Linha decorativa */} + {/*
+
+
+ + {/* Container de Notícias com Design Aprimorado */} + {/*
+ {/* Padding interno responsivo */} + {/*
+ +
+ + {/* Gradiente sutil na parte inferior */} + {/*
+
+ + {/* Espaçamento adicional para mobile */} + {/*
+
+ */} +
+ + + +
{/* Footer com Redes Sociais */}