Skip to content

Commit 342f12a

Browse files
committed
Add Detailed Daily Conference Schedule
1 parent ef07105 commit 342f12a

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
import Section from "@ui/Section.astro";
3+
import Button from "@ui/Button.astro";
4+
import Headline from "@ui/Headline.astro";
5+
const schedule = [
6+
{ dayname: 'Sunday', day:'July 14', href: '/schedule/day/2025-07-14' },
7+
{ dayname: 'Monday', day:'July 15', href: '/schedule/day/2025-07-15' },
8+
{ dayname: 'Tuesday', day:'July 16', href: '/schedule/day/2025-07-16' },
9+
{ dayname: 'Wednesday', day:'July 17', href: '/schedule/day/2025-07-17' },
10+
{ dayname: 'Thursday', day:'July 18', href: '/schedule/day/2025-07-18' },
11+
];
12+
13+
const sprints = {
14+
day: 'July 19–20',
15+
dayname: 'Sprints',
16+
href: '/sprints',
17+
};
18+
---
19+
20+
<Section>
21+
<Headline as="h5" title="Detailed Daily Conference Schedule" center="true" />
22+
<div class="schedule-grid p-2">
23+
{schedule.map(day => (
24+
<Button url={day.href} outline class="schedule-box">
25+
{day.day}<br />{day.dayname}
26+
</Button>
27+
))}
28+
29+
<Button url={sprints.href} secondary class="schedule-box">
30+
{sprints.day}<br />{sprints.dayname}
31+
</Button>
32+
</div>
33+
</Section>
34+
35+
<style>
36+
.schedule-grid {
37+
display: grid;
38+
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
39+
gap: 1rem;
40+
margin-top: 1rem;
41+
}
42+
</style>

src/pages/index.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Layout from "@layouts/Layout.astro";
33
import Hero from "@sections/hero/hero.astro";
44
// import Updates from "@sections/updates/updates.astro";
55
import Week from "@sections/updates/week.astro";
6+
import ScheduleDays from "@sections/schedule.astro";
67
import Keynoters from "@sections/keynoters/keynoters.astro";
78
import Speakers from "@sections/speakers.astro";
89
import Prague from "@sections/prague.astro";
@@ -16,6 +17,7 @@ import Subscribe from "@sections/subscribe.astro";
1617
>
1718
<Hero />
1819
<Week />
20+
<ScheduleDays />
1921
<Keynoters />
2022
<Speakers />
2123
<Prague />

0 commit comments

Comments
 (0)