diff --git a/src/app/market/components/MarketSidebar.tsx b/src/app/market/components/MarketSidebar.tsx
deleted file mode 100644
index 13a95f1..0000000
--- a/src/app/market/components/MarketSidebar.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
-
-export default function MarketSidebar() {
- return (
-
-
placeholder
-
-
-
- Buy
-
-
- Sell
-
-
-
-
- buy placeholder
-
-
- sell placeholder
-
-
-
- );
-}
diff --git a/src/app/market/components/market-sidebar/BuySell.tsx b/src/app/market/components/market-sidebar/BuySell.tsx
new file mode 100644
index 0000000..d8209aa
--- /dev/null
+++ b/src/app/market/components/market-sidebar/BuySell.tsx
@@ -0,0 +1,55 @@
+import { Button } from "@/components/ui/button";
+import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
+import { ChevronDown, ChevronUp } from "lucide-react";
+import { useState } from "react";
+
+export default function BuySell() {
+ const [isCollapsed, setIsCollapsed] = useState(false);
+
+ return (
+
+
+
+
+ Buy
+
+
+ Sell
+
+
+
+ {/* The Toggle Button */}
+
+
+
+ {/* Conditional Rendering or Height Hiding */}
+ {!isCollapsed && (
+ <>
+
+ buy placeholder
+
+
+ sell placeholder
+
+ >
+ )}
+
+ );
+}
diff --git a/src/app/market/components/market-sidebar/MarketSidebar.tsx b/src/app/market/components/market-sidebar/MarketSidebar.tsx
new file mode 100644
index 0000000..0c4360f
--- /dev/null
+++ b/src/app/market/components/market-sidebar/MarketSidebar.tsx
@@ -0,0 +1,10 @@
+import BuySell from "./BuySell";
+
+export default function MarketSidebar() {
+ return (
+
+ );
+}
diff --git a/src/app/market/page.tsx b/src/app/market/page.tsx
index eb017dd..0fdde39 100644
--- a/src/app/market/page.tsx
+++ b/src/app/market/page.tsx
@@ -2,7 +2,7 @@
import Navbar from "@/components/layout/Navbar";
import Statusbar from "@/components/layout/Statusbar";
-import MarketSidebar from "./components/MarketSidebar";
+import MarketSidebar from "./components/market-sidebar/MarketSidebar";
export default function Market() {
return (