mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
feat(website): add Encore as a company sponsor
Encore's wordmark is bolder than Hoplite's lockup, so its SVGs pad the official paths into a box that puts the "E" mark at the Hoplite mascot's height on a shared baseline. Captions now wrap at 18rem and the row aligns to the top, so a sponsor's sentence-length tagline wraps under its logo instead of pushing other logos and the invitation onto new rows.
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center" width="33%"><a href="https://hoplite.sh/?utm_source=paseo&utm_medium=readme&utm_campaign=sponsor"><picture><source media="(prefers-color-scheme: dark)" srcset="packages/website/public/sponsors/hoplite-on-dark.svg"><img src="packages/website/public/sponsors/hoplite-on-light.svg" alt="Hoplite" height="40"></picture></a><br><sub>Cloud coding agents</sub></td>
|
||||
<td align="center" width="33%"><a href="https://paseo.sh/sponsor">Paseo のスポンサーになる</a></td>
|
||||
<td align="center" width="33%"><a href="https://encore.dev/?utm_source=paseo&utm_medium=readme&utm_campaign=sponsor"><picture><source media="(prefers-color-scheme: dark)" srcset="packages/website/public/sponsors/encore-on-dark.svg"><img src="packages/website/public/sponsors/encore-on-light.svg" alt="Encore" height="40"></picture></a><br><sub>Encore lets AI agents ship to production safely, at scale, in your own cloud.</sub></td>
|
||||
<td align="center" width="33%"><a href="https://paseo.sh/sponsor">Paseo のスポンサーになる</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center" width="33%"><a href="https://hoplite.sh/?utm_source=paseo&utm_medium=readme&utm_campaign=sponsor"><picture><source media="(prefers-color-scheme: dark)" srcset="packages/website/public/sponsors/hoplite-on-dark.svg"><img src="packages/website/public/sponsors/hoplite-on-light.svg" alt="Hoplite" height="40"></picture></a><br><sub>Cloud coding agents</sub></td>
|
||||
<td align="center" width="33%"><a href="https://paseo.sh/sponsor">Paseo 스폰서 되기</a></td>
|
||||
<td align="center" width="33%"><a href="https://encore.dev/?utm_source=paseo&utm_medium=readme&utm_campaign=sponsor"><picture><source media="(prefers-color-scheme: dark)" srcset="packages/website/public/sponsors/encore-on-dark.svg"><img src="packages/website/public/sponsors/encore-on-light.svg" alt="Encore" height="40"></picture></a><br><sub>Encore lets AI agents ship to production safely, at scale, in your own cloud.</sub></td>
|
||||
<td align="center" width="33%"><a href="https://paseo.sh/sponsor">Paseo 스폰서 되기</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -58,7 +58,7 @@ Paseo is an open source agentic development environment for desktop, mobile, web
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center" width="33%"><a href="https://hoplite.sh/?utm_source=paseo&utm_medium=readme&utm_campaign=sponsor"><picture><source media="(prefers-color-scheme: dark)" srcset="packages/website/public/sponsors/hoplite-on-dark.svg"><img src="packages/website/public/sponsors/hoplite-on-light.svg" alt="Hoplite" height="56"></picture></a><br><sub>Cloud coding agents</sub></td>
|
||||
<td align="center" width="33%"><a href="https://paseo.sh/sponsor">Become a sponsor</a></td>
|
||||
<td align="center" width="33%"><a href="https://encore.dev/?utm_source=paseo&utm_medium=readme&utm_campaign=sponsor"><picture><source media="(prefers-color-scheme: dark)" srcset="packages/website/public/sponsors/encore-on-dark.svg"><img src="packages/website/public/sponsors/encore-on-light.svg" alt="Encore" height="56"></picture></a><br><sub>Encore lets AI agents ship to production safely, at scale, in your own cloud.</sub></td>
|
||||
<td align="center" width="33%"><a href="https://paseo.sh/sponsor">Become a sponsor</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center" width="33%"><a href="https://hoplite.sh/?utm_source=paseo&utm_medium=readme&utm_campaign=sponsor"><picture><source media="(prefers-color-scheme: dark)" srcset="packages/website/public/sponsors/hoplite-on-dark.svg"><img src="packages/website/public/sponsors/hoplite-on-light.svg" alt="Hoplite" height="40"></picture></a><br><sub>Cloud coding agents</sub></td>
|
||||
<td align="center" width="33%"><a href="https://paseo.sh/zh-CN/sponsor">成为 Paseo 赞助商</a></td>
|
||||
<td align="center" width="33%"><a href="https://encore.dev/?utm_source=paseo&utm_medium=readme&utm_campaign=sponsor"><picture><source media="(prefers-color-scheme: dark)" srcset="packages/website/public/sponsors/encore-on-dark.svg"><img src="packages/website/public/sponsors/encore-on-light.svg" alt="Encore" height="40"></picture></a><br><sub>Encore lets AI agents ship to production safely, at scale, in your own cloud.</sub></td>
|
||||
<td align="center" width="33%"><a href="https://paseo.sh/zh-CN/sponsor">成为 Paseo 赞助商</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="437" height="129" viewBox="-7.80 -26.86 436.96 129.17" fill="none" role="img" aria-label="Encore"><path d="M389.225 28.2945C380.967 28.2153 375.885 33.2877 377.156 45.8102C384.381 42.9569 391.765 39.5489 399.15 35.4276C397.006 29.0078 391.448 28.2945 389.225 28.2945ZM392.401 81C371.518 80.8415 358.576 67.5264 358.576 46.1272C358.576 24.9658 370.645 11.8092 390.098 11.8092C406.455 11.8092 416.697 22.0333 419.794 41.3718C408.519 48.8219 395.974 55.4002 382.793 60.4726C382.793 60.4726 386.207 62.9296 393.274 62.8503H419V81H392.401ZM192.468 81V41.8474C192.468 33.0499 190.086 30.5137 181.908 30.5137H173.174V81H154.832V12.6018H183.973C201.997 12.6018 210.731 20.8444 210.731 37.8845V81H192.468ZM248.287 81C227.326 81 214.304 68.0812 214.304 46.999C214.304 25.7583 227.246 12.681 248.129 12.681H256.069V31.3855H249.399C239.077 31.544 233.201 37.2505 233.201 47.0783C233.201 56.589 239.077 62.137 249.399 62.2162H256.386V81H248.287ZM323.004 81V37.8845C323.004 20.8444 331.738 12.6018 349.762 12.6018H358.258V30.5137H351.906C343.728 30.5137 341.346 33.0499 341.346 41.8474V81H323.004ZM121.007 28.2945C112.75 28.2153 107.668 33.2877 108.938 45.8102C116.164 42.9569 123.548 39.5489 130.933 35.4276C128.789 29.0078 123.231 28.2945 121.007 28.2945ZM124.183 81C103.301 80.8415 90.3585 67.5264 90.3585 46.1272C90.3585 24.9658 102.428 11.8092 121.881 11.8092C138.237 11.8092 148.48 22.0333 151.577 41.3718C140.302 48.8219 127.756 55.4002 114.576 60.4726C114.576 60.4726 117.99 62.9296 125.057 62.8503H150.783V81H124.183ZM72.1757 62.771V81H0V25.9961C11.4338 23.5391 22.7881 20.3689 33.8249 16.4853C47.0055 11.8885 59.7891 6.41977 72.1757 0V20.2896C61.6947 25.362 50.8167 29.8004 39.78 33.684C27.314 38.0431 14.5304 41.5303 1.58802 44.225V44.3836C25.4878 42.1644 48.9905 38.2808 72.1757 32.8914V51.5166C48.9905 56.7476 25.4084 60.4726 1.58802 62.6125V62.771H72.1757ZM257.816 46.7613C257.816 68.7153 269.408 82.3474 288.623 82.3474C307.838 82.3474 319.431 68.7153 319.431 46.7613C319.51 35.1106 316.414 26.0753 310.3 19.9726C304.98 14.5832 297.278 11.6507 288.623 11.6507C279.969 11.6507 272.267 14.5832 266.947 19.9726C260.833 26.1546 257.736 35.1898 257.816 46.7613ZM275.443 47.0783C275.443 36.6957 280.763 29.6419 288.623 29.6419C296.484 29.6419 301.804 36.6164 301.804 47.0783C301.804 57.4609 296.563 64.1977 288.623 64.1977C280.683 64.1977 275.443 57.4609 275.443 47.0783Z" fill="#EEEEE1"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -0,0 +1,2 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="437" height="129" viewBox="-7.80 -26.86 436.96 129.17" fill="none" role="img" aria-label="Encore"><path d="M389.225 28.2945C380.967 28.2153 375.885 33.2877 377.156 45.8102C384.381 42.9569 391.765 39.5489 399.15 35.4276C397.006 29.0078 391.448 28.2945 389.225 28.2945ZM392.401 81C371.518 80.8415 358.576 67.5264 358.576 46.1272C358.576 24.9658 370.645 11.8092 390.098 11.8092C406.455 11.8092 416.697 22.0333 419.794 41.3718C408.519 48.8219 395.974 55.4002 382.793 60.4726C382.793 60.4726 386.207 62.9296 393.274 62.8503H419V81H392.401ZM192.468 81V41.8474C192.468 33.0499 190.086 30.5137 181.908 30.5137H173.174V81H154.832V12.6018H183.973C201.997 12.6018 210.731 20.8444 210.731 37.8845V81H192.468ZM248.287 81C227.326 81 214.304 68.0812 214.304 46.999C214.304 25.7583 227.246 12.681 248.129 12.681H256.069V31.3855H249.399C239.077 31.544 233.201 37.2505 233.201 47.0783C233.201 56.589 239.077 62.137 249.399 62.2162H256.386V81H248.287ZM323.004 81V37.8845C323.004 20.8444 331.738 12.6018 349.762 12.6018H358.258V30.5137H351.906C343.728 30.5137 341.346 33.0499 341.346 41.8474V81H323.004ZM121.007 28.2945C112.75 28.2153 107.668 33.2877 108.938 45.8102C116.164 42.9569 123.548 39.5489 130.933 35.4276C128.789 29.0078 123.231 28.2945 121.007 28.2945ZM124.183 81C103.301 80.8415 90.3585 67.5264 90.3585 46.1272C90.3585 24.9658 102.428 11.8092 121.881 11.8092C138.237 11.8092 148.48 22.0333 151.577 41.3718C140.302 48.8219 127.756 55.4002 114.576 60.4726C114.576 60.4726 117.99 62.9296 125.057 62.8503H150.783V81H124.183ZM72.1757 62.771V81H0V25.9961C11.4338 23.5391 22.7881 20.3689 33.8249 16.4853C47.0055 11.8885 59.7891 6.41977 72.1757 0V20.2896C61.6947 25.362 50.8167 29.8004 39.78 33.684C27.314 38.0431 14.5304 41.5303 1.58802 44.225V44.3836C25.4878 42.1644 48.9905 38.2808 72.1757 32.8914V51.5166C48.9905 56.7476 25.4084 60.4726 1.58802 62.6125V62.771H72.1757ZM257.816 46.7613C257.816 68.7153 269.408 82.3474 288.623 82.3474C307.838 82.3474 319.431 68.7153 319.431 46.7613C319.51 35.1106 316.414 26.0753 310.3 19.9726C304.98 14.5832 297.278 11.6507 288.623 11.6507C279.969 11.6507 272.267 14.5832 266.947 19.9726C260.833 26.1546 257.736 35.1898 257.816 46.7613ZM275.443 47.0783C275.443 36.6957 280.763 29.6419 288.623 29.6419C296.484 29.6419 301.804 36.6164 301.804 47.0783C301.804 57.4609 296.563 64.1977 288.623 64.1977C280.683 64.1977 275.443 57.4609 275.443 47.0783Z" fill="#111111"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -267,7 +267,7 @@ export function HomepageSponsorsSection() {
|
||||
<section aria-labelledby="sponsors-heading">
|
||||
<SectionOpener headingId="sponsors-heading" title={t("sponsor.sponsors")} className="mb-10" />
|
||||
|
||||
<ul className="flex flex-wrap items-center gap-x-14 gap-y-8">
|
||||
<ul className="flex flex-wrap items-start gap-x-14 gap-y-8">
|
||||
{SPONSORS.map((sponsor) => (
|
||||
<li key={sponsor.url}>
|
||||
<a
|
||||
@@ -278,7 +278,9 @@ export function HomepageSponsorsSection() {
|
||||
>
|
||||
<img src={sponsor.logo.onDark} alt={sponsor.name} className="h-12 w-auto" />
|
||||
</a>
|
||||
<p className="mt-2 text-sm text-white/55">{sponsor.description}</p>
|
||||
<p className="mt-2 max-w-72 text-sm text-balance text-white/55">
|
||||
{sponsor.description}
|
||||
</p>
|
||||
</li>
|
||||
))}
|
||||
{open > 0 ? (
|
||||
@@ -315,7 +317,7 @@ const SPONSORS_PLACEMENTS = {
|
||||
heart: "size-6",
|
||||
link: "",
|
||||
logo: "h-14",
|
||||
description: "mt-2 text-sm text-white/55",
|
||||
description: "mt-2 max-w-72 text-sm text-balance text-white/55",
|
||||
button: "h-12 px-5 text-sm",
|
||||
},
|
||||
footer: {
|
||||
@@ -325,7 +327,7 @@ const SPONSORS_PLACEMENTS = {
|
||||
heart: "size-3",
|
||||
link: "opacity-85 transition-opacity hover:opacity-100",
|
||||
logo: "h-9",
|
||||
description: "mt-1.5 text-xs text-white/45",
|
||||
description: "mt-1.5 max-w-72 text-xs text-balance text-white/45",
|
||||
button: "h-9 px-3.5 text-xs",
|
||||
},
|
||||
} as const;
|
||||
@@ -354,7 +356,7 @@ export function SponsorsSection({ placement }: SponsorsSectionProps) {
|
||||
/>
|
||||
{t("sponsor.sponsors")}
|
||||
</h2>
|
||||
<ul className="flex flex-wrap items-center gap-x-14 gap-y-8">
|
||||
<ul className="flex flex-wrap items-start gap-x-14 gap-y-8">
|
||||
{SPONSORS.map((sponsor) => (
|
||||
<li key={sponsor.url}>
|
||||
<a
|
||||
|
||||
@@ -25,7 +25,7 @@ export interface Sponsor {
|
||||
url: string;
|
||||
/** Paths under `public/`, one per ground. Use the sponsor's official lockup. */
|
||||
logo: { onDark: string; onLight: string };
|
||||
/** What the product is, in a few words from the sponsor's own site. Shown under the logo. */
|
||||
/** What the product is, in the sponsor's own words. Shown under the logo, wrapped to its width. */
|
||||
description: string;
|
||||
}
|
||||
|
||||
@@ -39,6 +39,15 @@ export const SPONSORS: ReadonlyArray<Sponsor> = [
|
||||
},
|
||||
description: "Cloud coding agents",
|
||||
},
|
||||
{
|
||||
name: "Encore",
|
||||
url: "https://encore.dev",
|
||||
logo: {
|
||||
onDark: "/sponsors/encore-on-dark.svg",
|
||||
onLight: "/sponsors/encore-on-light.svg",
|
||||
},
|
||||
description: "Encore lets AI agents ship to production safely, at scale, in your own cloud.",
|
||||
},
|
||||
];
|
||||
|
||||
/** Where a sponsor link is shown. Becomes the link's `utm_medium`. */
|
||||
|
||||
Reference in New Issue
Block a user