From d096e3c5a99735bf1b15b3b323cc83803f2a80a3 Mon Sep 17 00:00:00 2001 From: pious2847 Date: Sun, 27 Apr 2025 21:58:56 +0000 Subject: [PATCH 1/2] Add routing to sidebar action buttons and import useRouter --- components/common/SideBar.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/components/common/SideBar.tsx b/components/common/SideBar.tsx index b176495..fd7431d 100644 --- a/components/common/SideBar.tsx +++ b/components/common/SideBar.tsx @@ -1,3 +1,4 @@ +'use client' import React from 'react'; import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs"; import { @@ -21,8 +22,6 @@ import { Skeleton } from '@/components/ui/skeleton'; import { Input } from '@/components/ui/input'; import Image from "next/image"; - - const CategoryHeading = ({ title }: { title: string }) => (
{title} @@ -30,6 +29,8 @@ const CategoryHeading = ({ title }: { title: string }) => ( ); const Sidebar = () => { + + return (
@@ -115,8 +116,11 @@ const Sidebar = () => {
+ } label="Stock Photo" isGhost={false} buttonWidth={65} /> - } label="Stock Video" isGhost={false} buttonWidth={65} /> + + + } label="Stock Video" isGhost={false} buttonWidth={65} /> } label="Shapes" isGhost={false} buttonWidth={65} /> } label="Gif" isGhost={false} buttonWidth={65} /> } label="Sticker" isGhost={false} buttonWidth={65} /> -- 2.39.5 From 2985361a8deb72f29c1a3b4b1715118745230a13 Mon Sep 17 00:00:00 2001 From: pious2847 Date: Sun, 27 Apr 2025 22:00:43 +0000 Subject: [PATCH 2/2] Reintroduce Advertisers Page with categories and images --- app/marketplace/{advertizers => advertisers}/page.tsx | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename app/marketplace/{advertizers => advertisers}/page.tsx (100%) diff --git a/app/marketplace/advertizers/page.tsx b/app/marketplace/advertisers/page.tsx similarity index 100% rename from app/marketplace/advertizers/page.tsx rename to app/marketplace/advertisers/page.tsx -- 2.39.5