Skip to content

Commit fc37824

Browse files
committed
feat: add Github component with dropdown menu for future integration
1 parent 7bb19bd commit fc37824

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

app/desktop/github.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { GithubIcon } from "@/components/icons/github";
2+
import { DropdownMenu, DropdownMenuContent, DropdownMenuTrigger } from "@/components/ui/dropdown-menu";
3+
4+
export default function Github() {
5+
return (
6+
<DropdownMenu>
7+
<DropdownMenuTrigger asChild>
8+
<button type="button" className="relative flex cursor-pointer items-center justify-center size-9 rounded-lg hover:bg-white hover:shadow-lg duration-400 shadow-black/10 transition-colors">
9+
<GithubIcon className="text-gray-600 size-7" />
10+
</button>
11+
</DropdownMenuTrigger>
12+
<DropdownMenuContent side="top" align="center" className="w-xl">
13+
<div className="h-48 flex items-center justify-center">
14+
<p>Coming Soon...</p>
15+
</div>
16+
</DropdownMenuContent>
17+
</DropdownMenu>
18+
);
19+
}

0 commit comments

Comments
 (0)