Skip to content

Commit

Permalink
Merge pull request #151 from ensdomains/hotfix/disable-playroom
Browse files Browse the repository at this point in the history
Disable playroom
  • Loading branch information
storywithoutend authored May 21, 2024
2 parents fba0767 + 848291f commit ebb0650
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"build": "next build && playroom build",
"build": "next build",
"build:playroom": "playroom build",
"build:next": "next build",
"export": "next export",
Expand Down
6 changes: 3 additions & 3 deletions docs/src/components/CodePreview/CodePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { PrismTheme } from 'prism-react-renderer'

import { Button, Colors, Components } from '@ensdomains/thorin'

import { createPlayroomLink } from '~/utils/playroom'
// import { createPlayroomLink } from '~/utils/playroom'
import { usePlayroomStore } from '~/playroom/PlayroomState'
import { avatars } from '~/playroom/useScope'

Expand Down Expand Up @@ -170,15 +170,15 @@ export const CodePreview = ({
</div>

<div>
<Button
{/* <Button
as="a"
colorStyle="accentSecondary"
href={createPlayroomLink({ code })}
size="small"
target="_blank"
>
Open in Playroom
</Button>
</Button> */}
</div>
</ButtonContainer>
</div>
Expand Down
8 changes: 4 additions & 4 deletions docs/src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from '@ensdomains/thorin'

import { createGitHubLink } from '~/utils/github'
import { createPlayroomLink } from '~/utils/playroom'
// import { createPlayroomLink } from '~/utils/playroom'
import { useIsMounted } from '~/utils/isMounted'

import { Link } from './Link'
Expand Down Expand Up @@ -193,7 +193,7 @@ export const Nav = ({ links }: Props) => {
<FlexContainer $space="6">
<FlexContainer $space="3">
<NavLink href={createGitHubLink()}>GitHub</NavLink>
<NavLink href={createPlayroomLink()}>Playroom</NavLink>
{/* <NavLink href={createPlayroomLink()}>Playroom</NavLink> */}
</FlexContainer>

<FlexContainer>
Expand All @@ -208,15 +208,15 @@ export const Nav = ({ links }: Props) => {
>
Development
</NavLink>
<NavLink
{/* <NavLink
active={
isMounted &&
router.asPath.split('#')[0] === '/guides/playroom'
}
href="/guides/playroom"
>
Playroom
</NavLink>
</NavLink> */}
</FlexContainer>
</FlexContainer>

Expand Down

0 comments on commit ebb0650

Please sign in to comment.