Skip to content

Commit

Permalink
chore: replace Playground link with Playroom link in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sarkaaa authored and DSil committed Jan 16, 2025
1 parent e2c90cf commit 0f5eee1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions docs/src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ export default function Footer() {
<Dot />
<StyledFooterLink to="https://kiwicom.github.io/orbit/">Storybook</StyledFooterLink>
<Dot />
<StyledFooterLink to="https://kiwicom.github.io/orbit/playroom">
Playroom
</StyledFooterLink>
<Dot />
<StyledFooterLink to="/changelog/">Changelog</StyledFooterLink>
<Dot />
<StyledFooterLink to="/themer/">Themer</StyledFooterLink>
Expand Down
7 changes: 4 additions & 3 deletions docs/src/components/Navbar/Links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import ReadArt from "../../images/streamline-light/read-art.svg";
import IrisScanIcon from "../../images/streamline-light/iris-scan.svg";
import ScriptIcon from "../../images/streamline-light/script.svg";

type Link = "Components" | "Guides" | "Tokens" | "Accessibility" | "Foundation" | "Playground";
type Link = "Components" | "Guides" | "Tokens" | "Accessibility" | "Foundation" | "Playroom";

interface Props {
links?: Link[];
Expand All @@ -31,7 +31,7 @@ const LinkIcon = ({ name }: { name?: string }) => {
return <ColorBrushIcon {...iconStyles} />;
case "Accessibility":
return <IrisScanIcon {...iconStyles} />;
case "Playground":
case "Playroom":
return <Code size="medium" />;
default:
return <ScriptIcon {...iconStyles} />;
Expand Down Expand Up @@ -59,6 +59,7 @@ const getLinkPath = (link: Link) => {
if (link === "Tokens") return "/foundation/design-tokens/";
if (link === "Guides") return "/development/guides/";
if (link === "Accessibility") return "/foundation/accessibility/";
if (link === "Playroom") return "https://kiwicom.github.io/orbit/playroom";

return link.toLowerCase();
};
Expand All @@ -82,7 +83,7 @@ const LinkList = ({ isDesktop, links }: { isDesktop?: boolean; links: Props["lin
);

const Links = ({
links = ["Foundation", "Components", "Tokens", "Guides", "Accessibility", "Playground"],
links = ["Foundation", "Components", "Tokens", "Guides", "Accessibility", "Playroom"],
}: Props) => {
return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ See [more info about the Orbit provider](/utilities/orbit-provider/).

For a live preview, check out our [Storybook](https://kiwicom.github.io/orbit/) or [orbit.kiwi](https://orbit.kiwi).

You can also try `orbit-components` directly on our [Playground](https://orbit.kiwi/playground/).
You can also try `orbit-components` directly on our [Playroom](https://kiwicom.github.io/orbit/playroom/).

## Typescript

Expand Down
2 changes: 1 addition & 1 deletion packages/orbit-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ or do so with [Yarn](https://yarnpkg.com/):

For a live preview, check out our [Storybook](https://kiwicom.github.io/orbit/) or [orbit.kiwi](https://orbit.kiwi).

You can also try `orbit-components` directly on our [Playground](https://orbit.kiwi/playground/).
You can also try `orbit-components` directly on our [Playroom](https://kiwicom.github.io/orbit/playroom/).

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ If you want to use custom theme inside your project, it's necessary to wrap your

For live preview check out [Storybook](https://kiwicom.github.io/orbit/) or [orbit.kiwi](https://orbit.kiwi).

You can also try `orbit-components` directly on our [Playground](https://orbit.kiwi/playground/).
You can also try `orbit-components` directly on our [Playroom](https://kiwicom.github.io/orbit/playroom).

## Documentation

Expand Down

0 comments on commit 0f5eee1

Please sign in to comment.