Skip to content

Update calendar links to point to the [email protected] calendar #1666

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

Merged
merged 1 commit into from
May 20, 2025
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
6 changes: 2 additions & 4 deletions pages/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -557,7 +555,7 @@ const Home = (props: any) => {
</div>

<a
href='https://calendar.google.com/calendar/embed?src=json.schema.community%40gmail.com&ctz=Europe%2FLondon'
href='https://calendar.google.com/calendar/embed?src=info%40json-schema.org'
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