diff --git a/packages/website/src/components/hub-flow.tsx b/packages/website/src/components/hub-flow.tsx index c0b918f13a..cbe8766105 100644 --- a/packages/website/src/components/hub-flow.tsx +++ b/packages/website/src/components/hub-flow.tsx @@ -42,55 +42,53 @@ const DIAGRAM_DAEMONS = [ const DIAGRAM_CLIENTS = ["desktop", "web", "mobile", "cli"] as const; -/** Compact flow card for the homepage Paseo Hub section. */ +/** Compact flow diagram for the homepage Paseo Hub section, sitting directly on the page background. */ export function HubLandingFlow() { const { t } = useTranslation(); return ( -
-
-
-

- {t("landing.hubSection.flowTriggers")} -

-
- {HUB_TRIGGER_SOURCES.map(({ id, Icon }) => ( -
- - - {t(`hub.sources.${id}.name`)} - -
- ))} -
-
- - - -
-

- - {t("hub.shape.hub")} -

-

{t("hub.shape.hubHosting")}

-
- - - -
-

- {t("landing.hubSection.flowDaemons")} -

-
- {DIAGRAM_DAEMONS.map((daemon) => ( - - ))} -
- - {t("landing.hubSection.flowOpenSession")} +
+
+

+ {t("landing.hubSection.flowTriggers")} +

+
+ {HUB_TRIGGER_SOURCES.map(({ id, Icon }) => ( +
+ + + {t(`hub.sources.${id}.name`)} +
+ ))} +
+
+ + + +
+

+ + {t("hub.shape.hub")} +

+

{t("hub.shape.hubHosting")}

+
+ + + +
+

+ {t("landing.hubSection.flowDaemons")} +

+
+ {DIAGRAM_DAEMONS.map((daemon) => ( + + ))} +
+ + {t("landing.hubSection.flowOpenSession")}
diff --git a/packages/website/src/components/landing-page.tsx b/packages/website/src/components/landing-page.tsx index 72a991ec48..05457eae15 100644 --- a/packages/website/src/components/landing-page.tsx +++ b/packages/website/src/components/landing-page.tsx @@ -10,7 +10,6 @@ import { Braces, Compass, ExternalLink, - FileCode2, Gem, GitFork, GitPullRequest, @@ -19,7 +18,6 @@ import { Merge, Monitor, Puzzle, - Server, Smartphone, Terminal, Users, @@ -883,16 +881,6 @@ function SdkAutomationExample() { ); } -const HUB_HIGHLIGHTS = [ - { key: "machines", Icon: Laptop }, - { key: "authoring", Icon: FileCode2 }, - { key: "hosting", Icon: Server }, -] as const; - -const HUB_HIGHLIGHT_CODE_COMPONENTS = { - code: , -}; - function HubSection() { const { t } = useTranslation(); const localize = useLocalizePath(); @@ -914,27 +902,10 @@ function HubSection() {

-
+
-
- {HUB_HIGHLIGHTS.map(({ key, Icon }) => ( -
- - - - -
- ))} -
- -
+
{t("landing.hubSection.exploreCta")}