From a7e8a1e87613fdbbdfd1cf84e22a769a7072d6c1 Mon Sep 17 00:00:00 2001 From: codetorso Date: Sun, 28 Jul 2024 05:16:22 +0530 Subject: home page style --- apps/web/app/(auth)/onboarding/page.tsx | 2 +- apps/web/app/(dash)/home/filterSpaces.tsx | 2 +- apps/web/app/(dash)/home/page.tsx | 23 ++++++++++++++++------- apps/web/app/(dash)/home/queryinput.tsx | 6 +++--- packages/ui/shadcn/switch.tsx | 2 +- 5 files changed, 22 insertions(+), 13 deletions(-) diff --git a/apps/web/app/(auth)/onboarding/page.tsx b/apps/web/app/(auth)/onboarding/page.tsx index df5b83d6..5b728928 100644 --- a/apps/web/app/(auth)/onboarding/page.tsx +++ b/apps/web/app/(auth)/onboarding/page.tsx @@ -49,7 +49,7 @@ export default function Home() { {/* main-content */} -
+
{currStep === 0 && (

diff --git a/apps/web/app/(dash)/home/filterSpaces.tsx b/apps/web/app/(dash)/home/filterSpaces.tsx index ec90a29a..80c05288 100644 --- a/apps/web/app/(dash)/home/filterSpaces.tsx +++ b/apps/web/app/(dash)/home/filterSpaces.tsx @@ -53,7 +53,7 @@ export function FilterSpaces({

diff --git a/apps/web/app/(dash)/home/page.tsx b/apps/web/app/(dash)/home/page.tsx index d192d07d..0545d1ff 100644 --- a/apps/web/app/(dash)/home/page.tsx +++ b/apps/web/app/(dash)/home/page.tsx @@ -70,18 +70,25 @@ function Page({ searchParams }: { searchParams: Record }) { }, [telegramUser]); return ( -
+
- Ask your{" "} - - supermemory - + + Ask your{" "} + + supermemory + +
@@ -108,7 +115,9 @@ function Page({ searchParams }: { searchParams: Record }) { initialSpaces={spaces} /> - + + +
diff --git a/apps/web/app/(dash)/home/queryinput.tsx b/apps/web/app/(dash)/home/queryinput.tsx index 82561438..995fea53 100644 --- a/apps/web/app/(dash)/home/queryinput.tsx +++ b/apps/web/app/(dash)/home/queryinput.tsx @@ -52,7 +52,7 @@ function QueryInput({ name="q" cols={30} rows={3} - className="bg-transparent text-lg placeholder:text-[#9B9B9B] text-gray-200 tracking-[3%] outline-none resize-none w-full p-7" + className={`bg-transparent text-lg placeholder:text-[#9B9B9B] text-gray-200 tracking-[3%] outline-none resize-none w-full py-4 px-4 h-32 transition-[height] ${query.length > 0 && "h-40"}`} placeholder="Ask your second brain..." onKeyDown={(e) => { if (e.key === "Enter" && !e.shiftKey) { @@ -74,8 +74,8 @@ function QueryInput({ initialSpaces={initialSpaces || []} />
-
-