Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions src/content/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineCollection, reference, z } from "astro:content";
// import { loadData } from "@utils/dataLoader";
import { loadData } from "@utils/dataLoader";
import { glob } from "astro/loaders";

const mode = import.meta.env.MODE;
Expand Down Expand Up @@ -51,11 +51,8 @@ const keynoters = defineCollection({
});

async function getCollectionsData() {
// TODO: Re-enable when the API is available
// const speakersData = await loadData(import.meta.env.EP_SPEAKERS_API);
// const sessionsData = await loadData(import.meta.env.EP_SESSIONS_API);
const speakersData = {};
const sessionsData = {};
const speakersData = await loadData(import.meta.env.EP_SPEAKERS_API);
const sessionsData = await loadData(import.meta.env.EP_SESSIONS_API);

const speakersById = Object.entries(
speakersData as Record<string, {}>
Expand Down
4 changes: 3 additions & 1 deletion src/data/enabledPages.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"/about",
"/faq",
"/sponsorship/sponsor",
"/sponsorship/information"
"/sponsorship/information",
"/sessions",
"/speakers"
],
"navItems": ["Programme", "Venue", "About"]
}
8 changes: 8 additions & 0 deletions src/data/links.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
{
"name": "Programme",
"items": [
{
"name": "List of Sessions",
"path": "/sessions"
},
{
"name": "List of Speakers",
"path": "/speakers"
},
{
"name": "Tracks",
"path": "/tracks"
Expand Down
Loading