File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff 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 % 2 FLondon '
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'
You can’t perform that action at this time.
0 commit comments