diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 545ffcd6..7fb57566 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [20.x] env: EVENTS_SPREADSHEET_ID: ${{ secrets.EVENTS_SPREADSHEET_ID }} diff --git a/.github/workflows/node-build.yml b/.github/workflows/node-build.yml index 1fe86625..436d3956 100644 --- a/.github/workflows/node-build.yml +++ b/.github/workflows/node-build.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [20.x] env: EVENTS_SPREADSHEET_ID: ${{ secrets.EVENTS_SPREADSHEET_ID }} diff --git a/.nvmrc b/.nvmrc index 53d838af..9de22568 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -lts/gallium +lts/iron diff --git a/components/ActiveLink.js b/components/ActiveLink.js index 222ab59f..4372a32e 100644 --- a/components/ActiveLink.js +++ b/components/ActiveLink.js @@ -14,7 +14,7 @@ const ActiveLink = ({ children, activeClassName, ...props }) => { return ( //clones child with className if className exists - + {React.cloneElement(child, { className: className || null, })} diff --git a/components/Carousel.js b/components/Carousel.js index 238fb40d..2e62f977 100644 --- a/components/Carousel.js +++ b/components/Carousel.js @@ -1,4 +1,4 @@ -import Image from 'next/image'; +import Image from 'next/legacy/image'; import React from 'react'; // width of each img in px diff --git a/components/Committees/CommitteeEventCard.js b/components/Committees/CommitteeEventCard.js index 09476137..e77dc178 100644 --- a/components/Committees/CommitteeEventCard.js +++ b/components/Committees/CommitteeEventCard.js @@ -1,4 +1,4 @@ -import Image from 'next/image'; +import Image from 'next/legacy/image'; import React from 'react'; function CommitteeEventCard(props) { diff --git a/components/Committees/CommitteeSectionIntro.js b/components/Committees/CommitteeSectionIntro.js index 0503589b..d3925f97 100644 --- a/components/Committees/CommitteeSectionIntro.js +++ b/components/Committees/CommitteeSectionIntro.js @@ -8,7 +8,7 @@ import { } from '@fortawesome/free-brands-svg-icons'; import { faLink } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import Image from 'next/image'; +import Image from 'next/legacy/image'; import React from 'react'; function CommitteeIconLink({committee, link}) { diff --git a/components/Events/SelectedEvent.js b/components/Events/SelectedEvent.js index 5e8e180a..25d3dd7a 100644 --- a/components/Events/SelectedEvent.js +++ b/components/Events/SelectedEvent.js @@ -31,7 +31,11 @@ function SelectedEvent({ event }) {
{description}
{(links && links.length > 0) &&