Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 32 additions & 52 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"immer": "^11.1.4",
"jszip": "^3.10.1",
"katex": "^0.16.42",
"lucide-react": "^0.577.0",
"lucide-react": "^1.6.0",
"mitt": "^3.0.1",
"next": "16.2.1",
"openai": "^6.32.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"use client";

import { useState, useCallback } from "react";
import { Github, Link, ArrowRight, Loader2, AlertCircle, Check, X } from "lucide-react";
import { Link, ArrowRight, Loader2, AlertCircle, Check, X } from "lucide-react";
import { GithubIcon as Github } from "./icons";
import { GitHubService } from "../services/GitHubService";

// ============================================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"use client";

import { memo } from "react";
import { Star, Download, Github, ExternalLink, FileText } from "lucide-react";
import { Star, Download, ExternalLink, FileText } from "lucide-react";
import { GithubIcon as Github } from "./icons";
import type { TemplateMetadata, TemplateCategory } from "../types";

// ============================================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
import { useState, useCallback, useMemo, useEffect } from "react";
import {
X,
Github,
RefreshCw,
Loader2,
LayoutGrid,
List,
Upload,
} from "lucide-react";
import { GithubIcon as Github } from "./icons";
import { TemplateCard } from "./TemplateCard";
import { TemplateSearch } from "./TemplateSearch";
import { TemplateFilters } from "./TemplateFilters";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useState, useEffect, useCallback } from "react";
import {
X,
Download,
Github,
ExternalLink,
FileText,
Star,
Expand All @@ -18,6 +17,7 @@ import {
FileCode,
Package,
} from "lucide-react";
import { GithubIcon as Github } from "./icons";
import type { TemplateMetadata, TemplateFiles, TemplateFile } from "../types";

// ============================================================
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import type { SVGProps } from "react";

/**
* GitHub icon — inline SVG replacement for lucide-react's removed brand icon.
* lucide-react 1.x dropped all brand icons for trademark reasons.
*/
export function GithubIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
{...props}
>
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" />
<path d="M9 18c-4.51 2-5-2-7-2" />
</svg>
);
}
Loading