From f335e8985c76943f7ccba35327f1dd0e5687f61c Mon Sep 17 00:00:00 2001 From: Jason Desrosiers Date: Mon, 19 May 2025 12:49:52 -0700 Subject: [PATCH] Update calendar links to point to the info@json-schema.org calendar --- pages/index.page.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pages/index.page.tsx b/pages/index.page.tsx index 9e3c309b5..95fb51ddd 100644 --- a/pages/index.page.tsx +++ b/pages/index.page.tsx @@ -47,13 +47,11 @@ export const getStaticProps: GetStaticProps = async () => { new Date(a.frontmatter.date).getTime(), ) .slice(0, 5); - // Example usage: const remoteICalUrl = - 'https://calendar.google.com/calendar/ical/json.schema.community%40gmail.com/public/basic.ics'; // Replace with the actual URL + 'https://calendar.google.com/calendar/ical/info%40json-schema.org/public/basic.ics'; const datesInfo = await fetchRemoteICalFile(remoteICalUrl) .then((icalData: any) => printEventsForNextWeeks(ical.parseICS(icalData))) .catch((error) => console.error('Error:', error)); - // console.log('this is fetched data', datesInfo) return { props: { blogPosts, @@ -557,7 +555,7 @@ const Home = (props: any) => {