Skip to content

Commit 73007ac

Browse files
committed
feat(docs): add Product Hunt button to site header
1 parent 58f26ac commit 73007ac

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

app/docs/layout.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { MobileNav } from "@/components/docs/mobile-nav"
55
import { ThemeSwitcher } from "@/components/docs/theme-switcher"
66
import { JalcoLogo } from "@/components/icons/jalco-logo"
77
import { GitHubStarsButton } from "@/registry/github-stars-button/github-stars-button"
8+
import { ProductHuntButton } from "@/registry/producthunt-button/producthunt-button"
89

910
export default function DocsLayout({ children }: { children: ReactNode }) {
1011
return (
@@ -36,6 +37,12 @@ export default function DocsLayout({ children }: { children: ReactNode }) {
3637
</nav>
3738

3839
<div className="ml-auto flex items-center gap-1.5">
40+
<ProductHuntButton
41+
slug="jalco-ui"
42+
variant="producthunt"
43+
size="sm"
44+
iconStyle="brand"
45+
/>
3946
<GitHubStarsButton
4047
owner="jal-co"
4148
repo="ui"

0 commit comments

Comments
 (0)