add discord button

This commit is contained in:
Aman Varshney
2025-05-24 22:10:06 +05:30
parent b658ddda97
commit b262ce7008
5 changed files with 43 additions and 7 deletions

View File

@@ -17,6 +17,7 @@ import {
} from "@/lib/constant";
import { stackParsers, stackQueryStatesOptions } from "@/lib/stack-url-state";
import { cn } from "@/lib/utils";
import discordLogo from "@/public/icon/discord.svg";
import {
Check,
ClipboardCopy,
@@ -1597,6 +1598,17 @@ const StackBuilder = () => {
>
<Github className="h-4 w-4" />
</Link>
<Link
href={"https://discord.com/invite/tMunxM5R"}
target="_blank"
rel="noopener noreferrer"
className={cn(
"text-muted-foreground transition-colors hover:text-foreground",
)}
title="Join Discord"
>
<Image src={discordLogo} alt="discord" className="size-4" />{" "}
</Link>
<ThemeToggle />
</div>
</div>