Skip to content

Commit

Permalink
chore: open svelte docs (#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
anubra266 authored Nov 22, 2024
2 parents 2c0a8e3 + acb1304 commit 1f2d909
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion shared/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export const routesData: RouteData[] = [
{ label: "Pin Input", path: "/pin-input" },
{ label: "Popper", path: "/popper" },
{ label: "Popover", path: "/popover" },
{ label: "Nested Popover", path: "/nested-popover" },
{ label: "Radio Group", path: "/radio-group" },
{ label: "Range Slider", path: "/range-slider" },
{ label: "Rating Group", path: "/rating-group" },
Expand Down
4 changes: 2 additions & 2 deletions website/lib/framework-utils.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { AiFillCode } from "react-icons/ai"
import { FaVuejs } from "react-icons/fa"
import { SiReact } from "react-icons/si"
// import { RiSvelteLine } from "react-icons/ri";
import { RiSvelteLine } from "react-icons/ri"

export const frameworks = {
react: { icon: SiReact, label: "React" },
solid: { icon: AiFillCode, label: "Solid" },
vue: { icon: FaVuejs, label: "Vue" },
// svelte: { icon: RiSvelteLine, label: "Svelte" },
svelte: { icon: RiSvelteLine, label: "Svelte" },
}

export const FRAMEWORKS = Object.keys(frameworks) as Framework[]
Expand Down
4 changes: 2 additions & 2 deletions website/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
ReactIcon,
SolidIcon,
StatechartIcon,
// SvelteIcon,
SvelteIcon,
VueIcon,
} from "components/icons"
import { Illustration } from "components/illustration"
Expand Down Expand Up @@ -117,7 +117,7 @@ export default function Home() {
<ReactIcon />
<VueIcon />
<SolidIcon />
{/* <SvelteIcon /> */}
<SvelteIcon />
</HStack>
</Box>
</Box>
Expand Down
2 changes: 1 addition & 1 deletion website/sidebar.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ const sidebar: Record<"docs", SidebarItem[]> = {
},
{ type: "doc", label: "QR Code", id: "qr-code" },
{ type: "doc", label: "Radio Group", id: "radio-group" },
{ type: "doc", label: "Segmented Control", id: "segmented-control" },
{ type: "doc", label: "Range Slider", id: "range-slider" },
{ type: "doc", label: "Rating Group", id: "rating-group" },
{ type: "doc", label: "Segmented Control", id: "segmented-control" },
{ type: "doc", label: "Select", id: "select" },
{ type: "doc", label: "Signature Pad", id: "signature-pad" },
{ type: "doc", label: "Slider", id: "slider" },
Expand Down

0 comments on commit 1f2d909

Please sign in to comment.