File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { defineCollection , reference , z } from "astro:content" ;
2- // import { loadData } from "@utils/dataLoader";
2+ import { loadData } from "@utils/dataLoader" ;
33import { glob } from "astro/loaders" ;
44
55const mode = import . meta. env . MODE ;
@@ -51,11 +51,8 @@ const keynoters = defineCollection({
5151} ) ;
5252
5353async function getCollectionsData ( ) {
54- // TODO: Re-enable when the API is available
55- // const speakersData = await loadData(import.meta.env.EP_SPEAKERS_API);
56- // const sessionsData = await loadData(import.meta.env.EP_SESSIONS_API);
57- const speakersData = { } ;
58- const sessionsData = { } ;
54+ const speakersData = await loadData ( import . meta. env . EP_SPEAKERS_API ) ;
55+ const sessionsData = await loadData ( import . meta. env . EP_SESSIONS_API ) ;
5956
6057 const speakersById = Object . entries (
6158 speakersData as Record < string , { } >
Original file line number Diff line number Diff line change 2323 " /about" ,
2424 " /faq" ,
2525 " /sponsorship/sponsor" ,
26- " /sponsorship/information"
26+ " /sponsorship/information" ,
27+ " /sessions" ,
28+ " /speakers"
2729 ],
2830 "navItems" : [" Programme" , " Venue" , " About" ]
2931}
Original file line number Diff line number Diff line change 33 {
44 "name" : " Programme" ,
55 "items" : [
6+ {
7+ "name" : " List of Sessions" ,
8+ "path" : " /sessions"
9+ },
10+ {
11+ "name" : " List of Speakers" ,
12+ "path" : " /speakers"
13+ },
614 {
715 "name" : " Tracks" ,
816 "path" : " /tracks"
You can’t perform that action at this time.
0 commit comments