mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
16a6e1439e
- All CoAgents documentation has been improved or reevaluated in some way - The coaents-starter has been simplified - The coagents-starter now has a JS agent - Expanded and unified examples in guides - Quickstart has been improved in a number of ways - Adding documentation about LangGraph interrupt Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
44 lines
1.2 KiB
TypeScript
44 lines
1.2 KiB
TypeScript
import Link from "next/link";
|
|
import { FaDiscord, FaGithub, FaEdit } from "react-icons/fa";
|
|
import { FaXTwitter } from "react-icons/fa6";
|
|
import { Button } from "@/components/ui/button";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const socials = [
|
|
{
|
|
icon: FaDiscord,
|
|
href: "https://discord.com/invite/6dffbvGU3D"
|
|
},
|
|
{
|
|
icon: FaGithub,
|
|
href: "https://github.com/CopilotKit/CopilotKit"
|
|
},
|
|
{
|
|
icon: FaXTwitter,
|
|
href: "https://x.com/copilotkit"
|
|
}
|
|
]
|
|
|
|
export type SocialProps = {
|
|
className?: string;
|
|
}
|
|
|
|
export function Socials({ className }: SocialProps) {
|
|
return (
|
|
<div className={cn("flex gap-1 justify-end", className)}>
|
|
{socials.map((social, index) => (
|
|
<Button
|
|
key={index}
|
|
variant="ghost"
|
|
size="icon"
|
|
asChild
|
|
className="h-10 w-10 text-indigo-500/80 hover:bg-indigo-500 hover:text-white"
|
|
>
|
|
<Link href={social.href} target="_blank" rel="noopener noreferrer">
|
|
<social.icon className="w-4 h-4" />
|
|
</Link>
|
|
</Button>
|
|
))}
|
|
</div>
|
|
)
|
|
} |