Skip to content

Commit

Permalink
chore(website): add a link to playground on the navigation (#2575)
Browse files Browse the repository at this point in the history
chore(website): add a link to playground on the top page
  • Loading branch information
koba04 committed May 10, 2024
1 parent b63c88f commit 6a7c53e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/src/components/navbar.desktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ export const DesktopNavBar = () => {
<HStack gap="4">
<NavLink href="/docs">Docs</NavLink>
<NavLink href="/learn">Learn</NavLink>
<NavLink href="https://play.panda-css.com/" isExternal>
<HStack>
<span>Playground</span>
<ButtonIcon icon="ExternalLink" />
</HStack>
</NavLink>
<NavLink href="https://github.com/chakra-ui/panda" isExternal>
<HStack>
<span>Github</span>
Expand Down
6 changes: 6 additions & 0 deletions website/src/components/navbar.mobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ export const MobileNavBar = () => {
<Stack align="flex-start">
<NavLink href="/docs">Docs</NavLink>
<NavLink href="/learn">Learn</NavLink>
<NavLink href="https://play.panda-css.com/" isExternal>
<HStack>
<span>Playground</span>
<ButtonIcon icon="ExternalLink" />
</HStack>
</NavLink>
<NavLink href="https://github.com/chakra-ui/panda" isExternal>
<HStack>
<span>Github</span>
Expand Down

0 comments on commit 6a7c53e

Please sign in to comment.