diff --git a/website/next.config.mjs b/website/next.config.mjs index f42e07f15..5b414bee7 100644 --- a/website/next.config.mjs +++ b/website/next.config.mjs @@ -31,6 +31,9 @@ const highlightLanguages = { /** @type {import('next').NextConfig} */ const nextConfig = { + experimental: { + typedRoutes: true, + }, // Proxy GitHub requests to avoid CORS issues async rewrites() { return [ diff --git a/website/src/app/page.tsx b/website/src/app/page.tsx index 8d252569d..474064b72 100644 --- a/website/src/app/page.tsx +++ b/website/src/app/page.tsx @@ -319,7 +319,7 @@ export default function Page() {
- + - + - + - + - + - + @@ -31,7 +31,7 @@ function renderTeamMember({

{name}

- {title} + {title}
diff --git a/website/src/components/Icons/index.tsx b/website/src/components/Icons/index.tsx index 9319bbaa4..568a05bfb 100644 --- a/website/src/components/Icons/index.tsx +++ b/website/src/components/Icons/index.tsx @@ -1,11 +1,8 @@ import Link from "next/link"; -export function LinkedInIcon({ url }: { url: string }) { +export function LinkedInIcon({ url }: { url: URL }) { return ( - +