From 347aa36680d24b0e78def429daf9fce41cf01ce0 Mon Sep 17 00:00:00 2001 From: codetorso Date: Sat, 20 Jul 2024 04:38:38 +0530 Subject: [PATCH] believe in god, hope this works --- apps/web/app/(dash)/dialogTriggerWrapper.tsx | 26 +++-- apps/web/app/(dash)/home/heading.tsx | 2 +- apps/web/app/(dash)/home/queryinput.tsx | 15 ++- apps/web/app/(dash)/layout.tsx | 4 +- apps/web/package.json | 103 ++++++++++--------- bun.lockb | Bin 1160596 -> 1160628 bytes packages/tailwind-config/globals.css | 10 +- 7 files changed, 80 insertions(+), 80 deletions(-) diff --git a/apps/web/app/(dash)/dialogTriggerWrapper.tsx b/apps/web/app/(dash)/dialogTriggerWrapper.tsx index 7d21e27e..7dcfc355 100644 --- a/apps/web/app/(dash)/dialogTriggerWrapper.tsx +++ b/apps/web/app/(dash)/dialogTriggerWrapper.tsx @@ -7,23 +7,27 @@ import { PlusIcon } from "@heroicons/react/24/solid"; export function DialogDesktopTrigger() { return ( -
- -
- Add Memories + +
+ +
+ Add Memories +
-
+ ); } export function DialogMobileTrigger() { return ( -
- -

Add

-
+ +
+ +

Add

+
+
); } export default function DialogTriggerWrapper({ diff --git a/apps/web/app/(dash)/home/heading.tsx b/apps/web/app/(dash)/home/heading.tsx index 12417a83..dc5b8799 100644 --- a/apps/web/app/(dash)/home/heading.tsx +++ b/apps/web/app/(dash)/home/heading.tsx @@ -27,7 +27,7 @@ export function Heading({ queryPresent }: { queryPresent: boolean }) { exit={{ opacity: 0, y: "20%", whiteSpace: "nowrap" }} className={`text-[2.45rem] font-semibold ${ queryPresent ? "pointer-events-none" : "pointer-events-auto" - } transition-opacity ${poppins.className}`} + } transition-opacity text-center ${poppins.className}`} > {headings[showHeading]} diff --git a/apps/web/app/(dash)/home/queryinput.tsx b/apps/web/app/(dash)/home/queryinput.tsx index 930f34db..f15a712b 100644 --- a/apps/web/app/(dash)/home/queryinput.tsx +++ b/apps/web/app/(dash)/home/queryinput.tsx @@ -6,15 +6,13 @@ import { FilterSpaces } from "./filterSpaces"; function QueryInput({ setQueryPresent, initialSpaces, - className, handleSubmit, }: { - setQueryPresent: (t:boolean) => void; + setQueryPresent: (t: boolean) => void; initialSpaces?: { id: number; name: string; }[]; - className?: string; mini?: boolean; handleSubmit: (q: string, spaces: { id: number; name: string }[]) => void; }) { @@ -38,7 +36,6 @@ function QueryInput({ handleSubmit(q, selectedSpaces); setQ(""); }} - className="" >