Switch to version 1: remove src/app/dashboard/page.tsx

This commit is contained in:
2026-04-18 13:53:53 +00:00
parent cb885bee28
commit 9e7dd2b644

View File

@@ -1,41 +0,0 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
export default function SellerDashboardPage() {
return (
<ThemeProvider defaultButtonVariant="hover-magnetic" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
<ReactLenis root>
<NavbarLayoutFloatingInline navItems={[{name: 'Inicio', id: '/'}, {name: 'Propiedades', id: '/#products'}]} brandName="Inmobiliaria Pro" button={{text: "Cuenta", href: "/dashboard"}} />
<div className="container mx-auto px-6 py-20">
<h1 className="text-3xl font-bold mb-8">Dashboard de Vendedor</h1>
<div className="grid gap-6">
<div className="p-6 border rounded-lg">
<h2 className="text-xl font-semibold mb-4">Mis Propiedades Activas</h2>
<table className="w-full text-left">
<thead>
<tr className="border-b">
<th className="pb-4">Título</th>
<th className="pb-4">Precio</th>
<th className="pb-4">Estado</th>
</tr>
</thead>
<tbody>
<tr className="border-b">
<td className="py-4">Villa de Lujo</td>
<td>$850,000</td>
<td><span className="px-2 py-1 bg-green-100 text-green-700 rounded">Publicada</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<FooterBaseCard logoText="Inmobiliaria Pro" columns={[]} />
</ReactLenis>
</ThemeProvider>
);
}