Skip to content

Fix Cloudflare deploy and enhance site structure and SEO - #15

Merged
saurabh73 merged 2 commits into
mainfrom
dev
Aug 9, 2026
Merged

saurabh73 merged 2 commits into
mainfrom
dev

Conversation

@saurabh73

Copy link
Copy Markdown
Contributor

No description provided.

saurabh73 and others added 2 commits May 26, 2026 20:04
Cloudflare deploy was failing because the auto-generated WORKER_SELF_REFERENCE
binding pointed at a worker name that did not exist. Commit explicit configs
so the worker name and self-reference both match the existing "website" worker.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* feat(site): careers page, motion fixes, route-matched skeletons

Careers
- Replace the /careers redirect stub with a real page mirroring /products:
  section header, .job-grid of job cards, and an empty fallback.
- Remove the duplicated #careers section from the home page along with its now
  dead code (getCareers, typeLabels, careersQuery import).
- Stop the nav script intercepting /careers as a scroll-to-anchor, so the link
  actually navigates. Add /careers to the sitemap.

Motion
- Animate transform instead of gap on .link-inline and .back-link, so hover no
  longer triggers layout.
- Neutralise hover motion under (hover: none)/(pointer: coarse); touch taps no
  longer leave cards and buttons stuck in their lifted state. Exclude
  .nav-active from the underline collapse so the active link keeps its rule.
- Move the skeleton shimmer from background-position to a composited ::after
  transform.
- Narrow the reduced-motion blanket rule: keep colour/opacity feedback at 150ms,
  drop only movement, and give skeletons a non-moving loading pulse.
- Give the mobile menu an interruptible exit instead of display:none.
- Add press feedback to clickable cards; calibrate the hero status pulse.
- Add entry animations for contact-form field errors and status alerts, and
  cross-fade the theme-toggle icons instead of swapping display.

Scroll reveal
- Staggered entrance for the home page's below-fold grids, scoped to
  .services-grid and .client-grid only; content stays visible without JS and
  under reduced motion.
- Rebind on soft navigation. next/link does not re-fire DOMContentLoaded, so a
  revisit rendered fresh grid nodes that CSS hid with nothing observing them.
- Track bound nodes in a WeakSet rather than a data attribute, which was causing
  a React hydration mismatch.

Skeletons
- Add route-matched loading.js for blog, products and careers; the single root
  skeleton promised the wrong column count everywhere and cover images on
  /careers, which has none. Column geometry now matches each real grid.

Copy and consistency
- Remove em-dashes and en-dashes from user-visible strings.
- One label per CTA intent ("Start a project"); trim hero subtext.
- Comma-separate product platforms; align client-card radius with other cards.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* add graphify

* feat(site): about page, view transitions, footer/nav rework, dead-code sweep

Pages and navigation
- Add /about (journey, address, registration details) and link it from the
  top nav and footer. Registration rows with no value are skipped, so the
  GSTIN line stays out until a real number is supplied.
- Replace Services and Clients in the top nav with About. Both routes stay
  live: the hero CTA and the 404 page still link to them.
- Rebuild the footer as two weighted clusters (brand + copyright / socials +
  legal) so it balances at every breakpoint.

Motion
- Add page transitions via React <ViewTransition> and transitionTypes.
  Lateral navigation is strictly sequential rather than a cross-fade: with
  72px display headlines, overlapping snapshots put two of them on top of
  each other. Nav and footer are pinned as persistent chrome.
- Scroll-driven ghost letterforms on the value cards, keyed to a named
  view-timeline (an ancestor with overflow:hidden breaks bare view()).
- Drop the route skeletons; they read as a flash against the transitions.

Platform
- Upgrade to Next 16.3. styled-components is now an explicit dependency
  rather than a pruned peer of sanity.
- Remove the OpenNext and Wrangler config along with the Cloudflare-only
  assumptions in the contact route.
- Allow SVG through next/image, sandboxed and served as an attachment under
  a script-blocking CSP. Client logos are SVG wordmarks and were 400ing.

Cleanup
- Stop fetching Bricolage Grotesque and Instrument Sans. Both were requested
  on every page load but never referenced; sans and display resolve to the
  self-hosted Satoshi. Only the mono face is still fetched.
- Remove careerQuery and careerSlugsQuery: no careers detail route consumes
  them and they are absent from the sitemap.
- Correct three comments that no longer matched the code, including one
  claiming the view-transition recipe was copied unmodified when the lateral
  case had been rewritten, and one describing the Cloudflare runtime.
