From f8f3afe5f10e675bac1454bed820da27e96c74f5 Mon Sep 17 00:00:00 2001 From: Vukasin Date: Sat, 5 Jul 2025 12:49:03 +0200 Subject: [PATCH] fix: auth screen --- .../components/home/sections/hero-section.tsx | 71 +++++-------------- 1 file changed, 18 insertions(+), 53 deletions(-) diff --git a/frontend/src/components/home/sections/hero-section.tsx b/frontend/src/components/home/sections/hero-section.tsx index 2b6f5f74..e33dd4bd 100644 --- a/frontend/src/components/home/sections/hero-section.tsx +++ b/frontend/src/components/home/sections/hero-section.tsx @@ -16,7 +16,6 @@ import { useInitiateAgentMutation } from '@/hooks/react-query/dashboard/use-init import { useThreadQuery } from '@/hooks/react-query/threads/use-threads'; import { generateThreadName } from '@/lib/actions/threads'; import GoogleSignIn from '@/components/GoogleSignIn'; -import { Input } from '@/components/ui/input'; import { Dialog, DialogContent, @@ -365,7 +364,7 @@ export function HeroSection() { {/* Auth Dialog */} - +
@@ -402,58 +401,24 @@ export function HeroSection() {
- {/* Sign in form */} -
-
- -
+ {/* Sign in options */} +
+ setAuthDialogOpen(false)} + > + Sign in with email + -
- -
- -
- setAuthDialogOpen(false)} - > - Sign in - - - setAuthDialogOpen(false)} - > - Create new account - -
- -
- setAuthDialogOpen(false)} - > - More sign in options - -
- + setAuthDialogOpen(false)} + > + Create new account + +
By continuing, you agree to our{' '}