Skip to content

Commit 60403d3

Browse files
authored
Merge pull request #1666 from jdesrosiers/fix-calendar-links
Update calendar links to point to the [email protected] calendar
2 parents f06af75 + f335e89 commit 60403d3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pages/index.page.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,11 @@ export const getStaticProps: GetStaticProps = async () => {
4747
new Date(a.frontmatter.date).getTime(),
4848
)
4949
.slice(0, 5);
50-
// Example usage:
5150
const remoteICalUrl =
52-
'https://calendar.google.com/calendar/ical/json.schema.community%40gmail.com/public/basic.ics'; // Replace with the actual URL
51+
'https://calendar.google.com/calendar/ical/info%40json-schema.org/public/basic.ics';
5352
const datesInfo = await fetchRemoteICalFile(remoteICalUrl)
5453
.then((icalData: any) => printEventsForNextWeeks(ical.parseICS(icalData)))
5554
.catch((error) => console.error('Error:', error));
56-
// console.log('this is fetched data', datesInfo)
5755
return {
5856
props: {
5957
blogPosts,
@@ -557,7 +555,7 @@ const Home = (props: any) => {
557555
</div>
558556

559557
<a
560-
href='https://calendar.google.com/calendar/embed?src=json.schema.community%40gmail.com&ctz=Europe%2FLondon'
558+
href='https://calendar.google.com/calendar/embed?src=info%40json-schema.org'
561559
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'
562560
target='_blank'
563561
rel='noopener noreferrer'

0 commit comments

Comments
 (0)