From 9fe829771d2b6fa5102ebc1e4fa496d1d5e3a573 Mon Sep 17 00:00:00 2001 From: Isaac Wise Date: Thu, 22 Aug 2024 17:09:14 -0500 Subject: [PATCH] Add new collection drop down --- pages/collections/index.tsx | 38 +++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/pages/collections/index.tsx b/pages/collections/index.tsx index 5975923..b1dbb8b 100644 --- a/pages/collections/index.tsx +++ b/pages/collections/index.tsx @@ -10,6 +10,7 @@ import PageHeader from "@/components/PageHeader"; import getServerSideProps from "@/lib/client/getServerSideProps"; import { useTranslation } from "next-i18next"; import { useCollections } from "@/hooks/store/collections"; +import { dropdownTriggerer } from "@/lib/client/utils"; export default function Collections() { const { t } = useTranslation(); @@ -29,12 +30,37 @@ export default function Collections() {
- - +
+ +
+
+
+ +
+
    +
  • +
    setNewCollectionModal(true)} + className="whitespace-nowrap" + > + {t("new_collection")} +
    +
  • +
+
+
+