diff --git a/.env b/.env new file mode 100644 index 0000000..8a1931f --- /dev/null +++ b/.env @@ -0,0 +1 @@ +NPM_FLAGS="--legacy-peer-dep" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c637ca1..757478c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -66,3 +66,7 @@ These directories are used for automated build of modules later consumed by the - `assets/newsletters`: `llp-newsletter--.pdf` - `assets/volunteers`: `.jpg` - Other `assets/*` files and directories are not structured in any specific way. + +### Sitemap + +Sitemap is generated automatically and includes all pages in "app" directory, as well as all PDF files under "public/assets/" directory. diff --git a/app/components/LinkItem/index.tsx b/app/components/LinkItem/index.tsx index 0887288..238289f 100644 --- a/app/components/LinkItem/index.tsx +++ b/app/components/LinkItem/index.tsx @@ -1,4 +1,5 @@ import Link from "next/link"; +import type { JSX } from "react"; export function LinkItem({ children, diff --git a/app/components/NavList/index.tsx b/app/components/NavList/index.tsx index 09980ce..611a227 100644 --- a/app/components/NavList/index.tsx +++ b/app/components/NavList/index.tsx @@ -1,3 +1,4 @@ +import type { JSX } from "react"; import { navigation } from "../../../dynamic/navigation"; import { LinkItem } from "../LinkItem"; diff --git a/app/components/NavigationLink/index.tsx b/app/components/NavigationLink/index.tsx index ea8ab55..b77c4b0 100644 --- a/app/components/NavigationLink/index.tsx +++ b/app/components/NavigationLink/index.tsx @@ -1,3 +1,4 @@ +import type { JSX } from "react"; import { navigation } from "../../../dynamic/navigation"; import { LinkItem } from "../LinkItem"; diff --git a/app/components/Randomise/index.tsx b/app/components/Randomise/index.tsx index e361530..c1e8cb2 100644 --- a/app/components/Randomise/index.tsx +++ b/app/components/Randomise/index.tsx @@ -1,5 +1,6 @@ "use client"; +import type { JSX } from "react"; import React from "react"; export default function Randomise({ diff --git a/app/components/VideoWrapper/index.ts b/app/components/VideoWrapper/index.ts index 18890d6..8f53230 100644 --- a/app/components/VideoWrapper/index.ts +++ b/app/components/VideoWrapper/index.ts @@ -11,7 +11,6 @@ export function VideoWrapper({ playbackRate?: number; }) { useEffect(() => { - console.log(children); if (!children.props.id) return; const video = document.getElementById( children.props.id, diff --git a/package.json b/package.json index ac2ef43..a6c75cc 100644 --- a/package.json +++ b/package.json @@ -20,21 +20,21 @@ }, "dependencies": { "isbot": "^5.1.20", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-image-gallery": "^1.3.0", "serve": "^14.2.0" }, "devDependencies": { "@cloudflare/workers-types": "^4.20240821.1", "@types/node": "^22.8.4", - "@types/react": "^18.0.23", - "@types/react-dom": "^18.0.7", + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0", "@types/react-image-gallery": "^1.2.4", "glob": "^11.0.0", "next": "latest", "prettier": "^3.3.3", "prettier-plugin-organize-imports": "^4.0.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", "ts-node": "^10.9.2", "typescript": "^5.5.4", "yaml": "^2.5.0" diff --git a/public/assets/gallery/2024-03-16-at-23.13.20-(1).jpeg b/public/assets/gallery/2024-03-16-at-23.13.20-(1).jpeg index eb61773..ddacd12 100644 Binary files a/public/assets/gallery/2024-03-16-at-23.13.20-(1).jpeg and b/public/assets/gallery/2024-03-16-at-23.13.20-(1).jpeg differ diff --git a/public/assets/llp.mp4 b/public/assets/llp.mp4 index cd54fea..d123ee3 100644 Binary files a/public/assets/llp.mp4 and b/public/assets/llp.mp4 differ diff --git a/public/assets/newsletters/llp-newsletter38-february-2018.pdf b/public/assets/newsletters/llp-newsletter38-february-2018.pdf index 8781bd9..05f563e 100644 Binary files a/public/assets/newsletters/llp-newsletter38-february-2018.pdf and b/public/assets/newsletters/llp-newsletter38-february-2018.pdf differ