-
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the OpenJS Foundation Calendar (#638)
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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)); | ||
|
@@ -528,7 +528,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' | ||
|