Skip to content

Commit 0a3de74

Browse files
committed
refactor: global style format
1 parent 94d871e commit 0a3de74

File tree

2 files changed

+55
-4
lines changed

2 files changed

+55
-4
lines changed

src/pages/cronograma.astro

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
import Layout from '../layouts/Layout.astro';
3+
import ScheduleComponent from '../components/Schedule.astro';
4+
5+
const daySchedule = [
6+
{
7+
date: '24 de Octubre - Viernes',
8+
activities: [
9+
{
10+
hour: '12:45 - 2:15',
11+
name: 'Nombre de actividad',
12+
ubication: 'Ubicación',
13+
description: 'Descripción de la actividad',
14+
},
15+
{
16+
hour: '14:30 - 15:30',
17+
name: 'Otra actividad',
18+
ubication: 'Auditorio',
19+
description: 'Descripción de la segunda actividad',
20+
},
21+
],
22+
},
23+
{
24+
date: '25 de Octubre - Sábado',
25+
activities: [
26+
{
27+
hour: '09:00 - 10:00',
28+
name: 'Apertura',
29+
ubication: 'Hall Principal',
30+
description: 'Bienvenida y presentación del evento',
31+
},
32+
{
33+
hour: '10:15 - 12:00',
34+
name: 'Workshop',
35+
ubication: 'Sala 3',
36+
description: 'Taller práctico para los participantes',
37+
},
38+
],
39+
},
40+
];
41+
---
42+
43+
<Layout>
44+
<ScheduleComponent id="cronograma" schedule={daySchedule} />
45+
</Layout>

src/styles/global.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ body {
1313
flex-direction: column;
1414
justify-content: center;
1515
}
16-
@media (min-width: 640px) {
17-
.section-block { padding-top: 6rem; padding-bottom: 6rem; }
16+
@media (min-width: 640px) {
17+
.section-block {
18+
padding-top: 6rem;
19+
padding-bottom: 6rem;
20+
}
1821
}
19-
@media (min-width: 768px) {
20-
.section-block { padding-top: 7rem; padding-bottom: 7rem; }
22+
@media (min-width: 768px) {
23+
.section-block {
24+
padding-top: 7rem;
25+
padding-bottom: 7rem;
26+
}
2127
}

0 commit comments

Comments
 (0)