38 lines
1.1 KiB
JavaScript
38 lines
1.1 KiB
JavaScript
import Link from "next/link";
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div className="flex flex-col items-center justify-center w-full h-screen text-black">
|
|
<h1 className="text-3xl font-bold mb-4">¿Qué quieres hacer?</h1>
|
|
<div className="flex">
|
|
<Link href="/Alumnos">
|
|
<div className="flex flex-col items-center">
|
|
<div
|
|
style={{
|
|
backgroundImage: "url('/alumnos.jpg')",
|
|
backgroundRepeat: "no-repeat",
|
|
backgroundSize: "cover",
|
|
}}
|
|
className="h-60 w-96 border rounded-3 m-5"
|
|
></div>
|
|
<h1>Dar de Alumnos</h1>
|
|
</div>
|
|
</Link>
|
|
<Link href="/Cursos">
|
|
<div className="flex flex-col items-center">
|
|
<div
|
|
style={{
|
|
backgroundImage: "url('/cursos.jpg')",
|
|
backgroundRepeat: "no-repeat",
|
|
backgroundSize: "cover",
|
|
}}
|
|
className="h-60 w-96 border rounded-3 m-5"
|
|
></div>
|
|
<h1>Dar de Cursos</h1>
|
|
</div>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|