diff --git a/docs/app/page.tsx b/docs/app/page.tsx index a422ad0c..39456485 100644 --- a/docs/app/page.tsx +++ b/docs/app/page.tsx @@ -5,7 +5,6 @@ import { BookOpen, Bot, Braces, - Github, LayoutDashboard, ShieldCheck, Sparkles, @@ -13,6 +12,7 @@ import { Wand2, } from 'lucide-react' import { CodeBlockServer } from '@/components/CodeBlockServer' +import { GithubIcon } from '@/components/icons/GithubIcon' import { SessionSwitcher } from '@/components/landing/SessionSwitcher' const INSTALL_COMMAND = 'npm create opensaas-app@latest my-app' @@ -157,7 +157,7 @@ export default function HomePage() { className="p-2 text-zinc-300 hover:text-zinc-50 transition-colors" aria-label="Stack on GitHub" > - + - + GitHub @@ -73,7 +73,7 @@ export function DocLayout({ children, slug }: DocLayoutProps) { rel="noopener noreferrer" className="text-sm text-muted-foreground hover:text-foreground transition-colors flex items-center gap-2" > - + Edit this page on GitHub diff --git a/docs/components/MobileNav.tsx b/docs/components/MobileNav.tsx index e156d3ca..4aa6337c 100644 --- a/docs/components/MobileNav.tsx +++ b/docs/components/MobileNav.tsx @@ -2,7 +2,8 @@ import { useState } from 'react' import Link from 'next/link' -import { Github, Menu, X } from 'lucide-react' +import { Menu, X } from 'lucide-react' +import { GithubIcon } from './icons/GithubIcon' import { SidebarNav } from './Sidebar' /** Hamburger-triggered navigation drawer for viewports below `md`. */ @@ -52,7 +53,7 @@ export function MobileNav() { rel="noopener noreferrer" className="flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors" > - + GitHub diff --git a/docs/components/icons/GithubIcon.tsx b/docs/components/icons/GithubIcon.tsx new file mode 100644 index 00000000..166e899a --- /dev/null +++ b/docs/components/icons/GithubIcon.tsx @@ -0,0 +1,19 @@ +import type { SVGProps } from 'react' + +/** + * lucide-react removed brand/logo icons (including GitHub) in its v1 major release, + * so the GitHub mark is vendored locally instead of imported from the package. + */ +export function GithubIcon(props: SVGProps) { + return ( + + ) +} diff --git a/docs/package.json b/docs/package.json index 3e80174c..0edd85b8 100644 --- a/docs/package.json +++ b/docs/package.json @@ -20,7 +20,7 @@ "@opensaas/stack-rag": "workspace:*", "@vercel/analytics": "^2.0.1", "clipboard-copy": "^4.0.1", - "lucide-react": "^0.562.0", + "lucide-react": "^1.25.0", "next": "^16.2.10", "openai": "^6.32.0", "react": "^19.2.4", diff --git a/packages/ui/package.json b/packages/ui/package.json index 51419668..b78a29f5 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -82,7 +82,7 @@ "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "date-fns": "^4.1.0", - "lucide-react": "^0.562.0", + "lucide-react": "^1.25.0", "react-hook-form": "^7.71.2", "tailwind-merge": "^3.5.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 371569da..1d1b14ee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,8 +81,8 @@ importers: specifier: ^4.0.1 version: 4.0.1 lucide-react: - specifier: ^0.562.0 - version: 0.562.0(react@19.2.4) + specifier: ^1.25.0 + version: 1.25.0(react@19.2.4) next: specifier: ^16.2.10 version: 16.2.10(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@playwright/test@1.60.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) @@ -1232,8 +1232,8 @@ importers: specifier: ^4.1.0 version: 4.1.0 lucide-react: - specifier: ^0.562.0 - version: 0.562.0(react@19.2.4) + specifier: ^1.25.0 + version: 1.25.0(react@19.2.4) react-hook-form: specifier: ^7.71.2 version: 7.71.2(react@19.2.4) @@ -6296,8 +6296,8 @@ packages: resolution: {integrity: sha512-DqC6n3QQ77zdFpCMASA1a3Jlb64Hv2N2DciFGkO/4L9+q/IpIAuRlKOvCXabtRW6cQf8usbmM6BE/TOPysCdIA==} engines: {bun: '>=1.0.0', deno: '>=1.30.0', node: '>=8.0.0'} - lucide-react@0.562.0: - resolution: {integrity: sha512-82hOAu7y0dbVuFfmO4bYF1XEwYk/mEbM5E+b1jgci/udUBEE/R7LF5Ip0CCEmXe8AybRM8L+04eP+LGZeDvkiw==} + lucide-react@1.25.0: + resolution: {integrity: sha512-/mdJTRbiwcLOQ1NZZK1amZF9rIZyvO18D6r9TngE6TG1NmqHgFuT4eE7Xrkm9UsXMbBJD1NlfwHVltCDWHrOTw==} peerDependencies: react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -12999,7 +12999,7 @@ snapshots: lru.min@1.1.4: {} - lucide-react@0.562.0(react@19.2.4): + lucide-react@1.25.0(react@19.2.4): dependencies: react: 19.2.4