Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pnpm build
pnpm preview
```

The output is `apps/frontend/solidcraft-landing/dist/`. Preview runs at [localhost:4347](http://localhost:4347). Hosting is static files plus one small proxy, `public/_worker.js`, that serves `/app-rc/` and `/app-edge/` from docs.solidcraft.io; there is no other server runtime and no database.
The output is `apps/frontend/solidcraft-landing/dist/`. Preview runs at [localhost:4347](http://localhost:4347). Hosting requires only static files; there is no server runtime or database.

### Cloudflare Pages

Expand Down
10 changes: 4 additions & 6 deletions apps/frontend/solidcraft-landing/public/_redirects
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/app https://docs.solidcraft.io/app 302
/app/ https://docs.solidcraft.io/app 302
/app-rc https://docs.solidcraft.io/app-rc/ 302
/app-rc/ https://docs.solidcraft.io/app-rc/ 302
/app-edge https://docs.solidcraft.io/app-edge/ 302
/app-edge/ https://docs.solidcraft.io/app-edge/ 302
/app https://app.solidcraft.io/ 302
/app/ https://app.solidcraft.io/ 302
/app-rc https://app-rc.solidcraft.io/ 302
/app-rc/ https://app-rc.solidcraft.io/ 302
/downloads/ /download/ 301
/github/ https://github.com/tangency-labs/solidcraft 302
5 changes: 0 additions & 5 deletions apps/frontend/solidcraft-landing/public/_routes.json

This file was deleted.

31 changes: 0 additions & 31 deletions apps/frontend/solidcraft-landing/public/_worker.js

This file was deleted.

2 changes: 1 addition & 1 deletion apps/frontend/solidcraft-landing/public/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SolidCore is a separate geometry-kernel project under development. Its progress
- [SolidCraft](https://solidcraft.io/): Project overview.
- [Features](https://solidcraft.io/features/): Modeling tools and workflows.
- [Downloads](https://solidcraft.io/download/): Desktop packages for Windows, macOS, Linux, and FreeBSD.
- [Browser app](https://solidcraft.io/app): Stable entry point for using SolidCraft in a browser.
- [Browser app](https://app.solidcraft.io/): Stable entry point for using SolidCraft in a browser.
- [MCP and AI agents](https://solidcraft.io/mcp/): Overview of local agent workflows, setup, and permissions.

## Source and releases
Expand Down
9 changes: 1 addition & 8 deletions apps/frontend/solidcraft-landing/scripts/validate-output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,7 @@ async function walk(dir: string) {
}
}
await walk("dist");
// The one server piece is the same-site proxy for /app-rc/ and /app-edge/ (public/_worker.js).
if (
files.some(
(file) =>
file !== "dist/_worker.js" &&
/(?:_worker\.js|server\/|functions\/)/.test(file),
)
)
if (files.some((file) => /(?:_worker\.js|server\/|functions\/)/.test(file)))
throw new Error("Unexpected server runtime.");
if (files.length >= 20_000)
throw new Error("Cloudflare Pages file-count budget exceeded.");
Expand Down
19 changes: 10 additions & 9 deletions apps/frontend/solidcraft-landing/src/components/Actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,21 @@ export default function Actions({
</a>
{versions && (
<p className="small muted" style={{ flexBasis: "100%" }}>
Other versions to try:{" "}
Other versions:{" "}
<a className="text-link" href={site.appRc}>
release candidate
try the release candidate
</a>{" "}
or{" "}
<a className="text-link" href={site.appEdge}>
latest build
</a>{" "}
in your browser, or{" "}
<a className="text-link" href={site.rcDownloads}>
pre-release desktop downloads
download it
</a>
. It can break, and designs saved in it may not open in the stable
version. Designs you saved in the browser before November 3 are still
at{" "}
<a className="text-link" href="https://docs.solidcraft.io/app/">
the old address
</a>
. These can break, and designs saved in them may not open in the
stable version.
.
</p>
)}
</div>
Expand Down
5 changes: 2 additions & 3 deletions apps/frontend/solidcraft-landing/src/data/site.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
export const site = {
name: "SolidCraft",
url: "https://solidcraft.io",
app: "https://solidcraft.io/app",
app: "https://app.solidcraft.io/",
rcDownloads: "/download/#release-candidate",
appRc: "https://solidcraft.io/app-rc",
appEdge: "https://solidcraft.io/app-edge",
appRc: "https://app-rc.solidcraft.io/",
discord: "/discord",
discordInvite: "https://discord.gg/FtU4NQNVDH",
docs: "https://docs.solidcraft.io/",
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/solidcraft-landing/src/data/source-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"revision": "16c5ad9cec67741ab00a41b75b18dfa7985e70ef"
},
"applicationTests": "not-executed",
"destinationPolicy": "Browser links use https://solidcraft.io/app, temporarily redirected to https://docs.solidcraft.io/app; documentation uses https://docs.solidcraft.io/."
"destinationPolicy": "Browser links use https://app.solidcraft.io/; documentation uses https://docs.solidcraft.io/."
}
8 changes: 3 additions & 5 deletions apps/frontend/solidcraft-landing/src/pages/privacy.astro
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,9 @@ import ArticleLayout from "../layouts/ArticleLayout.astro";
your IP address and ordinary request headers. The result is kept in your
browser&rsquo;s local storage for five minutes, and the pages work if
storage or GitHub is unavailable. SolidCore progress pages likewise fetch
public reports from tangency-labs.github.io. The release candidate and
latest-build web apps at /app-rc/ and /app-edge/ are fetched from GitHub
Pages through Cloudflare, which passes on your request headers. Download
links go straight to GitHub release files, and this site adds no tracking
parameters. GitHub handles those requests under its{" "}
public reports from tangency-labs.github.io. Download links go straight to
GitHub release files, and this site adds no tracking parameters. GitHub
handles those requests under its{" "}
<a
href="https://docs.github.com/site-policy/privacy-policies/github-general-privacy-statement"
>
Expand Down
5 changes: 1 addition & 4 deletions apps/frontend/solidcraft-landing/tests/browser/site.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,8 @@ test("hero actions stay visible and layouts reflow at representative widths", as
actions.getByRole("link", { name: "Try in your browser" }),
).toHaveAttribute("href", site.app);
await expect(
actions.getByRole("link", { name: "release candidate" }),
actions.getByRole("link", { name: "try the release candidate" }),
).toHaveAttribute("href", site.appRc);
await expect(
actions.getByRole("link", { name: "latest build" }),
).toHaveAttribute("href", site.appEdge);
expect(
await page.evaluate(
() => document.documentElement.scrollWidth <= window.innerWidth,
Expand Down
Loading