diff --git a/src/components/sections/theweek.astro b/src/components/sections/theweek.astro new file mode 100644 index 000000000..ccc2b8241 --- /dev/null +++ b/src/components/sections/theweek.astro @@ -0,0 +1,60 @@ +--- +import Section from "@ui/Section.astro" +import Headline from "@ui/Headline.astro"; + +interface WeekPeriod { + id: string; + days: string; + dates: string; + activities: string; + isActive?: boolean; +} + +const weekPeriods: WeekPeriod[] = [ + { + id: 'monday-tuesday', + days: 'Mon – Tues', + dates: '14 – 15 July', + activities: 'Workshops & Tutorials', + isActive: true + }, + { + id: 'wednesday-friday', + days: 'Wed – Friday', + dates: '16 – 18 July', + activities: 'The Main Conference', + }, + { + id: 'saturday-sunday', + days: 'Sat – Sun', + dates: '19 – 20 July', + activities: 'Sprints', + } +]; +--- + +
+ +
+ {weekPeriods.map((period) => ( +
+
+

+ {period.dates} +

+ + {period.days} + +
+
+ + {period.activities} + +
+
+ ))} +
+
diff --git a/src/pages/index.astro b/src/pages/index.astro index 307e60467..216858b04 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,7 @@ --- import Layout from "@layouts/Layout.astro"; import Hero from "@sections/hero/hero.astro"; +import TheWeek from "@sections/theweek.astro"; import Updates from "@sections/updates/updates.astro"; import Keynoters from "@sections/keynoters/keynoters.astro"; import Speakers from "@sections/speakers.astro"; @@ -14,6 +15,7 @@ import Subscribe from "@sections/subscribe.astro"; description="EuroPython is the largest Python conference in Europe. We are looking forward to seeing you in Prague, Czech Republic & Remote from July 14th-20th 2025." > +