From 6161eb1b8ce2306b125e71249205235ef6c4018d Mon Sep 17 00:00:00 2001 From: Ben Orloff <99829882+benorloff@users.noreply.github.com> Date: Mon, 22 Apr 2024 01:04:35 -0700 Subject: [PATCH] responsiveness for preview container --- app/gluons/playground/page.tsx | 25 +++++++++++++++---------- components/demo-preview.tsx | 9 ++++----- public/logoipsum.svg | 1 + 3 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 public/logoipsum.svg diff --git a/app/gluons/playground/page.tsx b/app/gluons/playground/page.tsx index 203365c..b71d637 100644 --- a/app/gluons/playground/page.tsx +++ b/app/gluons/playground/page.tsx @@ -4,6 +4,7 @@ import { LayoutDashboard } from "lucide-react"; import { Sidebar, SidebarItem, SidebarLink, SidebarList } from "@/components/gluons/sidebar"; import { Separator } from "@/components/ui/separator"; import { Skeleton } from "@/components/ui/skeleton"; +import Image from "next/image"; const PlaygroundPage = () => { return ( @@ -15,23 +16,27 @@ const PlaygroundPage = () => { className="!my-0" lineNumbers={true} > -
-
-
- -
+
Dashboard - -
+
Dashboard - +
-
+
diff --git a/components/demo-preview.tsx b/components/demo-preview.tsx index 2b7b29a..0f101c0 100644 --- a/components/demo-preview.tsx +++ b/components/demo-preview.tsx @@ -57,14 +57,13 @@ export const DemoPreview = ({
diff --git a/public/logoipsum.svg b/public/logoipsum.svg new file mode 100644 index 0000000..135c678 --- /dev/null +++ b/public/logoipsum.svg @@ -0,0 +1 @@ + \ No newline at end of file