diff --git a/package-lock.json b/package-lock.json index 605330b..58fa5c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@scure/base": "^2.2.0", "bs58check": "^3.0.1", "clsx": "2.1.1", - "lucide-react": "0.441.0", + "lucide-react": "1.22.0", "next": "14.2.5", "next-auth": "^5.0.0-beta.32", "react": "18.3.1", @@ -6061,12 +6061,12 @@ } }, "node_modules/lucide-react": { - "version": "0.441.0", - "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.441.0.tgz", - "integrity": "sha512-0vfExYtvSDhkC2lqg0zYVW1Uu9GsI4knuV9GP9by5z0Xhc4Zi5RejTxfz9LsjRmCyWVzHCJvxGKZWcRyvQCWVg==", + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.22.0.tgz", + "integrity": "sha512-c9o3l0PiNcgOQDW4F31BEYHudE7kgxVt3o30qMl36ZPwTxXlGB4QnLilhERvVM4uh/pl5MDyY1/gzZSYcHDtBg==", "license": "ISC", "peerDependencies": { - "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" + "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "node_modules/magic-string": { diff --git a/package.json b/package.json index cc83539..f71b75d 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@scure/base": "^2.2.0", "bs58check": "^3.0.1", "clsx": "2.1.1", - "lucide-react": "0.441.0", + "lucide-react": "1.22.0", "next": "14.2.5", "next-auth": "^5.0.0-beta.32", "react": "18.3.1", diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 57db774..c491a95 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -1,6 +1,24 @@ import PageLayout from "@/components/ui/page-layout"; import { ECOSYSTEM_PILLARS } from "@/lib/config/ecosystem"; -import { Eye, Vote, Bitcoin, Github } from "lucide-react"; +import { Eye, Vote, Bitcoin } from "lucide-react"; + +// lucide-react v1 removed every brand mark, so `Github` no longer exists there. +// The link points at GitHub specifically, so a generic stand-in icon would say +// less than the mark does — inlined here to keep the page looking identical. +// One usage, so it stays local rather than becoming a shared primitive. +function GithubIcon({ className }: { className?: string }) { + return ( + + ); +} export default function AboutPage() { return ( @@ -92,7 +110,7 @@ export default function AboutPage() { rel="noopener noreferrer" className="border border-default text-white px-8 py-3 rounded-lg hover:bg-on-brand/10 transition-colors font-semibold inline-flex items-center justify-center gap-2" > - Source code + Source code