Skip to content

Commit 8614f3d

Browse files
committed
Refactor Playground component layout and improve code formatting
1 parent df12238 commit 8614f3d

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

apps/web/src/app/playground/page.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { useSupport } from "@cossistant/react/index";
66
import { type DefaultMessage, SenderType } from "@cossistant/types";
77
import Image from "next/image";
88
import { AsciiImage } from "@/components/ui/ascii-image";
9+
import { Background } from "@/components/ui/background";
910
import { LogoText } from "@/components/ui/logo";
1011

1112
function PlaygroundPropDisplay({
@@ -44,14 +45,7 @@ export default function Playground() {
4445

4546
return (
4647
<div className="relative flex min-h-screen flex-col items-center justify-center bg-background p-4 md:p-20">
47-
<AsciiImage
48-
alt="Playground"
49-
className="absolute inset-0 z-0 object-fill opacity-100"
50-
imageOpacity={0.8}
51-
resolution={0.15}
52-
src="https://cdn.cossistant.com/neom-t3dlLOhdEzs-unsplash.jpg"
53-
strength={1}
54-
/>
48+
<Background />
5549

5650
{/* Header */}
5751
<div className="absolute top-4 left-4 z-10 md:top-10 md:left-10">

0 commit comments

Comments
 (0)