Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace the OpenJS Foundation Calendar #638

Merged
merged 1 commit into from
Apr 23, 2024
Merged
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
4 changes: 2 additions & 2 deletions pages/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const getStaticProps: GetStaticProps = async () => {
}
// Example usage:
const remoteICalUrl =
'https://calendar.google.com/calendar/ical/c_8r4g9r3etmrmt83fm2gljbatos%40group.calendar.google.com/public/basic.ics'; // Replace with the actual URL
'https://calendar.google.com/calendar/ical/info%40json-schema.org/public/basic.ics'; // Replace with the actual URL
const datesInfo = await fetchRemoteICalFile(remoteICalUrl)
.then((icalData) => printEventsForNextFourWeeks(ical.parseICS(icalData)))
.catch((error) => console.error('Error:', error));
Expand Down Expand Up @@ -511,7 +511,7 @@ const Home = (props: any) => {
</div>

<a
href='https://calendar.google.com/calendar/u/0/embed?src=[email protected]'
href='https://calendar.google.com/calendar/embed?src=info%40json-schema.org&ctz=Europe%2FLondon'
className='w-full lg:w-1/2 rounded border-2 bg-primary text-white hover:bg-blue-700 transition-all duration-300 ease-in-out h-[40px] text-center flex items-center justify-center mx-auto dark:border-none'
target='_blank'
rel='noopener noreferrer'
Expand Down
Loading