{children}
@@ -66,7 +70,11 @@ const HoverGridContent = React.forwardRef<
>(({ className, ...props }, ref) => (
));
@@ -90,7 +98,10 @@ const HoverGridDescription = React.forwardRef<
>(({ className, ...props }, ref) => (
));
@@ -102,7 +113,9 @@ const HoverGridFooter = React.forwardRef<
>(({ className, ...props }, ref) => (
));
diff --git a/components/sidebar/navigation.tsx b/components/sidebar/navigation.tsx
index 2fecb49..e4e7735 100644
--- a/components/sidebar/navigation.tsx
+++ b/components/sidebar/navigation.tsx
@@ -1,34 +1,36 @@
"use client";
-import { Cpu, Laptop, Layout, Tag } from "lucide-react";
-
import { NavItem } from "./nav-item";
export const Navigation = () => {
const routes = [
{
- label: "Getting Started",
- href: "#",
+ label: "Carousel",
+ href: "/gluons/carousel",
+ },
+ {
+ label: "Content Accordion",
+ href: "/gluons/content-accordion",
},
{
- label: "Docs",
- href: "#",
+ label: "Header",
+ href: "/gluons/header",
},
{
- label: "Gluons",
- href: "#",
+ label: "HoverGrid",
+ href: "/gluons/hover-grid",
},
{
- label: "Components",
- href: "#",
+ label: "Playground",
+ href: "/gluons/playground",
},
];
return (
- {routes.map((route) => (
+ {routes.map((route, i) => (
diff --git a/utils/get-demo-preview-id.tsx b/utils/get-demo-preview-id.tsx
new file mode 100644
index 0000000..db2c113
--- /dev/null
+++ b/utils/get-demo-preview-id.tsx
@@ -0,0 +1,10 @@
+"use client"
+
+let demoContainer: HTMLElement | null = null;
+
+if (typeof document !== 'undefined') {
+ demoContainer = document.getElementById("demoPreviewContainer");
+ console.log(demoContainer, "demoContainer");
+}
+
+export const demoPreviewId = demoContainer;
\ No newline at end of file