feat(website): replace the Cloud page with Paseo Hub
The Cloud page pitched a hosted multi-user product and collected emails through a signup form. The Hub is a self-hosted service in private beta and the only way in is a Discord DM, so the signup server function and its webhook are deleted rather than repointed. /cloud now 301s to /hub from the worker entry, which already owns the site's permanent path redirects, so old links and search results keep working. The homepage also drops split panels, service proxy, voice, and keyboard shortcuts. They had turned the page into a feature list; it should show what Paseo enables at a high level. Brand and provider icons move into shared modules so the Hub page, the site header, and the landing page each use one copy instead of three.
This commit is contained in:
@@ -45,6 +45,11 @@ export default {
|
||||
return Response.redirect(url.toString(), 301);
|
||||
}
|
||||
|
||||
if (url.pathname === "/cloud" || url.pathname === "/cloud/") {
|
||||
url.pathname = "/hub";
|
||||
return Response.redirect(url.toString(), 301);
|
||||
}
|
||||
|
||||
const altRedirectMatch = url.pathname.match(/^\/docs\/alternatives\/(.+?)\/?$/);
|
||||
if (altRedirectMatch) {
|
||||
url.pathname = `/alternatives/${altRedirectMatch[1]}`;
|
||||
|
||||
Reference in New Issue
Block a user