-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
69 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,51 @@ | ||
import { Dashboard } from "@/components/Dashboard" | ||
import { Button } from "@/components/ui/button" | ||
import Link from "next/link" | ||
import { Heart } from "lucide-react" | ||
// import { Dashboard } from "@/components/Dashboard" | ||
// import { Button } from "@/components/ui/button" | ||
// import Link from "next/link" | ||
// import { Heart } from "lucide-react" | ||
|
||
import { redirect } from "next/navigation" | ||
|
||
export default function DashboardPage() { | ||
return ( | ||
<div className="min-h-screen flex flex-col bg-gradient-to-b from-pink-100 to-red-100"> | ||
<header className="bg-white shadow-md"> | ||
<div className="container mx-auto px-4 py-4 flex justify-between items-center"> | ||
<Link href="/" className="flex items-center gap-2 text-2xl font-bold text-primary"> | ||
<Heart className="w-6 h-6" /> | ||
<span>Robocupido 2025</span> | ||
</Link> | ||
<nav> | ||
<Button variant="ghost" asChild> | ||
<Link href="/profile">Mi Perfil</Link> | ||
</Button> | ||
<Button variant="ghost" asChild> | ||
<Link href="/settings">Configuración</Link> | ||
</Button> | ||
<Button variant="outline">Cerrar Sesión</Button> | ||
</nav> | ||
</div> | ||
</header> | ||
redirect("/") | ||
// return ( | ||
// <div className="min-h-screen flex flex-col bg-gradient-to-b from-pink-100 to-red-100"> | ||
// <header className="bg-white shadow-md"> | ||
// <div className="container mx-auto px-4 py-4 flex justify-between items-center"> | ||
// <Link href="/" className="flex items-center gap-2 text-2xl font-bold text-primary"> | ||
// <Heart className="w-6 h-6" /> | ||
// <span>Robocupido 2025</span> | ||
// </Link> | ||
// <nav> | ||
// <Button variant="ghost" asChild> | ||
// <Link href="/profile">Mi Perfil</Link> | ||
// </Button> | ||
// <Button variant="ghost" asChild> | ||
// <Link href="/settings">Configuración</Link> | ||
// </Button> | ||
// <Button variant="outline">Cerrar Sesión</Button> | ||
// </nav> | ||
// </div> | ||
// </header> | ||
|
||
<main className="flex-grow"> | ||
<Dashboard /> | ||
</main> | ||
// <main className="flex-grow"> | ||
// <Dashboard /> | ||
// </main> | ||
|
||
<footer className="bg-white mt-12"> | ||
<div className="container mx-auto px-4 py-6 text-center text-gray-600"> | ||
<p>© 2025 Robocupido. Todos los derechos reservados.</p> | ||
<div className="mt-2"> | ||
<Link href="/privacy" className="text-sm hover:underline"> | ||
Política de Privacidad | ||
</Link> | ||
{" | "} | ||
<Link href="/terms" className="text-sm hover:underline"> | ||
Términos de Servicio | ||
</Link> | ||
</div> | ||
</div> | ||
</footer> | ||
</div> | ||
) | ||
// <footer className="bg-white mt-12"> | ||
// <div className="container mx-auto px-4 py-6 text-center text-gray-600"> | ||
// <p>© 2025 Robocupido. Todos los derechos reservados.</p> | ||
// <div className="mt-2"> | ||
// <Link href="/privacy" className="text-sm hover:underline"> | ||
// Política de Privacidad | ||
// </Link> | ||
// {" | "} | ||
// <Link href="/terms" className="text-sm hover:underline"> | ||
// Términos de Servicio | ||
// </Link> | ||
// </div> | ||
// </div> | ||
// </footer> | ||
// </div> | ||
// ) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters