AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
feat(frontend): polish login/signup with animated panel, aurora, and integrations marquee (#13169)
Ubbeb6e0a9954341
diff --git a/autogpt_platform/frontend/components.json b/autogpt_platform/frontend/components.jsonindex 0ccf06f1f8..3eb749cba0 100644--- a/autogpt_platform/frontend/components.json+++ b/autogpt_platform/frontend/components.json@@ -14,5 +14,8 @@"aliases": {"components": "@/components","utils": "@/lib/utils"+ },+ "registries": {+ "@aceternity": "https://ui.aceternity.com/registry/{name}.json"}}diff --git a/autogpt_platform/frontend/package.json b/autogpt_platform/frontend/package.jsonindex 034aa674c9..a80ab9a9e4 100644--- a/autogpt_platform/frontend/package.json+++ b/autogpt_platform/frontend/package.json@@ -98,6 +98,7 @@"launchdarkly-react-client-sdk": "3.9.0","lodash": "4.17.21","lucide-react": "0.552.0",+ "motion": "12.38.0","next": "15.5.18","next-themes": "0.4.6","nuqs": "2.7.2",@@ -121,6 +122,7 @@"remark-math": "6.0.0","shepherd.js": "14.5.1","shiki": "^3.21.0",+ "simplex-noise": "4.0.3","sonner": "2.0.7","streamdown": "2.1.0","tailwind-merge": "2.6.0",diff --git a/autogpt_platform/frontend/pnpm-lock.yaml b/autogpt_platform/frontend/pnpm-lock.yamlindex 4d75906d14..cd4399eba8 100644--- a/autogpt_platform/frontend/pnpm-lock.yaml+++ b/autogpt_platform/frontend/pnpm-lock.yaml@@ -210,6 +210,9 @@ importers:lucide-react:specifier: 0.552.0version: 0.552.0([email protected])+ motion:+ specifier: 12.38.0+ version: 12.38.0(@emotion/[email protected])([email protected]([email protected]))([email protected])next:specifier: 15.5.18version: 15.5.18(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])@@ -279,6 +282,9 @@ importers:shiki:specifier: ^3.21.0version: 3.21.0+ simplex-noise:+ specifier: 4.0.3+ version: 4.0.3sonner:specifier: 2.0.7@@ -1651,89 +1657,105 @@ packages:resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}cpu: [arm64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}cpu: [arm]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}cpu: [ppc64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}cpu: [riscv64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}cpu: [s390x]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}cpu: [x64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}cpu: [arm64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}cpu: [x64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [ppc64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [riscv64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [s390x]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}@@ -1876,24 +1898,28 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [glibc]'@next/[email protected]':resolution: {integrity: sha512-glaCczEWIrHsokFZ3pP08U4BpKxwIdnT+txdOM32OBgpL9Yw4aqx8NejmgtZQZOdstQ5f0L3CasIZudzCuD+nw==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [musl]'@next/[email protected]':resolution: {integrity: sha512-oUfg2EgJmU3R0OCOWiokGFUTvZiPfXtriXiuF3YNxRoROCdgvTedHIzYoeKH34gsZxS/V7mHbfq2hpAHwhH1/A==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [glibc]'@next/[email protected]':resolution: {integrity: sha512-JLxSP3KTd9iu/bvUMQxH7RJo9xKSHf55/6RPE4a6FTSZygGn7uvZbCej0AHXydwkggQGSD9UddSjwv6Xz5ESfA==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [musl]'@next/[email protected]':resolution: {integrity: sha512-ir1v7enP52K2HNz3tQQvwF+x7VNxBk1ciiZ18WBPvxf4C59IqdfmHPJYK3vH7rSxpuCVw/8C712wTXNAtEp+NA==}@@ -2931,66 +2957,79 @@ packages:resolution: {integrity: sha512-Rn3n+FUk2J5VWx+ywrG/HGPTD9jXNbicRtTM11e/uorplArnXZYsVifnPPqNNP5BsO3roI4n8332ukpY/zN7rQ==}cpu: [arm]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-grPNWydeKtc1aEdrJDWk4opD7nFtQbMmV7769hiAaYyUKCT1faPRm2av8CX1YJsZ4TLAZcg9gTR1KvEzoLjXkg==}cpu: [arm]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-a59mwd1k6x8tXKcUxSyISiquLwB5pX+fJW9TkWU46lCqD/GRDe9uDN31jrMmVP3feI3mhAdvcCClhV8V5MhJFQ==}cpu: [arm64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-puS1MEgWX5GsHSoiAsF0TYrpomdvkaXm0CofIMG5uVkP6IBV+ZO9xhC5YEN49nsgYo1DuuMquF9+7EDBVYu4uA==}cpu: [arm64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-r3Wv40in+lTsULSb6nnoudVbARdOwb2u5fpeoOAZjFLznp6tDU8kd+GTHmJoqZ9lt6/Sys33KdIHUaQihFcu7g==}cpu: [loong64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-MR8c0+UxAlB22Fq4R+aQSPBayvYa3+9DrwG/i1TKQXFYEaoW3B5b/rkSRIypcZDdWjWnpcvxbNaAJDcSbJU3Lw==}cpu: [loong64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-3KhoECe1BRlSYpMTeVrD4sh2Pw2xgt4jzNSZIIPLFEsnQn9gAnZagW9+VqDqAHgm1Xc77LzJOo2LdigS5qZ+gw==}cpu: [ppc64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-ziR1OuZx0vdYZZ30vueNZTg73alF59DicYrPViG0NEgDVN8/Jl87zkAPu4u6VjZST2llgEUjaiNl9JM6HH1Vdw==}cpu: [ppc64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-uW0Y12ih2XJRERZ4jAfKamTyIHVMPQnTZcQjme2HMVDAHY4amf5u414OqNYC+x+LzRdRcnIG1YodLrrtA8xsxw==}cpu: [riscv64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-u9yZ0jUkOED1BFrqu3BwMQoixvGHGZ+JhJNkNKY/hyoEgOwlqKb62qu+7UjbPSHYjiVy8kKJHvXKv5coH4wDeg==}cpu: [riscv64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-/0PenBCmqM4ZUd0190j7J0UsQ/1nsi735iPRakO8iPciE7BQ495Y6msPzaOmvx0/pn+eJVVlZrNrSh4WSYLxNg==}cpu: [s390x]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-a8G4wiQxQG2BAvo+gU6XrReRRqj+pLS2NGXKm8io19goR+K8lw269eTrPkSdDTALwMmJp4th2Uh0D8J9bEV1vg==}cpu: [x64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-bD+zjpFrMpP/hqkfEcnjXWHMw5BIghGisOKPj+2NaNDuVT+8Ds4mPf3XcPHuat1tz89WRL+1wbcxKY3WSbiT7w==}cpu: [x64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-eLXw0dOiqE4QmvikfQ6yjgkg/xDM+MdU9YJuP4ySTibXU0oAvnEWXt7UDJmD4UkYialMfOGFPJnIHSe/kdzPxg==}@@ -3849,41 +3888,49 @@ packages:resolution: {integrity: sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==}cpu: [arm64]os: [linux]+ libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==}cpu: [arm64]os: [linux]+ libc: [musl]'@unrs/[email protected]':resolution: {integrity: sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==}cpu: [ppc64]os: [linux]+ libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==}cpu: [riscv64]os: [linux]+ libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==}cpu: [riscv64]os: [linux]+ libc: [musl]'@unrs/[email protected]':resolution: {integrity: sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==}cpu: [s390x]os: [linux]+ libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==}cpu: [x64]os: [linux]+ libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==}cpu: [x64]os: [linux]+ libc: [musl]'@unrs/[email protected]':resolution: {integrity: sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==}@@ -5593,6 +5640,20 @@ packages:react-dom:optional: true+ resolution: {integrity: sha512-rFYkY/pigbcswl1XQSb7q424kSTQ8q6eAC+YUsSKooHQYuLdzdHjrt6uxUC+PRAO++q5IS7+TamgIw1AphxR+g==}+ peerDependencies:+ '@emotion/is-prop-valid': '*'+ react: ^18.0.0 || ^19.0.0+ react-dom: ^18.0.0 || ^19.0.0+ peerDependenciesMeta:+ '@emotion/is-prop-valid':+ optional: true+ react:+ optional: true+ react-dom:+ optional: true+resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==}engines: {node: '>= 0.6'}@@ -6808,9 +6869,29 @@ packages:resolution: {integrity: sha512-wX64WITk6gKOhaTqhsFqmIkayLAAx45SVFiMnJIxIrH5uqyrwrxjrfo8WX9Kh8CaUAixjeMn82iH0W0QT9wD5w==}+ resolution: {integrity: sha512-pdkHLD8QYRp8VfiNLb8xIBJis1byQ9gPT3Jnh2jqfFtAsWUA3dEepDlsWe/xMpO8McV+VdpKVcp+E+TGJEtOoA==}+resolution: {integrity: sha512-0W6cWd5Okoyf8jmessVK3spOmbyE0yTdNKujHctHH9XdAE4QDuZ1/LjSXC68rrhsJU+TkzXURC5OdSWh9ibOwQ==}+ resolution: {integrity: sha512-eHWisygbiwVvf6PZ1vhaHCLamvkSbPIeAYxWUuL3a2PD/TROgE7FvfHWTIH4vMl798QLfMw15nRqIaRDXTlYRg==}++ resolution: {integrity: sha512-uYfXzeHlgThchzwz5Te47dlv5JOUC7OB4rjJ/7XTUgtBZD8CchMN8qEJ4ZVsUmTyYA44zjV0fBwsiktRuFnn+w==}+ peerDependencies:+ '@emotion/is-prop-valid': '*'+ react: ^18.0.0 || ^19.0.0+ react-dom: ^18.0.0 || ^19.0.0+ peerDependenciesMeta:+ '@emotion/is-prop-valid':+ optional: true+ react:+ optional: true+ react-dom:+ optional: true+resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}@@ -8014,6 +8095,9 @@ packages:resolution: {integrity: sha512-LH7FpTAkeD+y5xQC4fzS+tFtaNlvt3Ib1zKzvhjv/Y+cioV4zIuw4IZr2yhRLu67CWL7FR9/6KXKnjRoZTvGGQ==}engines: {node: '>=12'}+ resolution: {integrity: sha512-qSE2I4AngLQG7BXqoZj51jokT4WUXe8mOBrvfOXpci8+6Yu44+/dD5zqDpOx3Ux792eamTd2lLcI8jqFntk/lg==}+resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==}engines: {node: '>=8'}@@ -14873,6 +14957,16 @@ snapshots:react: 18.3.1react-dom: 18.3.1([email protected])+ [email protected](@emotion/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ motion-dom: 12.38.0+ motion-utils: 12.36.0+ tslib: 2.8.1+ optionalDependencies:+ '@emotion/is-prop-valid': 1.2.2+ react: 18.3.1+ react-dom: 18.3.1([email protected])+@@ -16458,8 +16552,23 @@ snapshots:dependencies:motion-utils: 12.23.28+ dependencies:+ motion-utils: 12.36.0++ [email protected]: {}++ [email protected](@emotion/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ framer-motion: 12.38.0(@emotion/[email protected])([email protected]([email protected]))([email protected])+ tslib: 2.8.1+ optionalDependencies:+ '@emotion/is-prop-valid': 1.2.2+ react: 18.3.1+ react-dom: 18.3.1([email protected])+@@ -17878,6 +17987,8 @@ snapshots:dependencies:jsep: 1.4.0+ [email protected]: {}+dependencies:unicode-emoji-modifier-base: 1.0.0diff --git a/autogpt_platform/frontend/src/app/(platform)/login/__tests__/auth-redirect.test.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/login/__tests__/auth-redirect.test.tsxsimilarity index 100%rename from autogpt_platform/frontend/src/app/(platform)/login/__tests__/auth-redirect.test.tsxrename to autogpt_platform/frontend/src/app/(no-navbar)/login/__tests__/auth-redirect.test.tsxdiff --git a/autogpt_platform/frontend/src/app/(platform)/login/actions.ts b/autogpt_platform/frontend/src/app/(no-navbar)/login/actions.tssimilarity index 100%rename from autogpt_platform/frontend/src/app/(platform)/login/actions.tsrename to autogpt_platform/frontend/src/app/(no-navbar)/login/actions.tsdiff --git a/autogpt_platform/frontend/src/app/(no-navbar)/login/components/LoadingLogin.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/login/components/LoadingLogin.tsxnew file mode 100644index 0000000000..0cf1f23bf0--- /dev/null+++ b/autogpt_platform/frontend/src/app/(no-navbar)/login/components/LoadingLogin.tsx@@ -0,0 +1,35 @@+import { Skeleton } from "@/components/__legacy__/ui/skeleton";+import { AuthSplitLayout } from "@/components/auth/AuthSplitLayout/AuthSplitLayout";+import { LoginMarketingPanel } from "./LoginMarketingPanel";++export function LoadingLogin() {+ return (+ <AuthSplitLayout marketing={<LoginMarketingPanel />}>+ <div className="mb-8 flex flex-col gap-2">+ <Skeleton className="h-8 w-48" />+ <Skeleton className="h-5 w-64" />+ </div>+ <div className="w-full space-y-5">+ <div className="space-y-2">+ <Skeleton className="h-4 w-12" />+ <Skeleton className="h-12 w-full rounded-md" />+ </div>+ <div className="space-y-2">+ <Skeleton className="h-4 w-20" />+ <Skeleton className="h-12 w-full rounded-md" />+ </div>+ <Skeleton className="h-12 w-full rounded-md" />+ <div className="flex w-full items-center">+ <Skeleton className="h-px flex-1" />+ <Skeleton className="mx-3 h-4 w-6" />+ <Skeleton className="h-px flex-1" />+ </div>+ <Skeleton className="h-12 w-full rounded-md" />+ <div className="flex justify-center space-x-1">+ <Skeleton className="h-4 w-40" />+ <Skeleton className="h-4 w-12" />+ </div>+ </div>+ </AuthSplitLayout>+ );+}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/login/components/LoginMarketingPanel.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/login/components/LoginMarketingPanel.tsxnew file mode 100644index 0000000000..93cc5090f3--- /dev/null+++ b/autogpt_platform/frontend/src/app/(no-navbar)/login/components/LoginMarketingPanel.tsx@@ -0,0 +1,33 @@+import {+ BrainIcon,+ GaugeIcon,+ StorefrontIcon,+} from "@phosphor-icons/react/dist/ssr";+import { AuthMarketingPanel } from "@/components/auth/AuthSplitLayout/AuthMarketingPanel";++export function LoginMarketingPanel() {+ return (+ <AuthMarketingPanel+ headingLines={["Welcome back"]}+ description="Pick up where you left off. Your agents are waiting."+ itemsTitle="What's new"+ items={[+ {+ icon: <BrainIcon size={20} weight="duotone" />,+ title: "New memory upgrades",+ description: "Smarter agents with longer context windows.",+ },+ {+ icon: <StorefrontIcon size={20} weight="duotone" />,+ title: "Marketplace update",+ description: "Discover agents shared by the community.",+ },+ {+ icon: <GaugeIcon size={20} weight="duotone" />,+ title: "Performance boost",+ description: "Faster runs and reduced latency.",+ },+ ]}+ />+ );+}diff --git a/autogpt_platform/frontend/src/app/(platform)/login/helpers.ts b/autogpt_platform/frontend/src/app/(no-navbar)/login/helpers.tssimilarity index 100%rename from autogpt_platform/frontend/src/app/(platform)/login/helpers.tsrename to autogpt_platform/frontend/src/app/(no-navbar)/login/helpers.tsdiff --git a/autogpt_platform/frontend/src/app/(no-navbar)/login/page.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/login/page.tsxnew file mode 100644index 0000000000..d0908e112d--- /dev/null+++ b/autogpt_platform/frontend/src/app/(no-navbar)/login/page.tsx@@ -0,0 +1,150 @@+"use client";+import { Form, FormField } from "@/components/__legacy__/ui/form";+import { Button } from "@/components/atoms/Button/Button";+import { Input } from "@/components/atoms/Input/Input";+import { Link } from "@/components/atoms/Link/Link";+import { Text } from "@/components/atoms/Text/Text";+import AuthFeedback from "@/components/auth/AuthFeedback";+import { EmailNotAllowedModal } from "@/components/auth/EmailNotAllowedModal";+import { GoogleOAuthButton } from "@/components/auth/GoogleOAuthButton";+import { AuthDivider } from "@/components/auth/AuthSplitLayout/AuthDivider";+import { AuthSplitLayout } from "@/components/auth/AuthSplitLayout/AuthSplitLayout";+import { MobileWarningBanner } from "@/components/auth/MobileWarningBanner";+import { environment } from "@/services/environment";+import { useSearchParams } from "next/navigation";+import { LoadingLogin } from "./components/LoadingLogin";+import { LoginMarketingPanel } from "./components/LoginMarketingPanel";+import { useLoginPage } from "./useLoginPage";++export const dynamic = "force-dynamic";++export default function LoginPage() {+ const searchParams = useSearchParams();+ const nextUrl = searchParams.get("next");+ const signupHref = nextUrl+ ? `/signup?next=${encodeURIComponent(nextUrl)}`+ : "/signup";++ const {+ user,+ form,+ feedback,+ isLoading,+ isGoogleLoading,+ isCloudEnv,+ isUserLoading,+ showNotAllowedModal,+ isSupabaseAvailable,+ handleSubmit,+ handleProviderLogin,+ handleCloseNotAllowedModal,+ } = useLoginPage();++ if (isUserLoading || user) {+ return <LoadingLogin />;+ }++ if (!isSupabaseAvailable) {+ return (+ <AuthSplitLayout marketing={<LoginMarketingPanel />}>+ <Text variant="body-medium" className="text-center !text-slate-500">+ User accounts are disabled because Supabase client is unavailable+ </Text>+ </AuthSplitLayout>+ );+ }++ return (+ <AuthSplitLayout marketing={<LoginMarketingPanel />}>+ <div className="mb-8">+ <Text variant="h3" as="h1" className="!text-slate-950">+ Log in to your account to continue+ </Text>+ </div>++ <Form {...form}>+ <form onSubmit={handleSubmit} className="flex w-full flex-col gap-1">+ <FormField+ control={form.control}+ name="email"+ render={({ field }) => (+ <Input+ id={field.name}+ label="Email"+ placeholder="[email protected]"+ type="email"+ autoComplete="username"+ className="w-full"+ error={form.formState.errors.email?.message}+ {...field}+ />+ )}+ />+ <FormField+ control={form.control}+ name="password"+ render={({ field }) => (+ <Input+ id={field.name}+ label="Password"+ placeholder="Enter your password"+ type="password"+ autoComplete="current-password"+ error={form.formState.errors.password?.message}+ hint={+ <Link variant="secondary" href="/reset-password">+ Forgot password?+ </Link>+ }+ {...field}+ />+ )}+ />++ <Button+ variant="primary"+ loading={isLoading}+ disabled={isGoogleLoading}+ type="submit"+ className="mt-6 w-full"+ >+ {isLoading ? "Logging in..." : "Log in"}+ </Button>+ </form>++ {isCloudEnv ? (+ <>+ <AuthDivider />+ <GoogleOAuthButton+ onClick={() => handleProviderLogin("google")}+ isLoading={isGoogleLoading}+ disabled={isLoading}+ />+ </>+ ) : null}++ <AuthFeedback+ type="login"+ message={feedback}+ isError={!!feedback}+ behaveAs={environment.getBehaveAs()}+ />+ </Form>++ <div className="mt-6 inline-flex w-full items-center justify-center gap-1">+ <Text variant="body-medium" className="!text-slate-500">+ Don't have an account?+ </Text>+ <Link href={signupHref} variant="secondary">+ Sign up+ </Link>+ </div>++ <MobileWarningBanner />+ <EmailNotAllowedModal+ isOpen={showNotAllowedModal}+ onClose={handleCloseNotAllowedModal}+ />+ </AuthSplitLayout>+ );+}diff --git a/autogpt_platform/frontend/src/app/(platform)/login/useLoginPage.ts b/autogpt_platform/frontend/src/app/(no-navbar)/login/useLoginPage.tssimilarity index 100%rename from autogpt_platform/frontend/src/app/(platform)/login/useLoginPage.tsrename to autogpt_platform/frontend/src/app/(no-navbar)/login/useLoginPage.tsdiff --git a/autogpt_platform/frontend/src/app/(platform)/signup/__tests__/auth-redirect.test.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/signup/__tests__/auth-redirect.test.tsxsimilarity index 100%rename from autogpt_platform/frontend/src/app/(platform)/signup/__tests__/auth-redirect.test.tsxrename to autogpt_platform/frontend/src/app/(no-navbar)/signup/__tests__/auth-redirect.test.tsxdiff --git a/autogpt_platform/frontend/src/app/(platform)/signup/__tests__/page.test.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/signup/__tests__/page.test.tsxsimilarity index 100%rename from autogpt_platform/frontend/src/app/(platform)/signup/__tests__/page.test.tsxrename to autogpt_platform/frontend/src/app/(no-navbar)/signup/__tests__/page.test.tsxdiff --git a/autogpt_platform/frontend/src/app/(platform)/signup/actions.ts b/autogpt_platform/frontend/src/app/(no-navbar)/signup/actions.tssimilarity index 100%rename from autogpt_platform/frontend/src/app/(platform)/signup/actions.tsrename to autogpt_platform/frontend/src/app/(no-navbar)/signup/actions.tsdiff --git a/autogpt_platform/frontend/src/app/(no-navbar)/signup/components/LoadingSignup.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/signup/components/LoadingSignup.tsxnew file mode 100644index 0000000000..fc65f1fe64--- /dev/null+++ b/autogpt_platform/frontend/src/app/(no-navbar)/signup/components/LoadingSignup.tsx@@ -0,0 +1,40 @@+import { Skeleton } from "@/components/__legacy__/ui/skeleton";+import { AuthSplitLayout } from "@/components/auth/AuthSplitLayout/AuthSplitLayout";+import { SignupMarketingPanel } from "./SignupMarketingPanel";++export function LoadingSignup() {+ return (+ <AuthSplitLayout marketing={<SignupMarketingPanel />}>+ <div className="mb-8 flex flex-col gap-2">+ <Skeleton className="h-8 w-56" />+ <Skeleton className="h-5 w-72" />+ </div>+ <div className="w-full space-y-5">+ <div className="space-y-2">+ <Skeleton className="h-4 w-12" />+ <Skeleton className="h-12 w-full rounded-md" />+ </div>+ <div className="space-y-2">+ <Skeleton className="h-4 w-20" />+ <Skeleton className="h-12 w-full rounded-md" />+ </div>+ <div className="space-y-2">+ <Skeleton className="h-4 w-32" />+ <Skeleton className="h-12 w-full rounded-md" />+ </div>+ <Skeleton className="h-6 w-full" />+ <Skeleton className="h-12 w-full rounded-md" />+ <div className="flex w-full items-center">+ <Skeleton className="h-px flex-1" />+ <Skeleton className="mx-3 h-4 w-6" />+ <Skeleton className="h-px flex-1" />+ </div>+ <Skeleton className="h-12 w-full rounded-md" />+ <div className="flex justify-center space-x-1">+ <Skeleton className="h-4 w-32" />+ <Skeleton className="h-4 w-12" />+ </div>+ </div>+ </AuthSplitLayout>+ );+}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/signup/components/SignupMarketingPanel.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/signup/components/SignupMarketingPanel.tsxnew file mode 100644index 0000000000..694786425c--- /dev/null+++ b/autogpt_platform/frontend/src/app/(no-navbar)/signup/components/SignupMarketingPanel.tsx@@ -0,0 +1,37 @@+import {+ HammerIcon,+ LightningIcon,+ ShieldCheckIcon,+} from "@phosphor-icons/react/dist/ssr";+import { AuthMarketingPanel } from "@/components/auth/AuthSplitLayout/AuthMarketingPanel";++export function SignupMarketingPanel() {+ return (+ <AuthMarketingPanel+ headingLines={[+ "AI agents",+ <span key="line-2">+ that work <span className="text-slate-400">for you.</span>+ </span>,+ ]}+ description="Discover, build, and deploy AI agents that automate real work — no code required. Start building agents in minutes."+ items={[+ {+ icon: <LightningIcon size={20} weight="duotone" />,+ title: "Run in minutes",+ description: "Get started quickly and see results fast.",+ },+ {+ icon: <HammerIcon size={20} weight="duotone" />,+ title: "Built for real work",+ description: "Powerful blocks that handle tasks across your stack.",+ },+ {+ icon: <ShieldCheckIcon size={20} weight="duotone" />,+ title: "Secure & private",+ description: "Enterprise-grade security to keep your data safe.",+ },+ ]}+ />+ );+}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/signup/page.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/signup/page.tsxnew file mode 100644index 0000000000..040ea5a506--- /dev/null+++ b/autogpt_platform/frontend/src/app/(no-navbar)/signup/page.tsx@@ -0,0 +1,224 @@+"use client";++import { Checkbox } from "@/components/__legacy__/ui/checkbox";+import {+ Form,+ FormControl,+ FormField,+ FormItem,+ FormLabel,+} from "@/components/__legacy__/ui/form";+import { Button } from "@/components/atoms/Button/Button";+import { Input } from "@/components/atoms/Input/Input";+import { Link } from "@/components/atoms/Link/Link";+import { Text } from "@/components/atoms/Text/Text";+import AuthFeedback from "@/components/auth/AuthFeedback";+import { EmailNotAllowedModal } from "@/components/auth/EmailNotAllowedModal";+import { GoogleOAuthButton } from "@/components/auth/GoogleOAuthButton";+import { AuthDivider } from "@/components/auth/AuthSplitLayout/AuthDivider";+import { AuthSplitLayout } from "@/components/auth/AuthSplitLayout/AuthSplitLayout";+import { MobileWarningBanner } from "@/components/auth/MobileWarningBanner";+import { environment } from "@/services/environment";+import { WarningOctagonIcon } from "@phosphor-icons/react/dist/ssr";+import { useSearchParams } from "next/navigation";+import { LoadingSignup } from "./components/LoadingSignup";+import { SignupMarketingPanel } from "./components/SignupMarketingPanel";+import { useSignupPage } from "./useSignupPage";++export const dynamic = "force-dynamic";++export default function SignupPage() {+ const searchParams = useSearchParams();+ const nextUrl = searchParams.get("next");+ const loginHref = nextUrl+ ? `/login?next=${encodeURIComponent(nextUrl)}`+ : "/login";++ const {+ form,+ feedback,+ isLoggedIn,+ isLoading,+ isGoogleLoading,+ isCloudEnv,+ isUserLoading,+ showNotAllowedModal,+ isSupabaseAvailable,+ handleSubmit,+ handleProviderSignup,+ handleCloseNotAllowedModal,+ } = useSignupPage();++ if (isUserLoading || isLoggedIn) {+ return <LoadingSignup />;+ }++ if (!isSupabaseAvailable) {+ return (+ <AuthSplitLayout marketing={<SignupMarketingPanel />}>+ <Text variant="body-medium" className="text-center !text-slate-500">+ User accounts are disabled because Supabase client is unavailable+ </Text>+ </AuthSplitLayout>+ );+ }++ const confirmPasswordError = form.formState.errors.confirmPassword?.message;+ const termsError = form.formState.errors.agreeToTerms?.message;++ return (+ <AuthSplitLayout marketing={<SignupMarketingPanel />}>+ <div className="mb-8">+ <Text variant="h3" as="h1" className="!text-slate-950">+ Create your account+ </Text>+ </div>++ <Form {...form}>+ <form onSubmit={handleSubmit} className="flex w-full flex-col gap-1">+ <FormField+ control={form.control}+ name="email"+ render={({ field }) => (+ <Input+ id={field.name}+ label="Email"+ placeholder="[email protected]"+ type="email"+ autoComplete="email"+ error={form.formState.errors.email?.message}+ {...field}+ />+ )}+ />+ <FormField+ control={form.control}+ name="password"+ render={({ field }) => (+ <Input+ id={field.name}+ label="Password"+ placeholder="Create a password"+ type="password"+ autoComplete="new-password"+ error={form.formState.errors.password?.message}+ {...field}+ />+ )}+ />+ <FormField+ control={form.control}+ name="confirmPassword"+ render={({ field }) => (+ <Input+ id={field.name}+ label="Confirm Password"+ placeholder="Confirm your password"+ type="password"+ autoComplete="new-password"+ error={confirmPasswordError}+ {...field}+ />+ )}+ />+ <FormField+ control={form.control}+ name="agreeToTerms"+ render={({ field }) => (+ <>+ <FormItem className="mt-6 flex w-full flex-row items-center -space-y-1 space-x-2">+ <FormControl>+ <Checkbox+ checked={field.value}+ onCheckedChange={field.onChange}+ className="relative bottom-px"+ />+ </FormControl>+ <div>+ <FormLabel className="flex flex-wrap items-center gap-1">+ <Text+ variant="body-medium"+ className="inline-block text-slate-950"+ >+ I agree to the+ </Text>+ <Link+ href="https://agpt.co/legal/platform-terms-of-use"+ variant="secondary"+ >+ Terms of Use+ </Link>+ <Text+ variant="body-medium"+ className="inline-block text-slate-950"+ >+ and+ </Text>+ <Link+ href="https://agpt.co/legal/platform-privacy-policy"+ variant="secondary"+ >+ Privacy Policy+ </Link>+ </FormLabel>+ </div>+ </FormItem>+ {termsError ? (+ <div className="flex items-center gap-2">+ <WarningOctagonIcon className="h-4 w-4 text-red-500" />+ <Text variant="small-medium" className="!text-red-500">+ {termsError}+ </Text>+ </div>+ ) : null}+ </>+ )}+ />++ <Button+ variant="primary"+ loading={isLoading}+ disabled={isGoogleLoading}+ type="submit"+ className="mt-6 w-full"+ >+ {isLoading ? "Signing up..." : "Sign up"}+ </Button>+ </form>++ {isCloudEnv ? (+ <>+ <AuthDivider />+ <GoogleOAuthButton+ onClick={() => handleProviderSignup("google")}+ isLoading={isGoogleLoading}+ disabled={isLoading}+ />+ </>+ ) : null}++ <AuthFeedback+ type="signup"+ message={feedback}+ isError={!!feedback}+ behaveAs={environment.getBehaveAs()}+ />+ </Form>++ <div className="mt-6 inline-flex w-full items-center justify-center gap-1">+ <Text variant="body-medium" className="!text-slate-500">+ Already a member?+ </Text>+ <Link href={loginHref} variant="secondary">+ Log in+ </Link>+ </div>++ <MobileWarningBanner />+ <EmailNotAllowedModal+ isOpen={showNotAllowedModal}+ onClose={handleCloseNotAllowedModal}+ />+ </AuthSplitLayout>+ );+}diff --git a/autogpt_platform/frontend/src/app/(platform)/signup/useSignupPage.ts b/autogpt_platform/frontend/src/app/(no-navbar)/signup/useSignupPage.tssimilarity index 100%rename from autogpt_platform/frontend/src/app/(platform)/signup/useSignupPage.tsrename to autogpt_platform/frontend/src/app/(no-navbar)/signup/useSignupPage.tsdiff --git a/autogpt_platform/frontend/src/app/(platform)/login/components/LoadingLogin.tsx b/autogpt_platform/frontend/src/app/(platform)/login/components/LoadingLogin.tsxdeleted file mode 100644index e1dfd7ef73..0000000000--- a/autogpt_platform/frontend/src/app/(platform)/login/components/LoadingLogin.tsx+++ /dev/null@@ -1,34 +0,0 @@-import { AuthCard } from "@/components/auth/AuthCard";-import { Skeleton } from "@/components/__legacy__/ui/skeleton";--export function LoadingLogin() {- return (- <div className="flex h-full min-h-[85vh] flex-col items-center justify-center">- <AuthCard title="">- <div className="w-full space-y-6">- <Skeleton className="mx-auto h-8 w-48" />- <Skeleton className="h-12 w-full rounded-md" />- <div className="flex w-full items-center">- <Skeleton className="h-px flex-1" />- <Skeleton className="mx-3 h-4 w-6" />- <Skeleton className="h-px flex-1" />- </div>- <div className="space-y-2">- <Skeleton className="h-4 w-12" />- <Skeleton className="h-12 w-full rounded-md" />- </div>- <div className="space-y-2">- <Skeleton className="h-4 w-16" />- <Skeleton className="h-12 w-full rounded-md" />- </div>- <Skeleton className="h-16 w-full rounded-md" />- <Skeleton className="h-12 w-full rounded-md" />- <div className="flex justify-center space-x-1">- <Skeleton className="h-4 w-32" />- <Skeleton className="h-4 w-12" />- </div>- </div>- </AuthCard>- </div>- );-}diff --git a/autogpt_platform/frontend/src/app/(platform)/login/page.tsx b/autogpt_platform/frontend/src/app/(platform)/login/page.tsxdeleted file mode 100644index b670be5127..0000000000--- a/autogpt_platform/frontend/src/app/(platform)/login/page.tsx+++ /dev/null@@ -1,129 +0,0 @@-"use client";-import { Form, FormField } from "@/components/__legacy__/ui/form";-import { Button } from "@/components/atoms/Button/Button";-import { Input } from "@/components/atoms/Input/Input";-import { Link } from "@/components/atoms/Link/Link";-import { AuthCard } from "@/components/auth/AuthCard";-import AuthFeedback from "@/components/auth/AuthFeedback";-import { EmailNotAllowedModal } from "@/components/auth/EmailNotAllowedModal";-import { GoogleOAuthButton } from "@/components/auth/GoogleOAuthButton";-import { environment } from "@/services/environment";-import { LoadingLogin } from "./components/LoadingLogin";-import { useLoginPage } from "./useLoginPage";-import { MobileWarningBanner } from "@/components/auth/MobileWarningBanner";-import { useSearchParams } from "next/navigation";--export default function LoginPage() {- const searchParams = useSearchParams();- const nextUrl = searchParams.get("next");- // Preserve next parameter when switching between login/signup- const signupHref = nextUrl- ? `/signup?next=${encodeURIComponent(nextUrl)}`- : "/signup";-- const {- user,- form,- feedback,- isLoading,- isGoogleLoading,- isCloudEnv,- isUserLoading,- showNotAllowedModal,- isSupabaseAvailable,- handleSubmit,- handleProviderLogin,- handleCloseNotAllowedModal,- } = useLoginPage();-- if (isUserLoading || user) {- return <LoadingLogin />;- }-- if (!isSupabaseAvailable) {- return (- <div>- User accounts are disabled because Supabase client is unavailable- </div>- );- }-- return (- <div className="flex h-full min-h-[85vh] flex-col items-center justify-center py-10">- <AuthCard title="Login to your account">- <Form {...form}>- <form onSubmit={handleSubmit} className="flex w-full flex-col gap-1">- <FormField- control={form.control}- name="email"- render={({ field }) => (- <Input- id={field.name}- label="Email"- placeholder="[email protected]"- type="email"- autoComplete="username"- className="w-full"- error={form.formState.errors.email?.message}- {...field}- />- )}- />- <FormField- control={form.control}- name="password"- render={({ field }) => (- <Input- id={field.name}- label="Password"- placeholder="•••••••••••••••••••••"- type="password"- autoComplete="current-password"- error={form.formState.errors.password?.message}- hint={- <Link variant="secondary" href="/reset-password">- Forgot password?- </Link>- }- {...field}- />- )}- />-- <Button- variant="primary"- loading={isLoading}- disabled={isGoogleLoading}- type="submit"- className="mt-6 w-full"- >- {isLoading ? "Logging in..." : "Login"}- </Button>- </form>- {isCloudEnv ? (- <GoogleOAuthButton- onClick={() => handleProviderLogin("google")}- isLoading={isGoogleLoading}- disabled={isLoading}- />- ) : null}- <AuthFeedback- type="login"- message={feedback}- isError={!!feedback}- behaveAs={environment.getBehaveAs()}- />- </Form>- <AuthCard.BottomText- text="Don't have an account?"- link={{ text: "Sign up", href: signupHref }}- />- </AuthCard>- <MobileWarningBanner />- <EmailNotAllowedModal- isOpen={showNotAllowedModal}- onClose={handleCloseNotAllowedModal}- />- </div>- );-}diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/integrations/components/IntegrationsListEmpty/IntegrationsListEmpty.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/integrations/components/IntegrationsListEmpty/IntegrationsListEmpty.tsxindex 9fd34b1255..5b78864b73 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/integrations/components/IntegrationsListEmpty/IntegrationsListEmpty.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/integrations/components/IntegrationsListEmpty/IntegrationsListEmpty.tsx@@ -1,8 +1,7 @@"use client";import { Text } from "@/components/atoms/Text/Text";--import { IntegrationsMarquee } from "./components/IntegrationsMarquee";+import { IntegrationsMarquee } from "@/components/molecules/IntegrationsMarquee/IntegrationsMarquee";interface Props {query: string;diff --git a/autogpt_platform/frontend/src/app/(platform)/signup/components/LoadingSignup.tsx b/autogpt_platform/frontend/src/app/(platform)/signup/components/LoadingSignup.tsxdeleted file mode 100644index c5787fd77f..0000000000--- a/autogpt_platform/frontend/src/app/(platform)/signup/components/LoadingSignup.tsx+++ /dev/null@@ -1,29 +0,0 @@-import { AuthCard } from "@/components/auth/AuthCard";-import { Skeleton } from "@/components/__legacy__/ui/skeleton";--export function LoadingSignup() {- return (- <div className="flex h-full min-h-[85vh] flex-col items-center justify-center">- <AuthCard title="">- <Skeleton className="mx-auto h-8 w-48" />- <Skeleton className="h-12 w-full rounded-md" />- <div className="w-full space-y-6">- <div className="space-y-2">- <Skeleton className="h-4 w-12" />- <Skeleton className="h-12 w-full rounded-md" />- </div>- <div className="space-y-2">- <Skeleton className="h-4 w-16" />- <Skeleton className="h-12 w-full rounded-md" />- </div>- <Skeleton className="h-16 w-full rounded-md" />- <Skeleton className="h-12 w-full rounded-md" />- <div className="flex justify-center space-x-1">- <Skeleton className="h-4 w-32" />- <Skeleton className="h-4 w-12" />- </div>- </div>- </AuthCard>- </div>- );-}diff --git a/autogpt_platform/frontend/src/app/(platform)/signup/page.tsx b/autogpt_platform/frontend/src/app/(platform)/signup/page.tsxdeleted file mode 100644index 0cb2ae00be..0000000000--- a/autogpt_platform/frontend/src/app/(platform)/signup/page.tsx+++ /dev/null@@ -1,207 +0,0 @@-"use client";--import { Checkbox } from "@/components/__legacy__/ui/checkbox";-import {- Form,- FormControl,- FormField,- FormItem,- FormLabel,-} from "@/components/__legacy__/ui/form";-import { Button } from "@/components/atoms/Button/Button";-import { Input } from "@/components/atoms/Input/Input";-import { Link } from "@/components/atoms/Link/Link";-import { Text } from "@/components/atoms/Text/Text";-import { AuthCard } from "@/components/auth/AuthCard";-import AuthFeedback from "@/components/auth/AuthFeedback";-import { EmailNotAllowedModal } from "@/components/auth/EmailNotAllowedModal";-import { GoogleOAuthButton } from "@/components/auth/GoogleOAuthButton";-import { environment } from "@/services/environment";-import { WarningOctagonIcon } from "@phosphor-icons/react/dist/ssr";-import { LoadingSignup } from "./components/LoadingSignup";-import { useSignupPage } from "./useSignupPage";-import { MobileWarningBanner } from "@/components/auth/MobileWarningBanner";-import { useSearchParams } from "next/navigation";--export default function SignupPage() {- const searchParams = useSearchParams();- const nextUrl = searchParams.get("next");- // Preserve next parameter when switching between login/signup- const loginHref = nextUrl- ? `/login?next=${encodeURIComponent(nextUrl)}`- : "/login";-- const {- form,- feedback,- isLoggedIn,- isLoading,- isGoogleLoading,- isCloudEnv,- isUserLoading,- showNotAllowedModal,- isSupabaseAvailable,- handleSubmit,- handleProviderSignup,- handleCloseNotAllowedModal,- } = useSignupPage();-- if (isUserLoading || isLoggedIn) {- return <LoadingSignup />;- }-- if (!isSupabaseAvailable) {- return (- <div>- User accounts are disabled because Supabase client is unavailable- </div>- );- }-- const confirmPasswordError = form.formState.errors.confirmPassword?.message;- const termsError = form.formState.errors.agreeToTerms?.message;-- return (- <div className="flex h-full min-h-[85vh] flex-col items-center justify-center py-10">- <AuthCard title="Create a new account">- <Form {...form}>- <form onSubmit={handleSubmit} className="flex w-full flex-col gap-1">- <FormField- control={form.control}- name="email"- render={({ field }) => (- <Input- id={field.name}- label="Email"- placeholder="[email protected]"- type="email"- autoComplete="email"- error={form.formState.errors.email?.message}- {...field}- />- )}- />- <FormField- control={form.control}- name="password"- render={({ field }) => {- return (- <Input- id={field.name}- label="Password"- placeholder="•••••••••••••••••••••"- type="password"- autoComplete="new-password"- error={form.formState.errors.password?.message}- {...field}- />- );- }}- />- <FormField- control={form.control}- name="confirmPassword"- render={({ field }) => (- <Input- id={field.name}- label="Confirm Password"- placeholder="•••••••••••••••••••••"- type="password"- autoComplete="new-password"- error={confirmPasswordError}- {...field}- />- )}- />- <FormField- control={form.control}- name="agreeToTerms"- render={({ field }) => (- <>- <FormItem className="mt-6 flex w-full flex-row items-center -space-y-1 space-x-2">- <FormControl>- <Checkbox- checked={field.value}- onCheckedChange={field.onChange}- className="relative bottom-px"- />- </FormControl>- <div>- <FormLabel className="flex flex-wrap items-center gap-1">- <Text- variant="body-medium"- className="inline-block text-slate-950"- >- I agree to the- </Text>- <Link- href="https://agpt.co/legal/platform-terms-of-use"- variant="secondary"- >- Terms of Use- </Link>- <Text- variant="body-medium"- className="inline-block text-slate-950"- >- and- </Text>- <Link- href="https://agpt.co/legal/platform-privacy-policy"- variant="secondary"- >- Privacy Policy- </Link>- </FormLabel>- </div>- </FormItem>- {termsError ? (- <div className="flex items-center gap-2">- <WarningOctagonIcon className="h-4 w-4 text-red-500" />- <Text variant="small-medium" className="!text-red-500">- {termsError}- </Text>- </div>- ) : null}- </>- )}- />-- <Button- variant="primary"- loading={isLoading}- disabled={isGoogleLoading}- type="submit"- className="mt-6 w-full"- >- {isLoading ? "Signing up..." : "Sign up"}- </Button>- </form>- </Form>- {isCloudEnv ? (- <GoogleOAuthButton- onClick={() => handleProviderSignup("google")}- isLoading={isGoogleLoading}- disabled={isLoading}- />- ) : null}- <AuthFeedback- type="signup"- message={feedback}- isError={!!feedback}- behaveAs={environment.getBehaveAs()}- />-- <AuthCard.BottomText- text="Already a member?"- link={{ text: "Log in", href: loginHref }}- />- </AuthCard>- <MobileWarningBanner />- <EmailNotAllowedModal- isOpen={showNotAllowedModal}- onClose={handleCloseNotAllowedModal}- />- </div>- );-}diff --git a/autogpt_platform/frontend/src/components/atoms/AutoGPTLogo/AutoGPTLogo.tsx b/autogpt_platform/frontend/src/components/atoms/AutoGPTLogo/AutoGPTLogo.tsxindex 81ab8b681b..029bd62c57 100644--- a/autogpt_platform/frontend/src/components/atoms/AutoGPTLogo/AutoGPTLogo.tsx+++ b/autogpt_platform/frontend/src/components/atoms/AutoGPTLogo/AutoGPTLogo.tsx@@ -1,8 +1,20 @@+import { useId } from "react";+interface Props extends React.SVGProps<SVGSVGElement> {hideText?: boolean;+ wordmarkColor?: string;}-export function AutoGPTLogo({ hideText = false, className, ...props }: Props) {+export function AutoGPTLogo({+ hideText = false,+ wordmarkColor = "#000030",+ className,+ ...props+}: Props) {+ const uid = useId().replace(/:/g, "");+ const clipId = `clip-${uid}`;+ const gradId = (n: number) => `paint${n}-${uid}`;+return (<svgviewBox="0 0 89 40"@@ -12,53 +24,45 @@ export function AutoGPTLogo({ hideText = false, className, ...props }: Props) {className={className ?? "h-10 w-[5.5rem]"}{...props}>- <g id="AutoGPT-logo 1" clipPath="url(#clip0_3364_2463)">+ <g clipPath={`url(#${clipId})`}><path- id="Vector"d="M69.1364 28.8681V38.6414C69.1364 39.3617 68.5471 39.951 67.8301 39.951C67.0541 39.951 66.4124 39.4599 66.4124 38.6414V24.0584C66.4124 20.9644 68.9236 18.4531 72.0177 18.4531C75.1117 18.4531 77.623 20.9644 77.623 24.0584C77.623 27.1525 75.1117 29.6637 72.0177 29.6637C70.9634 29.6637 69.9812 29.3723 69.1397 28.8681H69.1364ZM70.2856 22.3231C71.2417 22.3231 72.0177 23.0991 72.0177 24.0552C72.0177 25.0112 71.2417 25.7872 70.2856 25.7872C70.1088 25.7872 69.9353 25.761 69.7749 25.7119C70.2824 26.3994 71.0976 26.8447 72.0177 26.8447C73.5565 26.8447 74.8039 25.5973 74.8039 24.0584C74.8039 22.5196 73.5565 21.2721 72.0177 21.2721C71.0976 21.2721 70.2824 21.7174 69.7749 22.405C69.9353 22.3559 70.1088 22.3297 70.2856 22.3297V22.3231Z"- fill="url(#paint0_linear_3364_2463)"+ fill={`url(#${gradId(0)})`}/><path- id="Vector_2"d="M62.133 28.8675V35.144C62.133 35.7137 61.9005 36.2343 61.524 36.6075C60.6989 37.4326 59.1699 37.4326 58.3448 36.6075C57.2611 35.5238 58.2891 33.6903 56.3509 31.752C54.4126 29.8137 51.1974 29.8694 49.318 31.752C48.4504 32.6196 47.9102 33.8212 47.9102 35.144C47.9102 35.8643 48.4995 36.4536 49.2198 36.4536C49.999 36.4536 50.6375 35.9625 50.6375 35.144C50.6375 34.5743 50.87 34.057 51.2465 33.6805C52.0716 32.8554 53.6006 32.8554 54.4257 33.6805C55.6076 34.8624 54.4126 36.5289 56.4196 38.536C58.3022 40.4186 61.5731 40.4186 63.4524 38.536C64.3201 37.6683 64.8603 36.4667 64.8603 35.144V24.0545C64.8603 20.9605 62.3491 18.4492 59.255 18.4492C56.161 18.4492 53.6497 20.9605 53.6497 24.0545C53.6497 27.1486 56.161 29.6598 59.255 29.6598C60.3093 29.6598 61.2948 29.3684 62.133 28.8642V28.8675ZM59.255 26.8441C58.335 26.8441 57.5197 26.3988 57.0122 25.7112C57.1727 25.7603 57.3462 25.7865 57.523 25.7865C58.479 25.7865 59.255 25.0106 59.255 24.0545C59.255 23.0985 58.479 22.3225 57.523 22.3225C57.3462 22.3225 57.1727 22.3487 57.0122 22.3978C57.5197 21.7103 58.335 21.265 59.255 21.265C60.7938 21.265 62.0413 22.5124 62.0413 24.0512C62.0413 25.5901 60.7938 26.8375 59.255 26.8375V26.8441Z"- fill="url(#paint1_linear_3364_2463)"+ fill={`url(#${gradId(1)})`}/><path- id="Vector_3"d="M81.709 12.959C81.709 9.51134 80.3371 6.24048 77.9045 3.80453C75.4685 1.36858 72.1977 0 68.75 0C65.3024 0 62.0315 1.37186 59.5956 3.80453C57.1596 6.24048 55.791 9.51461 55.791 12.959V13.5451C55.791 14.2948 56.4 14.9038 57.1498 14.9038C57.8996 14.9038 58.5085 14.2948 58.5085 13.5451V12.959C58.5085 10.2349 59.5956 7.64836 61.5175 5.72645C63.4394 3.80453 66.0259 2.71425 68.75 2.71425C71.4741 2.71425 74.0574 3.80126 75.9826 5.72645C77.9045 7.64836 78.9948 10.2349 78.9948 12.959C78.9948 13.7088 79.6037 14.3178 80.3535 14.3178C81.1033 14.3178 81.7123 13.7088 81.7123 12.959H81.709Z"- fill="url(#paint2_linear_3364_2463)"+ fill={`url(#${gradId(2)})`}/><path- id="Vector_4"d="M81.7092 17.061V18.7341H83.8963C84.6232 18.7341 85.2191 19.33 85.2191 20.0569C85.2191 20.7837 84.6952 21.4582 83.8963 21.4582H81.7092V35.1964C81.7092 35.7661 81.9417 36.2834 82.3182 36.6599C83.1433 37.485 84.6723 37.485 85.4974 36.6599C85.8739 36.2834 86.1064 35.7661 86.1064 35.1964V34.738C86.1064 33.9228 86.7481 33.4284 87.5241 33.4284C88.2444 33.4284 88.8337 34.0177 88.8337 34.738V35.1964C88.8337 36.5192 88.2935 37.7208 87.4258 38.5884C85.5432 40.471 82.2822 40.471 80.3996 38.5884C79.5319 37.7208 78.9917 36.5192 78.9917 35.1964V17.061C78.9917 16.272 79.6171 15.7383 80.3832 15.7383C81.1493 15.7383 81.706 16.3342 81.706 17.061H81.7092Z"- fill="url(#paint3_linear_3364_2463)"+ fill={`url(#${gradId(3)})`}/><path- id="Vector_5"d="M75.4293 38.6377C75.4293 39.358 74.8399 39.9441 74.1196 39.9441C73.3436 39.9441 72.7019 39.453 72.7019 38.6377V34.2013C72.7019 33.4809 73.2912 32.8916 74.0116 32.8916C74.7875 32.8916 75.4293 33.3827 75.4293 34.2013V38.6377Z"- fill="url(#paint4_linear_3364_2463)"+ fill={`url(#${gradId(4)})`}/>{!hideText && (<path- id="Vector_6"d="M11.7672 22.2907V31.6252H8.94164V26.9399H2.82557V31.6252H0V22.2907C0 14.5998 11.7672 14.4983 11.7672 22.2907ZM44.3808 31.6252C48.5618 31.6252 51.9506 28.2365 51.9506 24.0554C51.9506 19.8744 48.5618 16.4857 44.3808 16.4857C40.1997 16.4857 36.811 19.8744 36.811 24.0554C36.811 28.2365 40.1997 31.6252 44.3808 31.6252ZM44.3808 28.7309C41.8008 28.7309 39.7086 26.6387 39.7086 24.0587C39.7086 21.4787 41.8008 19.3865 44.3808 19.3865C46.9608 19.3865 49.053 21.4787 49.053 24.0587C49.053 26.6387 46.9608 28.7309 44.3808 28.7309ZM37.3218 16.4857V19.2097H33.2095V31.6252H30.4854V19.2097H26.3731V16.4857H37.3218ZM25.0111 25.8202V16.4857H22.1855V25.8202C22.1855 30.0242 16.0661 29.9489 16.0661 25.8202V16.4857H13.2406V25.8202C13.2406 33.5111 25.0078 33.6126 25.0078 25.8202H25.0111ZM8.94164 24.2159V22.294C8.94164 18.09 2.8223 18.1653 2.8223 22.294V24.2159H8.94164Z"- fill="#000030"+ fill={wordmarkColor}/>)}<path- id="Vector_7"d="M87.4713 32.257C88.2434 32.257 88.8693 31.6311 88.8693 30.859C88.8693 30.0869 88.2434 29.4609 87.4713 29.4609C86.6992 29.4609 86.0732 30.0869 86.0732 30.859C86.0732 31.6311 86.6992 32.257 87.4713 32.257Z"fill="#669CF6"/><path- id="Vector_8"d="M49.2167 39.9475C49.9888 39.9475 50.6147 39.3215 50.6147 38.5494C50.6147 37.7773 49.9888 37.1514 49.2167 37.1514C48.4445 37.1514 47.8186 37.7773 47.8186 38.5494C47.8186 39.3215 48.4445 39.9475 49.2167 39.9475Z"fill="#669CF6"/></g><defs><linearGradient- id="paint0_linear_3364_2463"+ id={gradId(0)}x1="62.7328"y1="20.9589"x2="62.7328"@@ -69,7 +73,7 @@ export function AutoGPTLogo({ hideText = false, className, ...props }: Props) {<stop offset="1" stopColor="#9900FF" /></linearGradient><linearGradient- id="paint1_linear_3364_2463"+ id={gradId(1)}x1="47.5336"y1="20.947"x2="47.5336"@@ -80,7 +84,7 @@ export function AutoGPTLogo({ hideText = false, className, ...props }: Props) {<stop offset="1" stopColor="#4285F4" /></linearGradient><linearGradient- id="paint2_linear_3364_2463"+ id={gradId(2)}x1="69.4138"y1="6.17402"x2="48.0898"@@ -91,7 +95,7 @@ export function AutoGPTLogo({ hideText = false, className, ...props }: Props) {<stop offset="1" stopColor="#9900FF" /></linearGradient><linearGradient- id="paint3_linear_3364_2463"+ id={gradId(3)}x1="74.2976"y1="15.7136"x2="74.2976"@@ -102,7 +106,7 @@ export function AutoGPTLogo({ hideText = false, className, ...props }: Props) {<stop offset="1" stopColor="#4285F4" /></linearGradient><linearGradient- id="paint4_linear_3364_2463"+ id={gradId(4)}x1="64.3579"y1="24.1914"x2="65.0886"@@ -112,7 +116,7 @@ export function AutoGPTLogo({ hideText = false, className, ...props }: Props) {<stop stopColor="#4285F4" /><stop offset="1" stopColor="#9900FF" /></linearGradient>- <clipPath id="clip0_3364_2463">+ <clipPath id={clipId}><rect width="88.8696" height="40" fill="white" /></clipPath></defs>diff --git a/autogpt_platform/frontend/src/components/atoms/AutoGPTLogo/AutoGPTLogoWhite.tsx b/autogpt_platform/frontend/src/components/atoms/AutoGPTLogo/AutoGPTLogoWhite.tsxnew file mode 100644index 0000000000..afa52a46f4--- /dev/null+++ b/autogpt_platform/frontend/src/components/atoms/AutoGPTLogo/AutoGPTLogoWhite.tsx@@ -0,0 +1,55 @@+interface Props extends React.SVGProps<SVGSVGElement> {+ hideText?: boolean;+}++export function AutoGPTLogoWhite({+ hideText = false,+ className,+ ...props+}: Props) {+ return (+ <svg+ viewBox={hideText ? "63 0 57 54" : "0 0 119 54"}+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ aria-label="AutoGPT Logo"+ className={className ?? "h-[3.375rem] w-auto"}+ {...props}+ >+ <path+ d="M92.5796 38.9702V52.1619C92.5796 53.1347 91.7927 53.9281 90.8293 53.9281C89.789 53.9281 88.9297 53.2639 88.9297 52.1619V32.4754C88.9297 28.297 92.2917 24.906 96.4377 24.906C100.584 24.906 103.946 28.294 103.946 32.4754C103.946 36.6553 100.585 40.0448 96.4377 40.0448C95.0281 40.0448 93.7104 39.6511 92.5827 38.9702H92.5796ZM94.1159 30.1377C95.3959 30.1377 96.4347 31.1834 96.4347 32.4739C96.4347 33.7643 95.3974 34.8116 94.1159 34.8116C93.8777 34.8116 93.6471 34.7751 93.4315 34.7082C94.1114 35.6369 95.2044 36.2388 96.4362 36.2388C98.4986 36.2388 100.169 34.5547 100.169 32.4754C100.169 30.3961 98.4986 28.712 96.4362 28.712C95.2044 28.712 94.1129 29.3139 93.4315 30.2426C93.6471 30.1757 93.8777 30.1392 94.1159 30.1392V30.1377Z"+ fill="white"+ />+ <path+ d="M83.2017 38.9701V47.4454C83.2017 48.2145 82.8896 48.9152 82.3875 49.4229C81.2824 50.5355 79.2336 50.5355 78.13 49.4229C76.6812 47.9622 78.0546 45.4847 75.4585 42.8673C72.9392 40.3275 68.5566 40.3275 66.0403 42.8673C64.8765 44.0407 64.1543 45.661 64.1543 47.4454C64.1543 48.4182 64.9413 49.2116 65.9062 49.2116C66.9479 49.2116 67.8058 48.5474 67.8058 47.4454C67.8058 46.6763 68.1179 45.9772 68.6199 45.4695C69.725 44.3569 71.7738 44.3569 72.8774 45.4695C74.4589 47.0639 72.8623 49.3165 75.5489 52.0236C78.0682 54.5634 82.4494 54.5634 84.9671 52.0236C86.131 50.8501 86.8531 49.2299 86.8531 47.4454V32.5255V32.4769C86.8531 28.2985 83.4926 24.9075 79.3452 24.9075C75.1992 24.9075 71.8372 28.2955 71.8372 32.4769C71.8372 36.6568 75.1977 40.0463 79.3452 40.0463C80.7563 40.0447 82.0755 39.6511 83.2017 38.9701ZM79.3452 36.2388C78.1134 36.2388 77.0219 35.6369 76.3404 34.7082C76.556 34.775 76.7867 34.8115 77.0249 34.8115C78.3049 34.8115 79.3436 33.7643 79.3436 32.4738C79.3436 31.1834 78.3049 30.1377 77.0249 30.1377C76.7867 30.1377 76.556 30.1741 76.3404 30.241C77.0204 29.3123 78.1119 28.7104 79.3452 28.7104C81.4061 28.7104 83.078 30.3945 83.078 32.4738C83.078 34.5531 81.4061 36.2373 79.3452 36.2373V36.2388Z"+ fill="white"+ />+ <path+ d="M109.414 17.4963C109.414 12.8437 107.577 8.42514 104.318 5.13746C101.058 1.85131 96.6757 0 92.0594 0C87.4445 0 83.0634 1.85131 79.8008 5.13746C76.5414 8.42362 74.7051 12.8437 74.7051 17.4963V18.2882C74.7051 19.3005 75.5192 20.1228 76.5248 20.1228C77.5289 20.1228 78.3445 19.302 78.3445 18.2882V17.4963C78.3445 13.8195 79.7994 10.3281 82.3744 7.73052C84.9494 5.13442 88.4139 3.66614 92.0609 3.66614C95.7078 3.66614 99.1694 5.1329 101.744 7.73052C104.319 10.3266 105.776 13.8195 105.776 17.4963C105.776 18.5086 106.59 19.3309 107.595 19.3309C108.598 19.3309 109.414 18.5101 109.414 17.4963Z"+ fill="white"+ />+ <path+ d="M109.412 23.0335V25.2937H112.342C113.317 25.2937 114.113 26.0962 114.113 27.0812C114.113 28.1132 113.414 28.972 112.342 28.972H109.412V47.517C109.412 48.2861 109.726 48.9853 110.228 49.493C111.332 50.6071 113.38 50.6071 114.484 49.493C114.988 48.9853 115.3 48.2846 115.3 47.517V46.8984C115.3 45.7964 116.159 45.1322 117.199 45.1322C118.164 45.1322 118.951 45.9256 118.951 46.8984V47.517C118.951 49.303 118.229 50.9233 117.065 52.0951C114.546 54.635 110.177 54.635 107.658 52.0951C106.494 50.9217 105.771 49.3015 105.771 47.517V23.0335C105.771 21.9695 106.61 21.2476 107.636 21.2476C108.612 21.2476 109.408 22.0516 109.408 23.0335H109.412Z"+ fill="white"+ />+ <path+ d="M101.004 52.1604C101.004 53.1317 100.217 53.9251 99.2516 53.9251C98.2111 53.9251 97.3516 53.2609 97.3516 52.1604C97.3516 46.7706 97.3516 51.56 97.3516 46.1702C97.3516 45.1975 98.1387 44.4041 99.1038 44.4041C100.144 44.4041 101.004 45.0683 101.004 46.1702C101.004 51.56 101.004 46.7706 101.004 52.1604Z"+ fill="white"+ />+ {!hideText && (+ <path+ d="M15.7577 30.0936V42.6956H11.9751V36.3696H3.78263V42.6956H0V30.0936C0.00301526 19.7108 15.7577 19.574 15.7577 30.0936ZM59.4292 42.6941C65.027 42.6941 69.565 38.119 69.565 32.4754C69.565 26.8318 65.027 22.2567 59.4292 22.2567C53.8314 22.2567 49.2934 26.8318 49.2934 32.4754C49.2934 38.119 53.8314 42.6941 59.4292 42.6941ZM59.4292 38.7848C55.9722 38.7848 53.171 35.9607 53.171 32.4754C53.171 28.9902 55.9722 26.1661 59.4292 26.1661C62.8862 26.1661 65.6873 28.9902 65.6873 32.4754C65.6873 35.9607 62.8862 38.7848 59.4292 38.7848ZM49.9748 22.2552V25.9335H44.469V42.6941H40.8205V25.9335H35.3147V22.2552C40.2024 22.2552 45.0886 22.2552 49.9748 22.2552ZM33.4919 34.8572V22.2552H29.7093V34.8572C29.7093 40.5312 21.5169 40.4294 21.5169 34.8572V22.2552H17.7342V34.8572C17.7357 45.237 33.4919 45.3753 33.4919 34.8572ZM11.9766 32.6897V30.0936C11.9766 24.4196 3.78414 24.5215 3.78414 30.0936V32.6897H11.9766Z"+ fill="white"+ />+ )}+ <path+ d="M117.129 43.5454C118.163 43.5454 119.002 42.7002 119.002 41.6576C119.002 40.615 118.163 39.7698 117.129 39.7698C116.094 39.7698 115.256 40.615 115.256 41.6576C115.256 42.7002 116.094 43.5454 117.129 43.5454Z"+ fill="white"+ />+ <path+ d="M65.9022 53.9282C66.9366 53.9282 67.7751 53.083 67.7751 52.0404C67.7751 50.9978 66.9366 50.1526 65.9022 50.1526C64.8678 50.1526 64.0293 50.9978 64.0293 52.0404C64.0293 53.083 64.8678 53.9282 65.9022 53.9282Z"+ fill="white"+ />+ </svg>+ );+}diff --git a/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AnimatedHeading.tsx b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AnimatedHeading.tsxnew file mode 100644index 0000000000..cb93e0e28a--- /dev/null+++ b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AnimatedHeading.tsx@@ -0,0 +1,49 @@+"use client";++import { motion, useReducedMotion, type Variants } from "framer-motion";+import { ReactNode } from "react";++interface Props {+ lines: ReactNode[];+}++const lineVariants: Variants = {+ hidden: { opacity: 0, y: 24, filter: "blur(10px)" },+ visible: (i: number) => ({+ opacity: 1,+ y: 0,+ filter: "blur(0px)",+ transition: {+ delay: 0.1 + i * 0.12,+ duration: 0.65,+ ease: [0.22, 1, 0.36, 1],+ },+ }),+};++const reducedVariants: Variants = {+ hidden: { opacity: 0 },+ visible: { opacity: 1, transition: { duration: 0.2 } },+};++export function AnimatedHeading({ lines }: Props) {+ const prefersReducedMotion = useReducedMotion();+ const variants = prefersReducedMotion ? reducedVariants : lineVariants;++ return (+ <>+ {lines.map((line, i) => (+ <motion.span+ key={i}+ custom={i}+ initial="hidden"+ animate="visible"+ variants={variants}+ className="block"+ >+ {line}+ </motion.span>+ ))}+ </>+ );+}diff --git a/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AuthDivider.tsx b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AuthDivider.tsxnew file mode 100644index 0000000000..ce0083e07e--- /dev/null+++ b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AuthDivider.tsx@@ -0,0 +1,13 @@+import { Text } from "@/components/atoms/Text/Text";++export function AuthDivider() {+ return (+ <div className="my-5 flex w-full items-center gap-3">+ <span className="h-px flex-1 bg-slate-200" />+ <Text variant="small-medium" className="!text-slate-500">+ or+ </Text>+ <span className="h-px flex-1 bg-slate-200" />+ </div>+ );+}diff --git a/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AuthMarketingPanel.tsx b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AuthMarketingPanel.tsxnew file mode 100644index 0000000000..1b0e7d4b05--- /dev/null+++ b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AuthMarketingPanel.tsx@@ -0,0 +1,48 @@+import { ReactNode } from "react";+import { Vortex } from "@/components/ui/vortex";+import { FeatureList } from "./components/FeatureList";+import { FeatureItem } from "./components/FeatureListItem";+import { MarketingFooter } from "./components/MarketingFooter";+import { MarketingHeader } from "./components/MarketingHeader";++interface Props {+ headingLines: ReactNode[];+ description?: string;+ itemsTitle?: string;+ items: FeatureItem[];+ footerText?: string;+}++export function AuthMarketingPanel({+ headingLines,+ description,+ itemsTitle,+ items,+ footerText = "Connects with the tools you already use",+}: Props) {+ return (+ <Vortex+ containerClassName="absolute inset-0 h-full w-full"+ className="relative flex h-full w-full flex-col justify-between px-12 pb-12 pt-10 xl:px-16 xl:pb-16"+ backgroundColor="transparent"+ particleCount={350}+ baseHue={260}+ rangeSpeed={1.2}+ baseRadius={1}+ rangeRadius={2}+ >+ <div+ aria-hidden+ className="pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_center,transparent_30%,rgba(2,6,23,0.55)_85%)]"+ />+ <div className="relative z-10 flex flex-col gap-12">+ <MarketingHeader+ headingLines={headingLines}+ description={description}+ />+ <FeatureList itemsTitle={itemsTitle} items={items} />+ </div>+ <MarketingFooter footerText={footerText} />+ </Vortex>+ );+}diff --git a/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AuthSplitLayout.tsx b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AuthSplitLayout.tsxnew file mode 100644index 0000000000..a86870f107--- /dev/null+++ b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/AuthSplitLayout.tsx@@ -0,0 +1,31 @@+import { ReactNode } from "react";+import { AutoGPTLogo } from "@/components/atoms/AutoGPTLogo/AutoGPTLogo";+import { AuroraBackground } from "@/components/ui/aurora-background";+import { cn } from "@/lib/utils";++interface Props {+ marketing: ReactNode;+ children: ReactNode;+ className?: string;+}++export function AuthSplitLayout({ marketing, children, className }: Props) {+ return (+ <div className={cn("flex min-h-screen w-full flex-1", className)}>+ <aside className="relative hidden flex-1 overflow-hidden bg-slate-950 text-white lg:flex">+ {marketing}+ </aside>+ <section className="relative flex flex-1 flex-col items-center justify-center bg-white px-6 py-12 sm:px-10">+ <AuroraBackground+ aria-hidden+ showRadialGradient={false}+ className="absolute inset-0 h-full w-full lg:hidden"+ />+ <div className="relative z-10 flex w-full max-w-[26rem] flex-col">+ <AutoGPTLogo className="mx-auto mb-10 h-auto w-32 sm:w-40 lg:hidden" />+ {children}+ </div>+ </section>+ </div>+ );+}diff --git a/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/FeatureList.tsx b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/FeatureList.tsxnew file mode 100644index 0000000000..9503c62aa2--- /dev/null+++ b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/FeatureList.tsx@@ -0,0 +1,27 @@+import { Text } from "@/components/atoms/Text/Text";+import { FeatureItem, FeatureListItem } from "./FeatureListItem";++interface Props {+ itemsTitle?: string;+ items: FeatureItem[];+}++export function FeatureList({ itemsTitle, items }: Props) {+ return (+ <div className="flex flex-col gap-2">+ {itemsTitle ? (+ <Text+ variant="small-medium"+ className="uppercase tracking-[0.14em] !text-slate-400"+ >+ {itemsTitle}+ </Text>+ ) : null}+ <ul className="flex flex-col gap-3">+ {items.map((item) => (+ <FeatureListItem key={item.title} item={item} />+ ))}+ </ul>+ </div>+ );+}diff --git a/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/FeatureListItem.tsx b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/FeatureListItem.tsxnew file mode 100644index 0000000000..278f049168--- /dev/null+++ b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/FeatureListItem.tsx@@ -0,0 +1,32 @@+import { ReactNode } from "react";+import { Text } from "@/components/atoms/Text/Text";++export interface FeatureItem {+ icon: ReactNode;+ title: string;+ description?: string;+}++interface Props {+ item: FeatureItem;+}++export function FeatureListItem({ item }: Props) {+ return (+ <li className="flex items-start gap-4 rounded-xl border border-white/5 bg-white/[0.03] p-4 backdrop-blur-sm">+ <span className="flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-gradient-to-br from-indigo-500/30 to-purple-500/30 text-white ring-1 ring-white/10">+ {item.icon}+ </span>+ <div className="flex flex-col gap-0.5">+ <Text variant="body-medium" className="!text-white">+ {item.title}+ </Text>+ {item.description ? (+ <Text variant="small" className="!text-slate-400">+ {item.description}+ </Text>+ ) : null}+ </div>+ </li>+ );+}diff --git a/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/MarketingFooter.tsx b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/MarketingFooter.tsxnew file mode 100644index 0000000000..f8734b28e9--- /dev/null+++ b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/MarketingFooter.tsx@@ -0,0 +1,23 @@+import { Text } from "@/components/atoms/Text/Text";+import { IntegrationsMarquee } from "@/components/molecules/IntegrationsMarquee/IntegrationsMarquee";++interface Props {+ footerText: string;+}++export function MarketingFooter({ footerText }: Props) {+ return (+ <div className="relative z-10 mt-12 flex flex-col gap-3">+ <Text+ variant="small-medium"+ className="uppercase tracking-[0.14em] !text-slate-400"+ >+ {footerText}+ </Text>+ <IntegrationsMarquee+ variant="dark"+ className="h-[140px] w-full max-w-[460px]"+ />+ </div>+ );+}diff --git a/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/MarketingHeader.tsx b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/MarketingHeader.tsxnew file mode 100644index 0000000000..f3dfc144eb--- /dev/null+++ b/autogpt_platform/frontend/src/components/auth/AuthSplitLayout/components/MarketingHeader.tsx@@ -0,0 +1,40 @@+import { ReactNode } from "react";+import { AutoGPTLogoWhite } from "@/components/atoms/AutoGPTLogo/AutoGPTLogoWhite";+import { Text } from "@/components/atoms/Text/Text";+import { AnimatedHeading } from "../AnimatedHeading";++interface Props {+ headingLines: ReactNode[];+ description?: string;+}++export function MarketingHeader({ headingLines, description }: Props) {+ return (+ <>+ <div className="relative isolate w-fit">+ <div+ aria-hidden+ className="absolute inset-0 -z-10 scale-[1.8] rounded-full bg-[radial-gradient(circle,rgba(139,92,246,0.55),rgba(99,102,241,0.25)_45%,transparent_70%)] blur-2xl"+ />+ <AutoGPTLogoWhite+ hideText+ className="h-auto w-[3.5rem] drop-shadow-[0_0_18px_rgba(167,139,250,0.45)]"+ />+ </div>+ <div className="flex flex-col gap-4">+ <Text+ variant="h1"+ as="h1"+ className="!w-full !text-[3rem] !font-semibold !leading-[1.05] tracking-[-0.025em] !text-white"+ >+ <AnimatedHeading lines={headingLines} />+ </Text>+ {description ? (+ <Text variant="large" className="max-w-md !text-slate-300">+ {description}+ </Text>+ ) : null}+ </div>+ </>+ );+}diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/integrations/components/IntegrationsListEmpty/components/IntegrationsMarquee.tsx b/autogpt_platform/frontend/src/components/molecules/IntegrationsMarquee/IntegrationsMarquee.tsxsimilarity index 54%rename from autogpt_platform/frontend/src/app/(platform)/settings/integrations/components/IntegrationsListEmpty/components/IntegrationsMarquee.tsxrename to autogpt_platform/frontend/src/components/molecules/IntegrationsMarquee/IntegrationsMarquee.tsxindex 3b515c704e..3abbcf5539 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/integrations/components/IntegrationsListEmpty/components/IntegrationsMarquee.tsx+++ b/autogpt_platform/frontend/src/components/molecules/IntegrationsMarquee/IntegrationsMarquee.tsx@@ -1,6 +1,14 @@"use client";import { motion, useReducedMotion } from "framer-motion";+import { cn } from "@/lib/utils";++type Variant = "light" | "dark";++interface Props {+ variant?: Variant;+ className?: string;+}const ROW_A = ["github", "google", "notion", "airtable", "openai", "linear"];const ROW_B = [@@ -12,13 +20,16 @@ const ROW_B = ["ideogram",];-export function IntegrationsMarquee() {+export function IntegrationsMarquee({ variant = "light", className }: Props) {const reduceMotion = useReducedMotion();return (<divaria-hidden- className="relative flex h-[200px] w-[340px] flex-col justify-center gap-3 overflow-hidden"+ className={cn(+ "relative flex h-[200px] w-[340px] flex-col justify-center gap-3 overflow-hidden",+ className,+ )}style={{maskImage:"linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%)",@@ -30,11 +41,13 @@ export function IntegrationsMarquee() {providers={ROW_A}direction="left"reduceMotion={!!reduceMotion}+ variant={variant}/><MarqueeRowproviders={ROW_B}direction="right"reduceMotion={!!reduceMotion}+ variant={variant}/></div>);@@ -44,10 +57,12 @@ function MarqueeRow({providers,direction,reduceMotion,+ variant,}: {providers: string[];direction: "left" | "right";reduceMotion: boolean;+ variant: Variant;}) {const animateX = direction === "left" ? ["0%", "-50%"] : ["-50%", "0%"];@@ -62,16 +77,35 @@ function MarqueeRow({}>{[...providers, ...providers].map((id, i) => (- <GhostIntegrationCard key={`${id}-${i}`} id={id} />+ <GhostIntegrationCard key={`${id}-${i}`} id={id} variant={variant} />))}</motion.div>);}-function GhostIntegrationCard({ id }: { id: string }) {+function GhostIntegrationCard({+ id,+ variant,+}: {+ id: string;+ variant: Variant;+}) {+ const isDark = variant === "dark";return (- <div className="flex h-[58px] w-[180px] shrink-0 items-center gap-3 rounded-xl border border-zinc-200/50 bg-white/50 px-3 opacity-70 shadow-[0_1px_2px_rgba(0,0,0,0.03)]">- <div className="flex size-8 shrink-0 items-center justify-center rounded-lg bg-zinc-50/60">+ <div+ className={cn(+ "flex h-[58px] w-[180px] shrink-0 items-center gap-3 rounded-xl border px-3 shadow-[0_1px_2px_rgba(0,0,0,0.03)]",+ isDark+ ? "border-white/10 bg-white/[0.04]"+ : "border-zinc-200/50 bg-white/50 opacity-70",+ )}+ >+ <div+ className={cn(+ "flex size-8 shrink-0 items-center justify-center rounded-lg",+ isDark ? "bg-white/[0.06]" : "bg-zinc-50/60",+ )}+ >{/* eslint-disable-next-line @next/next/no-img-element -- decorative tiny logo, no LCP candidate */}<imgsrc={`/integrations/${id}.png`}@@ -80,12 +114,25 @@ function GhostIntegrationCard({ id }: { id: string }) {height={20}loading="lazy"decoding="async"- className="size-5 rounded-sm object-contain opacity-80"+ className={cn(+ "size-5 rounded-sm object-contain",+ isDark ? "" : "opacity-80",+ )}/></div><div className="flex flex-1 flex-col gap-1.5">- <div className="h-2 w-3/4 rounded-full bg-zinc-100/80" />- <div className="h-2 w-1/2 rounded-full bg-zinc-100/80" />+ <div+ className={cn(+ "h-2 w-3/4 rounded-full",+ isDark ? "bg-white/15" : "bg-zinc-100/80",+ )}+ />+ <div+ className={cn(+ "h-2 w-1/2 rounded-full",+ isDark ? "bg-white/10" : "bg-zinc-100/80",+ )}+ /></div></div>);diff --git a/autogpt_platform/frontend/src/components/ui/aurora-background.tsx b/autogpt_platform/frontend/src/components/ui/aurora-background.tsxnew file mode 100644index 0000000000..e31fa97b79--- /dev/null+++ b/autogpt_platform/frontend/src/components/ui/aurora-background.tsx@@ -0,0 +1,47 @@+"use client";+import { cn } from "@/lib/utils";+import React, { ReactNode } from "react";++interface Props extends React.HTMLProps<HTMLDivElement> {+ children?: ReactNode;+ showRadialGradient?: boolean;+}++export function AuroraBackground({+ className,+ children,+ showRadialGradient = true,+ ...props+}: Props) {+ return (+ <div+ className={cn(+ "transition-bg relative flex flex-col items-center justify-center overflow-hidden",+ className,+ )}+ {...props}+ >+ <div+ aria-hidden+ className="absolute inset-0 overflow-hidden"+ style={+ {+ "--aurora":+ "repeating-linear-gradient(100deg, #3b82f6 10%, #a5b4fc 15%, #93c5fd 20%, #ddd6fe 25%, #60a5fa 30%)",+ "--white-gradient":+ "repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%)",+ } as React.CSSProperties+ }+ >+ <div+ className={cn(+ `pointer-events-none absolute -inset-[10px] opacity-10 blur-[10px] invert filter will-change-transform [background-image:var(--white-gradient),var(--aurora)] [background-position:50%_50%,50%_50%] [background-size:300%,_200%] after:absolute after:inset-0 after:animate-aurora after:mix-blend-difference after:content-[""] after:[background-attachment:fixed] after:[background-image:var(--white-gradient),var(--aurora)] after:[background-size:200%,_100%]`,+ showRadialGradient &&+ `[mask-image:radial-gradient(ellipse_at_100%_0%,black_10%,transparent_70%)]`,+ )}+ />+ </div>+ {children}+ </div>+ );+}diff --git a/autogpt_platform/frontend/src/components/ui/vortex.tsx b/autogpt_platform/frontend/src/components/ui/vortex.tsxnew file mode 100644index 0000000000..5718d21172--- /dev/null+++ b/autogpt_platform/frontend/src/components/ui/vortex.tsx@@ -0,0 +1,269 @@+"use client";+import { cn } from "@/lib/utils";+import React, { ReactNode, useEffect, useRef } from "react";+import { createNoise3D } from "simplex-noise";+import { motion } from "motion/react";++interface VortexProps {+ children?: ReactNode;+ className?: string;+ containerClassName?: string;+ particleCount?: number;+ rangeY?: number;+ baseHue?: number;+ baseSpeed?: number;+ rangeSpeed?: number;+ baseRadius?: number;+ rangeRadius?: number;+ backgroundColor?: string;+}++export function Vortex(props: VortexProps) {+ const canvasRef = useRef<HTMLCanvasElement>(null);+ const containerRef = useRef(null);+ const animationFrameId = useRef<number>();+ const particleCount = props.particleCount || 700;+ const particlePropCount = 9;+ const particlePropsLength = particleCount * particlePropCount;+ const rangeY = props.rangeY || 100;+ const baseTTL = 50;+ const rangeTTL = 150;+ const baseSpeed = props.baseSpeed || 0.0;+ const rangeSpeed = props.rangeSpeed || 1.5;+ const baseRadius = props.baseRadius || 1;+ const rangeRadius = props.rangeRadius || 2;+ const baseHue = props.baseHue || 220;+ const rangeHue = 100;+ const noiseSteps = 3;+ const xOff = 0.00125;+ const yOff = 0.00125;+ const zOff = 0.0005;+ const backgroundColor = props.backgroundColor || "#000000";+ let tick = 0;+ const noise3D = createNoise3D();+ let particleProps = new Float32Array(particlePropsLength);+ const center: [number, number] = [0, 0];++ const TAU: number = 2 * Math.PI;++ function rand(n: number): number {+ return n * Math.random();+ }++ function randRange(n: number): number {+ return n - rand(2 * n);+ }++ function fadeInOut(t: number, m: number): number {+ const hm = 0.5 * m;+ return Math.abs(((t + hm) % m) - hm) / hm;+ }++ function lerp(n1: number, n2: number, speed: number): number {+ return (1 - speed) * n1 + speed * n2;+ }++ function setup() {+ const canvas = canvasRef.current;+ const container = containerRef.current;+ if (canvas && container) {+ const ctx = canvas.getContext("2d");++ if (ctx) {+ resize(canvas);+ initParticles();+ draw(canvas, ctx);+ }+ }+ }++ function initParticles() {+ tick = 0;+ particleProps = new Float32Array(particlePropsLength);++ for (let i = 0; i < particlePropsLength; i += particlePropCount) {+ initParticle(i);+ }+ }++ function initParticle(i: number) {+ const canvas = canvasRef.current;+ if (!canvas) return;++ const x = rand(canvas.width);+ const y = center[1] + randRange(rangeY);+ const vx = 0;+ const vy = 0;+ const life = 0;+ const ttl = baseTTL + rand(rangeTTL);+ const speed = baseSpeed + rand(rangeSpeed);+ const radius = baseRadius + rand(rangeRadius);+ const hue = baseHue + rand(rangeHue);++ particleProps.set([x, y, vx, vy, life, ttl, speed, radius, hue], i);+ }++ function draw(canvas: HTMLCanvasElement, ctx: CanvasRenderingContext2D) {+ tick++;++ ctx.clearRect(0, 0, canvas.width, canvas.height);++ ctx.fillStyle = backgroundColor;+ ctx.fillRect(0, 0, canvas.width, canvas.height);++ drawParticles(ctx);+ renderGlow(canvas, ctx);+ renderToScreen(canvas, ctx);++ animationFrameId.current = window.requestAnimationFrame(() =>+ draw(canvas, ctx),+ );+ }++ function drawParticles(ctx: CanvasRenderingContext2D) {+ for (let i = 0; i < particlePropsLength; i += particlePropCount) {+ updateParticle(i, ctx);+ }+ }++ function updateParticle(i: number, ctx: CanvasRenderingContext2D) {+ const canvas = canvasRef.current;+ if (!canvas) return;++ const i2 = 1 + i,+ i3 = 2 + i,+ i4 = 3 + i,+ i5 = 4 + i,+ i6 = 5 + i,+ i7 = 6 + i,+ i8 = 7 + i,+ i9 = 8 + i;++ const x = particleProps[i];+ const y = particleProps[i2];+ const n = noise3D(x * xOff, y * yOff, tick * zOff) * noiseSteps * TAU;+ const vx = lerp(particleProps[i3], Math.cos(n), 0.5);+ const vy = lerp(particleProps[i4], Math.sin(n), 0.5);+ let life = particleProps[i5];+ const ttl = particleProps[i6];+ const speed = particleProps[i7];+ const x2 = x + vx * speed;+ const y2 = y + vy * speed;+ const radius = particleProps[i8];+ const hue = particleProps[i9];++ drawParticle(x, y, x2, y2, life, ttl, radius, hue, ctx);++ life++;++ particleProps[i] = x2;+ particleProps[i2] = y2;+ particleProps[i3] = vx;+ particleProps[i4] = vy;+ particleProps[i5] = life;++ if (checkBounds(x, y, canvas) || life > ttl) {+ initParticle(i);+ }+ }++ function drawParticle(+ x: number,+ y: number,+ x2: number,+ y2: number,+ life: number,+ ttl: number,+ radius: number,+ hue: number,+ ctx: CanvasRenderingContext2D,+ ) {+ ctx.save();+ ctx.lineCap = "round";+ ctx.lineWidth = radius;+ ctx.strokeStyle = `hsla(${hue},100%,60%,${fadeInOut(life, ttl)})`;+ ctx.beginPath();+ ctx.moveTo(x, y);+ ctx.lineTo(x2, y2);+ ctx.stroke();+ ctx.closePath();+ ctx.restore();+ }++ function checkBounds(x: number, y: number, canvas: HTMLCanvasElement) {+ return x > canvas.width || x < 0 || y > canvas.height || y < 0;+ }++ function resize(canvas: HTMLCanvasElement) {+ const { innerWidth, innerHeight } = window;++ canvas.width = innerWidth;+ canvas.height = innerHeight;++ center[0] = 0.5 * canvas.width;+ center[1] = 0.5 * canvas.height;+ }++ function renderGlow(+ canvas: HTMLCanvasElement,+ ctx: CanvasRenderingContext2D,+ ) {+ ctx.save();+ ctx.filter = "blur(8px) brightness(200%)";+ ctx.globalCompositeOperation = "lighter";+ ctx.drawImage(canvas, 0, 0);+ ctx.restore();++ ctx.save();+ ctx.filter = "blur(4px) brightness(200%)";+ ctx.globalCompositeOperation = "lighter";+ ctx.drawImage(canvas, 0, 0);+ ctx.restore();+ }++ function renderToScreen(+ canvas: HTMLCanvasElement,+ ctx: CanvasRenderingContext2D,+ ) {+ ctx.save();+ ctx.globalCompositeOperation = "lighter";+ ctx.drawImage(canvas, 0, 0);+ ctx.restore();+ }++ function handleResize() {+ const canvas = canvasRef.current;+ if (canvas) {+ resize(canvas);+ }+ }++ useEffect(() => {+ setup();+ window.addEventListener("resize", handleResize);++ return () => {+ window.removeEventListener("resize", handleResize);+ if (animationFrameId.current) {+ cancelAnimationFrame(animationFrameId.current);+ }+ };+ }, []);++ return (+ <div className={cn("relative h-full w-full", props.containerClassName)}>+ <motion.div+ initial={{ opacity: 0 }}+ animate={{ opacity: 1 }}+ ref={containerRef}+ className="absolute inset-0 z-0 flex h-full w-full items-center justify-center bg-transparent"+ >+ <canvas ref={canvasRef}></canvas>+ </motion.div>++ <div className={cn("relative z-10", props.className)}>+ {props.children}+ </div>+ </div>+ );+}diff --git a/autogpt_platform/frontend/src/playwright/pages/login.page.ts b/autogpt_platform/frontend/src/playwright/pages/login.page.tsindex e5aab2d678..8149c6b75e 100644--- a/autogpt_platform/frontend/src/playwright/pages/login.page.ts+++ b/autogpt_platform/frontend/src/playwright/pages/login.page.ts@@ -39,7 +39,7 @@ export class LoginPage {// Wait for the button to be readyconst loginButton = this.page.getByRole("button", {- name: "Login",+ name: "Log in",exact: true,});await loginButton.waitFor({ state: "visible" });diff --git a/autogpt_platform/frontend/tailwind.config.ts b/autogpt_platform/frontend/tailwind.config.tsindex 6b6fff3f41..e12b1819c3 100644--- a/autogpt_platform/frontend/tailwind.config.ts+++ b/autogpt_platform/frontend/tailwind.config.ts@@ -182,6 +182,10 @@ const config = {"60%": { transform: "translateX(-3px)" },"80%": { transform: "translateX(3px)" },},+ aurora: {+ "0%": { backgroundPosition: "50% 50%, 50% 50%" },+ "100%": { backgroundPosition: "350% 50%, 350% 50%" },+ },},animation: {"accordion-down": "accordion-down 0.2s ease-out",@@ -190,6 +194,7 @@ const config = {shimmer: "shimmer 4s ease-in-out infinite",loader: "loader 1s infinite",shake: "shake 0.5s ease-in-out",+ aurora: "aurora 60s linear infinite",},transitionDuration: {"2000": "2000ms",