Improve dashboard by organizing and simplifying displayed information

Remove AiChat, MediaUpload, QuickActions, and the 'New Post' button from the dashboard page, reorganizing the layout to primarily display statistics, calendar, and managed pages.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/gEOddVG
This commit is contained in:
michaelschal committed 2025-10-04 11:18:56 +00:00
1 parent 8c6476dfff
commit 8606489a83
1 file changed
+1 -21
+1 -21
View File
@@ -1,12 +1,8 @@
import Sidebar from "@/components/sidebar";
import TopBar from "@/components/topbar";
import StatsCards from "@/components/stats-cards";
import AiChat from "@/components/ai-chat";
import MediaUpload from "@/components/media-upload";
import CalendarView from "@/components/calendar-view";
import ManagedPages from "@/components/managed-pages";
import QuickActions from "@/components/quick-actions";
import { PlusCircle } from "lucide-react";
import { useState } from "react";
export default function Dashboard() {
@@ -34,27 +30,11 @@ export default function Dashboard() {
<div className="p-8 space-y-8 max-w-[1600px] mx-auto">
<StatsCards />
<div className="grid grid-cols-1 lg:grid-cols-3 gap-8">
<div className="lg:col-span-2 space-y-8">
<AiChat />
<MediaUpload />
</div>
<div className="space-y-8">
<QuickActions />
</div>
</div>
<CalendarView />
<ManagedPages />
</div>
</main>
<button
className="fixed bottom-8 right-8 w-16 h-16 bg-gradient-to-br from-primary to-secondary rounded-2xl shadow-2xl flex items-center justify-center text-white lg:hidden hover:scale-110 transition-all z-30"
data-testid="button-new-post"
>
<PlusCircle className="w-7 h-7" />
</button>
</div>
);
}