File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 echo "NEXT_PUBLIC_RECAPTCHA_SITE_KEY=123fAkE" >> .env
1818 - uses : actions/setup-node@v6
1919 with :
20- node-version : ' 24'
20+ node-version : ' 24.x '
2121 - name : Install dependencies
2222 run : npm ci
2323 - name : Install Playwright Browsers
Original file line number Diff line number Diff line change 99 timeout-minutes : 60
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v4
13- - uses : actions/setup-node@v4
12+ - uses : actions/checkout@v6
13+ - uses : actions/setup-node@v6
1414 with :
15- node-version : ' 20 .x'
15+ node-version : ' 24 .x'
1616 - name : Install dependencies
1717 run : npm ci
1818 - name : Run code validation (includes linting, prettier and building)
Original file line number Diff line number Diff line change 11/// <reference types="next" />
22/// <reference types="next/image-types/global" />
3- import './.next/dev/ types/routes.d.ts' ;
3+ import './.next/types/routes.d.ts' ;
44
55// NOTE: This file should not be edited
66// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ export default function ContactUs() {
66 const [ screenWidth , setScreenWidth ] = useState < number | null > ( null ) ;
77
88 useEffect ( ( ) => {
9- // Defer the initial set to avoid synchronous setState inside the effect
10- // which can cause cascading renders. Use requestAnimationFrame so the
11- // update runs after the browser paints.
129 const rafId = requestAnimationFrame ( ( ) =>
1310 setScreenWidth ( window . innerWidth )
1411 ) ;
Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ export default function HeroHeader() {
88 const breakpoint = 768 ;
99
1010 useEffect ( ( ) => {
11- // Defer the initial set to avoid synchronous setState inside the effect
12- // which can cause cascading renders. Use requestAnimationFrame so the
13- // update runs after the browser paints.
1411 const rafId = requestAnimationFrame ( ( ) =>
1512 setScreenWidth ( window . innerWidth )
1613 ) ;
Original file line number Diff line number Diff line change 11import LinkButton from '../LinkButton/LinkButton' ;
2- // Use the `public/` folder via a URL path (no import).
3- // The image is served from `/images/hero-image.jpg`.
42
53export default function MobileHero ( ) {
64 return (
Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ export default function Navbar() {
1212 const breakpoint = 768 ;
1313
1414 useEffect ( ( ) => {
15- // Defer the initial set to avoid synchronous setState inside the effect
16- // which can cause cascading renders. Use requestAnimationFrame so the
17- // update runs after the browser paints.
1815 const rafId = requestAnimationFrame ( ( ) =>
1916 setScreenWidth ( window . innerWidth )
2017 ) ;
You can’t perform that action at this time.
0 commit comments