diff --git a/src/app/login/components/LoginForm.tsx b/src/app/login/components/LoginForm.tsx index 8ba51db..0763f60 100644 --- a/src/app/login/components/LoginForm.tsx +++ b/src/app/login/components/LoginForm.tsx @@ -84,55 +84,48 @@ export default function LoginForm() { const isTablet = viewportWidth >= 640 && viewportWidth < 1024 const isSmallLaptop = viewportWidth >= 1024 && viewportWidth < 1366 - // Dynamic width & scale + // CHANGED: Wider base widths; no transform scaling const formWidth = isMobile - ? '98vw' + ? '94vw' : isTablet - ? '85vw' + ? '80vw' : isSmallLaptop - ? '50vw' - : '40vw' + ? '60vw' + : '52vw' const formMaxWidth = isMobile - ? 'none' + ? '480px' : isTablet - ? '620px' + ? '760px' : isSmallLaptop - ? '660px' - : '720px' - - const formScale = (() => { - if (isMobile) return 1 - if (isTablet) return 0.95 - if (isSmallLaptop) return 0.9 - if (viewportWidth >= 1366 && viewportWidth < 1680) return 0.85 - return 0.82 - })() + ? '860px' + : '980px' return (
{/* Animated Ball - Desktop Only */} @@ -218,33 +211,36 @@ export default function LoginForm() { {/* Content */}

Profit Planet

Welcome back! Login to continue.

@@ -269,8 +265,8 @@ export default function LoginForm() { onChange={handleInputChange} className="appearance-none block w-full px-4 py-3 border border-gray-300 rounded-lg placeholder-slate-500 focus:outline-none focus:ring-2 focus:ring-[#8D6B1D] focus:border-[#8D6B1D] text-base bg-white text-[#0F172A] transition" style={{ - fontSize: isMobile ? '0.875rem' : isTablet ? '0.9rem' : undefined, - padding: isMobile ? '0.4rem 0.75rem' : isTablet ? '0.5rem 0.875rem' : undefined, + fontSize: isMobile ? '0.95rem' : isTablet ? '1rem' : '1rem', + padding: isMobile ? '0.5rem 0.75rem' : isTablet ? '0.6rem 0.875rem' : '0.7rem 1rem', }} placeholder="deine@email.com" required @@ -299,8 +295,8 @@ export default function LoginForm() { onChange={handleInputChange} className="appearance-none block w-full px-4 py-3 pr-12 border border-gray-300 rounded-lg placeholder-slate-500 focus:outline-none focus:ring-2 focus:ring-[#8D6B1D] focus:border-[#8D6B1D] text-base bg-white text-[#0F172A] transition" style={{ - fontSize: isMobile ? '0.875rem' : isTablet ? '0.9rem' : undefined, - padding: isMobile ? '0.4rem 2.5rem 0.4rem 0.75rem' : isTablet ? '0.5rem 2.75rem 0.5rem 0.875rem' : '0.75rem 3rem 0.75rem 1rem', + fontSize: isMobile ? '0.95rem' : isTablet ? '1rem' : '1rem', + padding: isMobile ? '0.5rem 2.5rem 0.5rem 0.75rem' : isTablet ? '0.6rem 2.75rem 0.6rem 0.875rem' : '0.7rem 3rem 0.7rem 1rem', }} placeholder="Dein Passwort" required @@ -366,8 +362,8 @@ export default function LoginForm() { : 'bg-gradient-to-r from-[#8D6B1D] via-[#A67C20] to-[#C49225] hover:from-[#7A5E1A] hover:to-[#B8851F] focus:outline-none focus:ring-2 focus:ring-[#8D6B1D] focus:ring-offset-2' }`} style={{ - fontSize: isMobile ? '0.9rem' : isTablet ? '0.95rem' : undefined, - padding: isMobile ? '0.6rem 1rem' : isTablet ? '0.7rem 1.25rem' : undefined, + fontSize: isMobile ? '0.95rem' : isTablet ? '1rem' : '1rem', + padding: isMobile ? '0.7rem 1.1rem' : isTablet ? '0.75rem 1.25rem' : '0.85rem 1.5rem', }} > {loading ? ( @@ -395,9 +391,9 @@ export default function LoginForm() { {/* Registration Section */}
diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index 675b7ec..5e56bf3 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -42,20 +42,20 @@ export default function LoginPage() { } return ( - -
-
+ +
+
- - {/* Removed mobile footer to avoid bottom white container */} - {/*
-
- © 2024 Profit Planet. Alle Rechte vorbehalten. -
-
*/}
)