@@ -22,7 +22,6 @@ import { VideoCarousel } from "./VideoCarousel";
2222import { BlogBanners } from "./BlogBanners" ;
2323import { Book , BookOpen , Building , Code , GraduationCap } from "lucide-react" ;
2424import { ReactComponent as GitpodStrokedSVG } from "../icons/gitpod-stroked.svg" ;
25- import { isGitpodIo } from "../utils" ;
2625import PersonalizedContent from "./PersonalizedContent" ;
2726import { useListenToWorkspacesWSMessages as useListenToWorkspacesStatusUpdates } from "../data/workspaces/listen-to-workspace-ws-messages" ;
2827import { Subheading } from "@podkit/typography/Headings" ;
@@ -211,15 +210,19 @@ const WorkspacesPage: FunctionComponent = () => {
211210 { ! isLoading &&
212211 ( activeWorkspaces . length > 0 || inactiveWorkspaces . length > 0 || searchTerm ? (
213212 < >
214- < div className = { isGitpodIo ( ) ? "!pl-0 app-container flex flex-1 flex-row" : "app-container" } >
213+ < div
214+ className = {
215+ ! isDedicatedInstallation ? "!pl-0 app-container flex flex-1 flex-row" : "app-container"
216+ }
217+ >
215218 < div >
216219 < WorkspacesSearchBar
217220 limit = { limit }
218221 searchTerm = { searchTerm }
219222 onLimitUpdated = { setLimit }
220223 onSearchTermUpdated = { setSearchTerm }
221224 />
222- < ItemsList className = { isGitpodIo ( ) ? "app-container xl:!pr-4 pb-40" : "" } >
225+ < ItemsList className = { ! isDedicatedInstallation ? "app-container xl:!pr-4 pb-40" : "" } >
223226 < div className = "border-t border-gray-200 dark:border-gray-800" > </ div >
224227 { filteredActiveWorkspaces . map ( ( info ) => {
225228 return < WorkspaceEntry key = { info . id } info = { info } /> ;
@@ -284,7 +287,7 @@ const WorkspacesPage: FunctionComponent = () => {
284287 </ ItemsList >
285288 </ div >
286289 { /* Show Educational if user is in gitpodIo */ }
287- { isGitpodIo ( ) && (
290+ { ! isDedicatedInstallation && (
288291 < div className = "max-xl:hidden border-l border-gray-200 dark:border-gray-800 pl-6 pt-5 pb-4 space-y-8" >
289292 < VideoCarousel />
290293 < div className = "flex flex-col gap-2" >
0 commit comments