File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import TestCases from "@/components/TestCases";
1313import ComplexityInput from "@/components/ComplexityInput" ;
1414import SolutionDisplay from "@/components/SolutionDisplay" ;
1515import { useCoAgent , useCopilotChat } from "@copilotkit/react-core" ;
16+ import GitHubStarButtons from "@/components/StarComponent" ;
1617
1718
1819interface 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 >
Original file line number Diff line number Diff line change 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 ;
You can’t perform that action at this time.
0 commit comments