@@ -78,43 +78,62 @@ const Page = async (props: {
78
78
< div className = "absolute top-10x w-full" >
79
79
< HealthCheckBanner />
80
80
</ div >
81
- < div className = "min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8" >
82
- < div >
83
- < Logo height = { 64 } width = { 64 } className = "mx-auto w-fit" />
84
- { authUrl && authTypeMetadata && (
85
- < >
86
- < h2 className = "text-center text-xl text-strong font-bold mt-6" >
87
- Log In to Eve< sup className = "ai-superscript" > AI</ sup >
88
- </ h2 >
89
81
90
- < SignInButton
91
- authorizeUrl = { authUrl }
92
- authType = { authTypeMetadata ?. authType }
93
- />
94
- </ >
95
- ) }
96
- { authTypeMetadata ?. authType === "basic" && (
97
- < CardSection className = "mt-4 w-96" >
98
- < div className = "flex" >
99
- < Title className = "mb-2 mx-auto font-bold" >
100
- Log In to Eve< sup className = "ai-superscript" > AI</ sup >
101
- </ Title >
102
- </ div >
103
- < EmailPasswordForm />
104
- < div className = "flex" >
105
- < Text className = "mt-4 mx-auto" >
106
- Don't have an account?{ " " }
107
- < Link href = "/auth/signup" className = "text-link font-medium" >
108
- Create an account
109
- </ Link >
110
- </ Text >
111
- </ div >
112
- </ CardSection >
113
- ) }
114
- </ div >
82
+ < div className = "flex flex-col w-full justify-center" >
83
+ { authUrl && authTypeMetadata && (
84
+ < >
85
+ < h2 className = "text-center text-xl text-strong font-bold" >
86
+ < LoginText />
87
+ </ h2 >
88
+
89
+ < SignInButton
90
+ authorizeUrl = { authUrl }
91
+ authType = { authTypeMetadata ?. authType }
92
+ />
93
+ </ >
94
+ ) }
95
+
96
+ { authTypeMetadata ?. authType === "cloud" && (
97
+ < div className = "mt-4 w-full justify-center" >
98
+ < div className = "flex items-center w-full my-4" >
99
+ < div className = "flex-grow border-t border-gray-300" > </ div >
100
+ < span className = "px-4 text-gray-500" > or</ span >
101
+ < div className = "flex-grow border-t border-gray-300" > </ div >
102
+ </ div >
103
+ < EmailPasswordForm shouldVerify = { true } />
104
+
105
+ < div className = "flex" >
106
+ < Text className = "mt-4 mx-auto" >
107
+ Don't have an account?{ " " }
108
+ < Link href = "/auth/signup" className = "text-link font-medium" >
109
+ Create an account
110
+ </ Link >
111
+ </ Text >
112
+ </ div >
113
+ </ div >
114
+ ) }
115
+
116
+ { authTypeMetadata ?. authType === "basic" && (
117
+ < CardSection className = "mt-4 w-96" >
118
+ < div className = "flex" >
119
+ < Title className = "mb-2 mx-auto font-bold" >
120
+ < LoginText />
121
+ </ Title >
122
+ </ div >
123
+ < EmailPasswordForm />
124
+ < div className = "flex" >
125
+ < Text className = "mt-4 mx-auto" >
126
+ Don't have an account?{ " " }
127
+ < Link href = "/auth/signup" className = "text-link font-medium" >
128
+ Create an account
129
+ </ Link >
130
+ </ Text >
131
+ </ div >
132
+ </ CardSection >
133
+ ) }
115
134
</ div >
116
135
</ AuthFlowContainer >
117
136
) ;
118
137
} ;
119
138
120
- export default Page ;
139
+ export default Page ;
0 commit comments