Skip to content

Commit ae4cbf3

Browse files
committed
add gh repo
1 parent 510fbf5 commit ae4cbf3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/Chat.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Code, MinimizeIcon, Send, Upload } from "lucide-react";
1+
import { Code, Github, MinimizeIcon, Send, Upload } from "lucide-react";
22
import React, { useEffect, useRef, useState } from "react";
33
import { IFRAME_TEMPLATE, LLM_HTML_MODEL_CONFIG, LLM_VISION_MODEL_CONFIG } from "./constants/chat.js";
44
import { useLLMHtmlGeneration } from "./hooks/useLLMHtmlGeneration.js";
@@ -86,6 +86,17 @@ export function Chat() {
8686
return h(
8787
"div",
8888
{ className: "min-h-screen bg-gray-950 text-gray-200" },
89+
h(
90+
"a",
91+
{
92+
href: "https://github.com/pdufour/llm-coder",
93+
target: "_blank",
94+
rel: "noopener noreferrer",
95+
className: "fixed top-4 right-4 z-20 bg-gray-900/80 backdrop-blur-sm rounded-full px-4 py-2 text-gray-300 hover:text-white hover:bg-gray-800 transition-colors flex items-center gap-2",
96+
},
97+
h(Github, { className: "w-5 h-5" }),
98+
"GitHub Repo"
99+
),
89100
!isGenerating && !messages.length
90101
? h(
91102
"div",

0 commit comments

Comments
 (0)