-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.astro
81 lines (77 loc) · 2.17 KB
/
index.astro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
import Layout from "../layouts/Layout.astro";
import Image from "astro/components/Image.astro";
import CarrerasButtons from "@components/CarrerasButtons.astro";
const carreras = [
{
name: "Ingeniería Civil",
url: "/posts/civil",
iconName: "triangular-ruler",
},
{
name: "Ingeniería Electromecánica",
url: "/posts/electro",
iconName: "high-voltage",
},
{
name: "Ingeniería Informática",
url: "/posts/infor",
iconName: "laptop",
},
{
name: "Cursillo Probatorio de Admisión",
url: "/posts/cpa",
iconName: "memo",
},
{
name: "Ingeniería Industrial",
url: "/posts/indu",
iconName: "factory",
},
{
name: "Curso Básico de Ingeniería",
url: "/posts/cbi",
iconName: "bar-chart",
}
];
const carrerasButtons = carreras.map((carrera) => ({
...carrera
}));
---
<Layout title="Bienvenido a Ideal">
<div class="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px]"></div>
<main class="container mx-auto px-4 md:px-10 xl:px-32 py-12 flex flex-col gap-y-20">
<div class="flex flex-col md:flex-row items-center justify-between">
<div class="md:w-1/2 mb-8 md:mb-0">
<h1 class="text-5xl md:4xl xl:4xl font-extrabold mb-4">
Tu plataforma de aprendizaje ideal
</h1>
<p class="text-xl text-gray-600 mb-6">
Notas de clases, exámenes y recursos gratuitos. Impulsado por la
comunidad de alumnos de la FIUNI.
</p>
<!-- <a href="/acerca-de" class="text-blue-600 hover:underline">
Aprende más sobre nuestra misión.
</a> -->
</div>
<div class="md:w-1/2">
<div class="w-full h-96">
<Image
class="sm:mt-8"
src="/ReadingDoodle.svg"
alt="Estudiante leyendo"
width="400"
height="400"
/>
</div>
</div>
</div>
<section class="">
<div class="mt-16 grid grid-cols-1 md:grid-cols-3 gap-4">
{carrerasButtons.map((carrera) => (
<CarrerasButtons {...carrera} />
))}
</div>
</section>
</main>
</Layout>