File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import Layout from "@layouts/Layout.astro";
33import Hero from " @sections/hero/hero.astro" ;
44// import Updates from "@sections/updates/updates.astro";
55import Week from " @sections/updates/week.astro" ;
6+ import ScheduleDays from " @sections/schedule.astro" ;
67import Keynoters from " @sections/keynoters/keynoters.astro" ;
78import Speakers from " @sections/speakers.astro" ;
89import 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 />
You can’t perform that action at this time.
0 commit comments