- Delete a stray screenshot and the orphaned .dev.vars ignore rule.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* build: add skills restore step

The agent skills live in .agents/skills/ with symlinks from .claude/skills/.
Both are gitignored (7.2M of third-party markdown), so a fresh clone has none
of the 74 skills that skills-lock.json records.

scripts/restore-skills.mjs rebuilds both directories from the lock. Skills are
grouped by source repository and each repo is fetched once as a tarball, so a
full restore is six requests and about seven seconds rather than one request
per file. Re-running touches the network only when something is missing, and
rebuilds just the symlinks when .claude/ is lost but .agents/ survives.

Exposed as `npm run skills:restore` and `npm run skills:check`. Deliberately
not wired into npm's prepare lifecycle: it would put a network fetch in the
path of every npm install, and nothing in the site build depends on it.

The lock records a content hash but no commit, so a restore takes whatever is
on each default branch that day; 51 of the 74 already differ from their
recorded hash. The script reports that count rather than treating it as a
failure, and honours an optional per-entry "ref" for pinning a commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* build: run skills restore from the prepare lifecycle

`npm install` and `npm ci` now restore any missing skills automatically.

prepare invokes the restore with a new --soft flag, which downgrades every
failure path to a warning and exits 0. Skills are developer tooling that
nothing in the site build reads, so an unreachable GitHub should not be able
to fail an install; `npm run skills:restore` still exits non-zero so a
deliberate run reports real failures.

The restore already no-ops when nothing is missing, so a repeat install pays
about a second and makes no network requests.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* chore(ci): audit fix

* fix(seo): restore indexation, per-page metadata, and crawl hygiene

The root layout set an absolute `alternates.canonical`. Next inherits any
metadata field a child does not redefine, so /about, /blog, /products,
/careers, /privacy and /terms every one emitted a canonical pointing at the
homepage, declaring themselves duplicates of it. Resolved with `canonical:
'./'`, which resolves against the current pathname; verified across all eight
routes in a production render.

The same inheritance was serving the homepage og:title and og:url on those six
pages, so every share of a blog or careers link advertised the homepage. Each
route now builds its own Open Graph block through lib/seo.js. That helper
exists because Next replaces `openGraph` wholesale rather than deep-merging it,
so declaring it per page silently drops the image contributed by
app/opengraph-image.js — /contact had already lost its og:image this way.

/blog, /products and /careers are empty by design pre-launch. Rather than hand
-removing them, they noindex themselves and drop out of the sitemap while their
CMS query returns nothing, and reverse automatically on first publish. Both
conditions require the fetch to have succeeded: an outage must not deindex a
page that really has content.

productSlugsQuery lacked the `featured == true` filter that the /products
listing applies, so every unfeatured product would have received an indexable,
sitemap-submitted detail page that nothing linked to. A listing filter and an
indexation filter should not disagree by accident.

Also:
- /services and /clients redirect 308 rather than 307; these consolidations are
  permanent and only a permanent status passes the signal on.
- /studio is noindex via a server layout, the page itself being a Client
  Component. The robots rule was /studio/, which never matched the bare path
  that actually serves the CMS.
- robots.txt moves to app/robots.js so the crawl rules cannot drift from
  sitemap.js.
- Sitemap carries real _updatedAt timestamps; stamping every URL with the build
  time claimed all eight pages changed on every deploy. CMS failures log
  instead of being swallowed by a bare catch.
- JetBrains Mono moves to next/font, removing a render-blocking stylesheet
  request to fonts.googleapis.com from every page.
- Organization schema gains email, foundingDate and a contactPoint with
  areaServed. It stays Organization rather than becoming a LocalBusiness
  subtype: the registered address is in Bengaluru but the market is not, so
  local-pack optimisation would target the wrong audience.
- title.template replaces the brand suffix repeated across seven files.
  Rendered titles are unchanged.
- /privacy and /terms had no description and were inheriting the homepage's.
- Empty-string meta descriptions become undefined, which omits the tag instead
  of shipping a deliberate blank.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@netlify

netlify Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for appweave failed. Why did it fail? →

Name Link
🔨 Latest commit e060f5e
🔍 Latest deploy log https://app.netlify.com/projects/appweave/deploys/6a78a935099a2b690d4a7dd4

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3feea86c-754b-4ef5-a942-a96629dfbdd5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@saurabh73
saurabh73 merged commit 7e5fcd4 into main Aug 9, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant