Set up logansquarelabs.com as a static site on Cloudflare Pages - #1
Draft
JordanLazzaro wants to merge 3 commits into
Draft
Set up logansquarelabs.com as a static site on Cloudflare Pages#1JordanLazzaro wants to merge 3 commits into
JordanLazzaro wants to merge 3 commits into
Conversation
Move the placeholder page into public/ so the deployable site is separated from repo files, and expand it into a homepage describing the lab plus a posts index. Adds a shared stylesheet with light/dark support, a favicon, a 404 page, and robots/sitemap files. Co-authored-by: Jordan Lazzaro <jordantlazzaro@gmail.com>
Point the Pages build output directory at public/ via wrangler.toml, so both the dashboard Git integration and 'wrangler pages deploy' pick it up without extra flags. Add a _headers file for security headers and asset caching. Co-authored-by: Jordan Lazzaro <jordantlazzaro@gmail.com>
Co-authored-by: Jordan Lazzaro <jordantlazzaro@gmail.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
website | 022ea76 | Jul 27 2026, 06:55 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turns the placeholder page into a two-page static site ready to deploy on Cloudflare Pages: a homepage that explains what Logan Square Labs is, and a posts index. No build step, no dependencies, no JavaScript — just HTML and one stylesheet.
What changed
The deployable site now lives in
public/, which keeps repo files like the README out of the deployment and gives Pages a clean output directory to serve.wrangler.tomlmeans the output directory is recorded in the repo, sowrangler pages deployworks with no arguments and the dashboard picks up the same value.Screenshots
Homepage, light and dark (the stylesheet follows
prefers-color-scheme), and the posts page with its empty state:Homepage in light mode
Homepage in dark mode
Posts page
Homepage on mobile
About the copy
The homepage prose is a first draft written around the existing "Exploring the landscape of intelligence." tagline — please edit it to taste. It deliberately avoids claims I could not verify, so there is no location, team, or contact information beyond a link to the GitHub org. Worth considering as follow-ups: an email or social link, and a line about where the name comes from.
The posts page has no posts yet, so it shows "Nothing published yet" rather than filler. The file carries a commented-out example of the list markup, and the README documents the three steps to publish one.
Verified locally
Ran under
wrangler pages dev, which emulates Pages including_headersand its URL handling:/,/posts/,/style.css,/favicon.svg,/robots.txt, and/sitemap.xmlall return 200 with correct content types;/posts308-redirects to/posts/; an unknown path returns 404 with the custom page.html-validatewith no errors, and render with no console errors in headless Chrome.Remaining step (needs Cloudflare account access)
I had no Cloudflare credentials in this environment, so the Pages project itself still has to be created once. In the dashboard: Workers & Pages → Create → Pages → Connect to Git, select this repo, framework preset None, empty build command, build output directory
public, production branchmain. After that, pushes tomainpublish to production and pull requests get preview URLs automatically.Then attach
logansquarelabs.com(andwww) under the project's Custom domains. One thing to expect: the zone currently has proxied apexArecords that do not resolve to a working origin, and Cloudflare will prompt to replace them. Full steps are in the README.If you would rather I do the provisioning and deploy, add a
CLOUDFLARE_API_TOKEN(with Cloudflare Pages: Edit) andCLOUDFLARE_ACCOUNT_IDin Cloud Agents → Secrets and I can finish it from here.To show artifacts inline, enable in settings.