Skip to content

Commit 8afabf7

Browse files
Improve sunset UI: use primary button and remove redundant subheading
Co-authored-by: Ona <[email protected]>
1 parent d672fd4 commit 8afabf7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

components/dashboard/src/Login.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ const LoginContent = ({
304304
) : showSunsetUI ? (
305305
<>
306306
<Heading1>Gitpod Classic has sunset</Heading1>
307-
<Subheading>Continue with Ona</Subheading>
308307
</>
309308
) : !isGitpodIoUser ? (
310309
<Heading1>Log in to Gitpod</Heading1>
@@ -319,15 +318,14 @@ const LoginContent = ({
319318
<div className="w-56 mx-auto flex flex-col space-y-3 items-center">
320319
{showSunsetUI ? (
321320
<>
322-
<LoginButton
321+
<Button
322+
className="w-full"
323323
onClick={() => {
324324
window.location.href = "https://app.ona.com/login";
325325
}}
326326
>
327-
<span className="pt-2 pb-2 mr-3 text-sm my-auto font-medium truncate overflow-ellipsis">
328-
Continue with Ona
329-
</span>
330-
</LoginButton>
327+
Continue with Ona
328+
</Button>
331329
<div className="mt-4 text-center text-sm">
332330
<p className="text-gray-500 dark:text-gray-400">
333331
Need to access your organization?{" "}

0 commit comments

Comments
 (0)