diff --git a/README.ja.md b/README.ja.md index 5d1c8f5ebb..9dc6d5b74c 100644 --- a/README.ja.md +++ b/README.ja.md @@ -59,7 +59,7 @@ - +
Hoplite
Cloud coding agents
Paseo のスポンサーになるEncore
Encore lets AI agents ship to production safely, at scale, in your own cloud.
Paseo のスポンサーになる
diff --git a/README.ko.md b/README.ko.md index 7f2098221d..cc736f2a27 100644 --- a/README.ko.md +++ b/README.ko.md @@ -53,7 +53,7 @@ - +
Hoplite
Cloud coding agents
Paseo 스폰서 되기Encore
Encore lets AI agents ship to production safely, at scale, in your own cloud.
Paseo 스폰서 되기
diff --git a/README.md b/README.md index 1eaa9d3218..358f1e6619 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Paseo is an open source agentic development environment for desktop, mobile, web - +
Hoplite
Cloud coding agents
Become a sponsorEncore
Encore lets AI agents ship to production safely, at scale, in your own cloud.
Become a sponsor
diff --git a/README.zh-CN.md b/README.zh-CN.md index c1a2e6a701..119c64570c 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -59,7 +59,7 @@ - +
Hoplite
Cloud coding agents
成为 Paseo 赞助商Encore
Encore lets AI agents ship to production safely, at scale, in your own cloud.
成为 Paseo 赞助商
diff --git a/packages/website/e2e/sponsors.spec.ts b/packages/website/e2e/sponsors.spec.ts index 4aa15ec413..2ff4f78332 100644 --- a/packages/website/e2e/sponsors.spec.ts +++ b/packages/website/e2e/sponsors.spec.ts @@ -1,3 +1,4 @@ +import { SPONSORS, sponsorHref } from "../src/data/sponsors"; import { expect, test } from "./fixtures"; const PAGES = ["/", "/docs/connectivity", "/changelog"]; @@ -7,11 +8,13 @@ for (const path of PAGES) { await page.goto(path); const sponsors = page.getByRole("region", { name: "Sponsors", exact: true }); - await expect(sponsors.getByRole("link", { name: "Hoplite" })).toHaveAttribute( - "href", - "https://hoplite.sh/?utm_source=paseo&utm_medium=website&utm_campaign=sponsor", - ); - await expect(sponsors.getByText("Cloud coding agents", { exact: true })).toBeVisible(); + for (const sponsor of SPONSORS) { + await expect(sponsors.getByRole("link", { name: sponsor.name })).toHaveAttribute( + "href", + sponsorHref(sponsor, "website"), + ); + await expect(sponsors.getByText(sponsor.description, { exact: true })).toBeVisible(); + } await expect(sponsors.getByRole("link", { name: "Become a sponsor" })).toHaveAttribute( "href", "/sponsor#spot", diff --git a/packages/website/public/sponsors/encore-on-dark.svg b/packages/website/public/sponsors/encore-on-dark.svg new file mode 100644 index 0000000000..b36bb54a28 --- /dev/null +++ b/packages/website/public/sponsors/encore-on-dark.svg @@ -0,0 +1,2 @@ + + diff --git a/packages/website/public/sponsors/encore-on-light.svg b/packages/website/public/sponsors/encore-on-light.svg new file mode 100644 index 0000000000..f29c569992 --- /dev/null +++ b/packages/website/public/sponsors/encore-on-light.svg @@ -0,0 +1,2 @@ + + diff --git a/packages/website/src/components/sponsorship.tsx b/packages/website/src/components/sponsorship.tsx index 7fc8382bf4..0e1b8da744 100644 --- a/packages/website/src/components/sponsorship.tsx +++ b/packages/website/src/components/sponsorship.tsx @@ -267,7 +267,7 @@ export function HomepageSponsorsSection() {
-