From 039f6b8ba45ddab377b38fd3434d78642ad79308 Mon Sep 17 00:00:00 2001 From: Rob Moffat Date: Thu, 19 Dec 2024 16:36:19 +0000 Subject: [PATCH] Trying to fix netlify build --- package.json | 4 ++-- src/components/test.json | 14 ++++++++++++++ src/pages/signup.js | 2 +- src/styles/App.css | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 src/components/test.json diff --git a/package.json b/package.json index 83da7f9cf38..fb62093f5b2 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "npm": "^10.3.0" }, "scripts": { - "build": "npm run setup-environment && npm run download-ics && npm run get-events && gatsby build", + "build": "npm run decrypt-service-account && npm run setup-environment && npm run download-ics && npm run get-events && gatsby build", "develop": "npm run get-mock-events && gatsby develop", "start": "gatsby develop", "serve": "gatsby serve", @@ -17,7 +17,7 @@ "lint-fix": "npm run lint -- --fix", "get-mock-events": "node ./scripts/setMock.js", "decrypt-service-account": "gpg --quiet --batch --yes --decrypt --passphrase=${GOOGLE_SERVICE_ACCOUNT_PASSPHRASE} --output calendar-service-account.json calendar-service-account.json.gpg", - "setup-environment": "GOOGLE_SERVICE_ACCOUNT_PASSPHRASE=`cat calendar-service-account.json`", + "setup-environment": "GOOGLE_SERVICE_ACCOUNT=`cat calendar-service-account.json`", "download-ics": "npx mkdirp dist && curl -o dist/basic.ics https://calendar.google.com/calendar/ical/finos.org_fac8mo1rfc6ehscg0d80fi8jig%40group.calendar.google.com/public/basic.ics", "get-events": "npx mkdirp dist && node ./scripts/googleapi2events.mjs", "getEvents": "npm run get-events", diff --git a/src/components/test.json b/src/components/test.json new file mode 100644 index 00000000000..cc5365a0d2e --- /dev/null +++ b/src/components/test.json @@ -0,0 +1,14 @@ +{ + "allDay": false, + "title": "FINOS InnerSource Special Interest Group", + "start": "2024-12-19T14:00:00Z", + "end": "2024-12-19T15:00:00Z", + "extendedProps": { + "description": "InnerSource SIG
https://github.com/finos/InnerSource

Join Zoom Meeting
https://zoom.us/j/97717618541
Meeting ID: 977 1761 8541
Passcode: 878599

One tap mobile
+15642172000,,94949043746# US
+16465588656,,94949043746# US (New York)

Dial by your location
+1 564 217 2000 US
+1 646 558 8656 US (New York)
+1 646 931 3860 US
+1 669 444 9171 US
+1 669 900 6833 US (San Jose)
+1 689 278 1000 US
+1 719 359 4580 US
+1 253 205 0468 US
+1 253 215 8782 US (Tacoma)
+1 301 715 8592 US (Washington DC)
+1 305 224 1968 US
+1 309 205 3325 US
+1 312 626 6799 US (Chicago)
+1 346 248 7799 US (Houston)
+1 360 209 5623 US
+1 386 347 5053 US
+1 507 473 4847 US
855 880 1246 US Toll-free
877 369 0926 US Toll-free
+1 647 374 4685 Canada
+1 647 558 0588 Canada
+1 778 907 2071 Canada
+1 780 666 0144 Canada
+1 204 272 7920 Canada
+1 438 809 7799 Canada
+1 587 328 1099 Canada
855 703 8985 Canada Toll-free

Meeting ID: 949 4904 3746
Find your local number: https://zoom.us/u/adJnH9JOiY", + "uid": "fj4kubfv329pe1ai3fg6ggid8c_20241210T150000Z", + "location": "https://zoom.us/j/97717618541", + "repeating": "RRULE:FREQ=MONTHLY;BYDAY=2TU", + "ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//sebbo.net//ical-generator//EN\r\nMETHOD:REQUEST\r\nNAME:FINOS InnerSource Special Interest Group\r\nX-WR-CALNAME:FINOS InnerSource Special Interest Group\r\nBEGIN:VEVENT\r\nUID:0675915d-354f-4bc9-9f64-48267718d455\r\nSEQUENCE:0\r\nDTSTAMP:20241217T120754Z\r\nDTSTART:20241219T140000Z\r\nDTEND:20241219T150000Z\r\nRRULE:FREQ=MONTHLY;BYDAY=2TU\r\nSUMMARY:FINOS InnerSource Special Interest Group\r\nDESCRIPTION:InnerSource SIG\\nhttps://github.com/finos/InnerSource\\n\\nJoin \r\n Zoom Meeting\\nhttps://zoom.us/j/97717618541\\nMeeting ID: 977 1761 8541\\nPa\r\n sscode: 878599\\n\\nOne tap mobile\\n+15642172000\\,\\,94949043746# US\\n+164655\r\n 88656\\,\\,94949043746# US (New York)\\n\\nDial by your location\\n \r\n +1 564 217 2000 US\\n +1 646 558 8656 US (New York)\\n \r\n +1 646 931 3860 US\\n +1 669 444 9171 US\\n \r\n +1 669 900 6833 US (San Jose)\\n +1 689 278 1000\r\n US\\n +1 719 359 4580 US\\n +1 253 205 0468 U\r\n S\\n +1 253 215 8782 US (Tacoma)\\n +1 301 715\r\n 8592 US (Washington DC)\\n +1 305 224 1968 US\\n \r\n +1 309 205 3325 US\\n +1 312 626 6799 US (Chicago)\\n \r\n +1 346 248 7799 US (Houston)\\n +1 360 209 5623 \r\n US\\n +1 386 347 5053 US\\n +1 507 473 4847 US\r\n \\n 855 880 1246 US Toll-free\\n 877 369 0926 \r\n US Toll-free\\n +1 647 374 4685 Canada\\n +1 6\r\n 47 558 0588 Canada\\n +1 778 907 2071 Canada\\n \r\n +1 780 666 0144 Canada\\n +1 204 272 7920 Canada\\n \r\n +1 438 809 7799 Canada\\n +1 587 328 1099 Canada\\n \r\n 855 703 8985 Canada Toll-free\\n\\nMeeting ID: 949 4904 3746\\n\r\n Find your local number: https://zoom.us/u/adJnH9JOiY\r\nEND:VEVENT\r\nEND:VCALENDAR", + "rootIcsLink": "fj4kubfv329pe1ai3fg6ggid8c.ics" + } +} \ No newline at end of file diff --git a/src/pages/signup.js b/src/pages/signup.js index 262ce3bf42a..0c3c19899e3 100644 --- a/src/pages/signup.js +++ b/src/pages/signup.js @@ -28,7 +28,7 @@ export default function App({ location }) { if (isSubmitted) { return ( -
+

Thank you for signing up!

Please check your inbox for a calendar invite for {params.get("title")}.

diff --git a/src/styles/App.css b/src/styles/App.css index 8254338ba2e..cfe1925a22e 100644 --- a/src/styles/App.css +++ b/src/styles/App.css @@ -48,10 +48,10 @@ body { button.fc-button { flex: 1; + height: 2rem; } button.fc-button.finos-calendar-event-details-close { - border: none; font-size: 1.5rem; cursor: pointer; display: grid;