Skip to content

Commit 4ae8dd6

Browse files
committed
100% functional
Signed-off-by: Arya Pratap Singh <notaryasingh@gmail.com>
1 parent b2ab5d7 commit 4ae8dd6

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

frontend-interface/app/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import TestCases from "@/components/TestCases";
1313
import ComplexityInput from "@/components/ComplexityInput";
1414
import SolutionDisplay from "@/components/SolutionDisplay";
1515
import { useCoAgent, useCopilotChat } from "@copilotkit/react-core";
16+
import GitHubStarButtons from "@/components/StarComponent";
1617

1718

1819
interface AgentState {
@@ -272,6 +273,7 @@ const DSASolutionInterface = () => {
272273
Powered by CopilotKit CoAgents and Langgraphs
273274
</Button>
274275
</motion.div>
276+
<GitHubStarButtons />
275277
</div>
276278

277279
<AnimatePresence>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import React from 'react';
2+
import { Button } from "@/components/ui/button";
3+
import { Github } from "lucide-react";
4+
5+
const GitHubStarButtons = () => {
6+
return (
7+
<div className="flex gap-4 justify-center mt-8 mb-4">
8+
<Button
9+
className="bg-gray-800 hover:bg-gray-900 text-white flex items-center gap-2"
10+
onClick={() => window.open('https://github.com/CopilotKit/CopilotKit', '_blank')}
11+
>
12+
<Github className="h-4 w-4" />
13+
Star CopilotKit
14+
</Button>
15+
<Button
16+
className="bg-gray-800 hover:bg-gray-900 text-white flex items-center gap-2"
17+
onClick={() => window.open('https://github.com/ARYPROGRAMMER/Learn-Coding-with-Copilotkit', '_blank')}
18+
>
19+
<Github className="h-4 w-4" />
20+
Star Us
21+
</Button>
22+
</div>
23+
);
24+
};
25+
26+
export default GitHubStarButtons;

0 commit comments

Comments
 (0)