diff --git a/components/dashboard/src/Login.tsx b/components/dashboard/src/Login.tsx index f1a4dc5a9bc7e1..bd28d0c090365d 100644 --- a/components/dashboard/src/Login.tsx +++ b/components/dashboard/src/Login.tsx @@ -23,11 +23,9 @@ import { cn } from "@podkit/lib/cn"; import { userClient } from "./service/public-api"; import { ProductLogo } from "./components/ProductLogo"; import { useIsDataOps } from "./data/featureflag-query"; -import { LinkButton } from "@podkit/buttons/LinkButton"; -import { IconGitpodEngraved } from "./icons/GitpodEngraved"; -import { IconEarlyAccess } from "./icons/IconEarlyAccess"; -import { useTheme } from "./theme-context"; +import GitpodClassicCard from "./images/gitpod-classic-card.png"; import { LoadingState } from "@podkit/loading/LoadingState"; +import { isGitpodIo } from "./utils"; export function markLoggedIn() { document.cookie = GitpodCookie.generateCookie(window.location.hostname); @@ -145,12 +143,11 @@ type LoginWrapperProps = LoginProps & { const PAYGLoginWrapper: FC = ({ providerFromContext, repoPathname, onLoggedIn }) => { return ( - <> - +
= ({ providerFromContext, repoPath onLoggedIn={onLoggedIn} repoPathname={repoPathname} /> -

- Gitpod Classic will be sunset by April 1, 2025 and superseded by Gitpod Flex -

}
- + + ); }; @@ -212,6 +207,7 @@ const LoginContent = ({ }) => { const { setUser } = useContext(UserContext); const isDataOps = useIsDataOps(); + const isGitpodIoUser = isGitpodIo(); const authProviders = useAuthProviderDescriptions(); const [errorMessage, setErrorMessage] = useState(undefined); @@ -271,7 +267,7 @@ const LoginContent = ({ ); return ( -
+
@@ -284,8 +280,13 @@ const LoginContent = ({ Open a cloud development environment for the repository {repoPathname?.slice(1)} - ) : ( + ) : !isGitpodIoUser ? ( Log in to Gitpod + ) : ( + <> + Log in to Gitpod Classic + Hosted by us + )}
@@ -320,103 +321,39 @@ const LoginContent = ({ ); }; -const LeftPanel = () => { - const { isDark } = useTheme(); - +const RightProductDescriptionPanel = () => { return ( -
+
-
-
-

- - Did you know? - -

-

- We launched a new version of Gitpod in early access. -

-
-
-

- Gitpod Flex + Gitpod Classic

-

- Automated, standardized -
development environments. +

+ Automated, standardized development environments hosted by us in Gitpod’s infrastructure. Users + who joined before October 1, 2024 on non-Enterprise plans are considered Gitpod Classic users.

+
+

+ Please note: Gitpod Classic will discontinued in April 2025 and replaced by{" "} + + Gitpod Flex + + . +

+
- -
    - {[ - { - title: "Self-host in under 3 minutes", - description: - "All your source code, data, and intellectual property stays in your private network.", - }, - { - title: "Local environments to replace Docker Desktop", - description: - "Built-in Linux virtualization to run Dev Container without Docker Desktop on macOS", - }, - { - title: "Automate common development workflows", - description: - "Seed databases, provision infra, runbooks as one-click actions, configure code assistants, etc. ", - }, - { - title: "Dev Container support", - description: - "Eliminate the need to manually install tools, dependencies and editor extensions.", - }, - ].map((feature, index) => ( -
  • - -
    - {feature.title} -

    {feature.description}

    -
    -
  • - ))} -
-
- - Explore - -
-
-
- - - + Gitpod Classic
); }; -const GreenCheckIcon = () => { - return ( -
- - - - -
- ); -}; - const TermsOfServiceAndPrivacyPolicy = () => { return (
diff --git a/components/dashboard/src/images/gitpod-classic-card.png b/components/dashboard/src/images/gitpod-classic-card.png new file mode 100644 index 00000000000000..2aece8dfd2f4f9 Binary files /dev/null and b/components/dashboard/src/images/gitpod-classic-card.png differ