diff --git a/app/Dashboard/page.tsx b/app/Dashboard/page.tsx
new file mode 100644
index 0000000..7ce57ea
--- /dev/null
+++ b/app/Dashboard/page.tsx
@@ -0,0 +1,85 @@
+"use client";
+import Grid from "@mui/material/Grid2"; // Usamos Grid2 según tu versión avanzada
+import React from "react";
+import Chart from "@organisms/Dashboard/Chart";
+import DashboardHeader from "@organisms/Dashboard/DashboardHeader";
+import RecentTransactions from "@organisms/Dashboard/RecentTransactions";
+import Sidebar from "@organisms/Dashboard/Sidebar";
+import StatCard from "@organisms/Dashboard/StatCard";
+
+const salesData = [
+ { name: "Ene", total: 4000 },
+ { name: "Feb", total: 3000 },
+ { name: "Mar", total: 5000 },
+ { name: "Abr", total: 4500 },
+ { name: "May", total: 6000 },
+ { name: "Jun", total: 5500 },
+];
+
+const recentTransactions = [
+ { id: 1, customer: "Cliente 1", products: 3, total: 150.5, date: "2023-06-01" },
+ { id: 2, customer: "Cliente 2", products: 2, total: 75.2, date: "2023-06-02" },
+ { id: 3, customer: "Cliente 3", products: 5, total: 220.0, date: "2023-06-03" },
+ { id: 4, customer: "Cliente 4", products: 1, total: 30.99, date: "2023-06-04" },
+ { id: 5, customer: "Cliente 5", products: 4, total: 180.75, date: "2023-06-05" },
+];
+
+const Dashboard: React.FC = () => {
+ return (
+
+
+
+
+
+
+ {/* Tarjetas de Estadísticas */}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/* Gráfico */}
+
+
+
+
+ {/* Transacciones Recientes */}
+
+
+
+
+
+
+
+ );
+};
+
+export default Dashboard;
diff --git a/package/components/organisms/Dashboard/Chart.tsx b/package/components/organisms/Dashboard/Chart.tsx
new file mode 100644
index 0000000..6643dc9
--- /dev/null
+++ b/package/components/organisms/Dashboard/Chart.tsx
@@ -0,0 +1,36 @@
+"use client"
+import React from "react"
+import { Bar, BarChart, ResponsiveContainer, XAxis, YAxis } from "recharts"
+import CustomCard from "@molecules/CustomCard"
+
+interface ChartProps {
+ data: Array<{ name: string; total: number }>
+}
+
+const Chart: React.FC = ({ data }) => {
+ return (
+
+
+
+
+ `$${value}`} // Establecer valor por defecto aquí
+ />
+
+
+
+
+ )
+}
+
+export default Chart
\ No newline at end of file
diff --git a/package/components/organisms/Dashboard/DashboardHeader.tsx b/package/components/organisms/Dashboard/DashboardHeader.tsx
new file mode 100644
index 0000000..778847b
--- /dev/null
+++ b/package/components/organisms/Dashboard/DashboardHeader.tsx
@@ -0,0 +1,16 @@
+"use client"
+import { AppBar, Toolbar } from "@mui/material"
+import React from "react"
+import Title from "@atoms/Title"
+
+const DashboardHeader: React.FC = () => {
+ return (
+
+
+
+
+
+ )
+}
+
+export default DashboardHeader
\ No newline at end of file
diff --git a/package/components/organisms/Dashboard/RecentTransactions.tsx b/package/components/organisms/Dashboard/RecentTransactions.tsx
new file mode 100644
index 0000000..8134cb7
--- /dev/null
+++ b/package/components/organisms/Dashboard/RecentTransactions.tsx
@@ -0,0 +1,45 @@
+"use client"
+import { Table, TableBody, TableCell, TableHead, TableRow } from "@mui/material"
+import React from "react"
+import CustomCard from "@molecules/CustomCard"
+
+interface Transaction {
+ id: number
+ customer: string
+ products: number
+ total: number
+ date: string
+ }
+
+ interface RecentTransactionsProps {
+ transactions: Transaction[]
+ }
+
+const RecentTransactions: React.FC = ({ transactions }) => {
+ return (
+
+
+
+
+ Cliente
+ Productos
+ Total
+ Fecha
+
+
+
+ {transactions.map((transaction) => (
+
+ {transaction.customer}
+ {transaction.products}
+ ${transaction.total.toFixed(2)}
+ {transaction.date}
+
+ ))}
+
+
+
+ )
+ }
+
+ export default RecentTransactions
\ No newline at end of file
diff --git a/package/components/organisms/Dashboard/Sidebar.tsx b/package/components/organisms/Dashboard/Sidebar.tsx
new file mode 100644
index 0000000..094f3b3
--- /dev/null
+++ b/package/components/organisms/Dashboard/Sidebar.tsx
@@ -0,0 +1,46 @@
+"use client"
+import { Drawer, List, ListItem, ListItemIcon, ListItemText } from "@mui/material"
+import React from "react"
+import Icon from "@atoms/Icon"
+import Title from "@atoms/Title"
+
+const sidebarItems = [
+ { text: "Dashboard", icon: "Dashboard" },
+ { text: "Transacciones", icon: "Receipt" },
+ { text: "Inventario", icon: "Inventory" },
+ { text: "Reportes", icon: "Assessment" },
+]
+
+const Sidebar: React.FC = () => {
+ return (
+
+
+
+
+
+ {sidebarItems.map((item) => (
+
+
+
+
+
+
+ ))}
+
+
+ )
+}
+
+export default Sidebar
\ No newline at end of file
diff --git a/package/components/organisms/Dashboard/StatCard.tsx b/package/components/organisms/Dashboard/StatCard.tsx
new file mode 100644
index 0000000..4662058
--- /dev/null
+++ b/package/components/organisms/Dashboard/StatCard.tsx
@@ -0,0 +1,29 @@
+"use client"
+import React from "react"
+import Icon from "@atoms/Icon"
+import Title from "@atoms/Title"
+import CustomCard from "@molecules/CustomCard"
+
+interface StatCardProps {
+ title: string
+ value: string
+ change: string
+ icon: string
+}
+
+const StatCard: React.FC = ({ title, value, change, icon }) => {
+ return (
+
+
+
+ )
+}
+
+export default StatCard
\ No newline at end of file