Skip to content

Commit 2690719

Browse files
authored
Merge pull request #17 from scesi/feature/schedule-page
Feature/schedule page
2 parents 0c7f0dc + 25e3f53 commit 2690719

File tree

4 files changed

+14
-53
lines changed

4 files changed

+14
-53
lines changed

src/components/Header.astro

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,31 @@
2020
aria-label="Navegación principal"
2121
>
2222
<a
23-
href="cronograma"
23+
href="/cronograma"
2424
data-section="cronograma"
2525
class="nav-link px-4 py-2 rounded-lg border-2 border-transparent hover:text-[#FFC727] focus-visible:text-[#FFC727] focus-visible:border-[#FFC727] focus:outline-none transition"
2626
>Cronograma</a
2727
>
2828
<a
29-
href="#ubicacion"
29+
href="/#ubicacion"
3030
data-section="ubicacion"
3131
class="nav-link px-4 py-2 rounded-lg border-2 border-transparent hover:text-[#FFC727] focus-visible:text-[#FFC727] focus-visible:border-[#FFC727] focus:outline-none transition"
3232
>Ubicación</a
3333
>
3434
<a
35-
href="#sponsors"
35+
href="/#sponsors"
3636
data-section="sponsors"
3737
class="nav-link px-4 py-2 rounded-lg border-2 border-transparent hover:text-[#FFC727] focus-visible:text-[#FFC727] focus-visible:border-[#FFC727] focus:outline-none transition"
3838
>Sponsors</a
3939
>
4040
<a
41-
href="#sobre-nosotros"
41+
href="/#sobre-nosotros"
4242
data-section="sobre-nosotros"
4343
class="nav-link px-4 py-2 rounded-lg border-2 border-transparent hover:text-[#FFC727] focus-visible:text-[#FFC727] focus-visible:border-[#FFC727] focus:outline-none transition"
4444
>Sobre nosotros</a
4545
>
4646
<a
47-
href="faqs"
47+
href="/faqs"
4848
data-section="faqs"
4949
class="nav-link px-4 py-2 rounded-lg border-2 border-transparent hover:text-[#FFC727] focus-visible:text-[#FFC727] focus-visible:border-[#FFC727] focus:outline-none transition"
5050
>FAQs</a
@@ -100,35 +100,35 @@
100100
<ul class="flex flex-col gap-2">
101101
<li>
102102
<a
103-
href="cronograma"
103+
href="/cronograma"
104104
class="block py-3 px-3 rounded-lg border-2 border-transparent hover:bg-white/10 transition"
105105
>Cronograma</a
106106
>
107107
</li>
108108
<li>
109109
<a
110-
href="#ubicacion"
110+
href="/#ubicacion"
111111
class="block py-3 px-3 rounded-lg border-2 border-transparent hover:bg-white/10 transition"
112112
>Ubicación</a
113113
>
114114
</li>
115115
<li>
116116
<a
117-
href="#sponsors"
117+
href="/#sponsors"
118118
class="block py-3 px-3 rounded-lg border-2 border-transparent hover:bg-white/10 transition"
119119
>Sponsors</a
120120
>
121121
</li>
122122
<li>
123123
<a
124-
href="#sobre-nosotros"
124+
href="/#sobre-nosotros"
125125
class="block py-3 px-3 rounded-lg border-2 border-transparent hover:bg-white/10 transition"
126126
>Sobre nosotros</a
127127
>
128128
</li>
129129
<li>
130130
<a
131-
href="faqs"
131+
href="/faqs"
132132
class="block py-3 px-3 rounded-lg border-2 border-transparent hover:bg-white/10 transition"
133133
>FAQs</a
134134
>

src/components/Schedule.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ interface Props {
1919
const { id = 'schedule', schedule } = Astro.props as Props;
2020
---
2121

22-
<section id={id} class="scroll-mt-28 py-16 sm:py-20 md:py-24" aria-labelledby={`${id}-title`}>
23-
<header class="flex justify-center my-32">
22+
<section id={id} class="scroll-mt-24 py-8 sm:py-10 md:py-12" aria-labelledby={`${id}-title`}>
23+
<header class="flex justify-center my-12">
2424
<h2
2525
id={`${id}-title`}
2626
class="text-3xl md:text-4xl lg:text-5xl font-semibold tracking-wide drop-shadow-sm text-white"

src/pages/index.astro

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import Layout from '../layouts/Layout.astro';
33
import Hero from '../components/Hero.astro';
44
import Sponsors from '../components/Sponsors.astro';
5-
import Schedule from '../components/Schedule.astro';
65
import AboutUs from '../components/AboutUs.astro';
76
import Questions from '../components/Questions.astro';
87
@@ -15,43 +14,6 @@ const sponsors = [
1514
// { name: 'Sponsor4', image: '/', url: '#' },
1615
];
1716
18-
const schedule = [
19-
{
20-
date: '24 de Octubre - Viernes',
21-
activities: [
22-
{
23-
hour: '12:45 - 2:15',
24-
name: 'Nombre de actividad',
25-
ubication: 'Ubicacion',
26-
description: 'Descripcion',
27-
},
28-
{
29-
hour: '12:45 - 2:15',
30-
name: 'Nombre de actividad',
31-
ubication: 'Ubicacion',
32-
description: 'Descripcion',
33-
},
34-
],
35-
},
36-
{
37-
date: '24 de Octubre - Viernes',
38-
activities: [
39-
{
40-
hour: '12:45 - 2:15',
41-
name: 'Nombre de actividad',
42-
ubication: 'Ubicacion',
43-
description: 'Descripcion',
44-
},
45-
{
46-
hour: '12:45 - 2:15',
47-
name: 'Nombre de actividad',
48-
ubication: 'Ubicacion',
49-
description: 'Descripcion',
50-
},
51-
],
52-
},
53-
];
54-
5517
const questions = [
5618
{ question: 'Pregunta?', answer: 'Respuesta meticulosamente pensada ' },
5719
{ question: 'Pregunta?', answer: 'Respuesta meticulosamente pensada ' },
@@ -62,6 +24,5 @@ const questions = [
6224
<Hero />
6325
<Sponsors id="sponsors" sponsors={sponsors} />
6426
<AboutUs />
65-
<Schedule id="schedule" schedule={schedule} />
6627
<Questions id="questions" questions={questions} />
67-
</Layout>
28+
</Layout>

src/styles/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
body {
44
min-height: 100vh;
5-
background: linear-gradient(135deg, #38c76e, #2b9453);
5+
background: linear-gradient(90deg, #2b9453, #38c76e);
66
}
77

88
.section-block {

0 commit comments

Comments
 (0)