Skip to content

feat(web): refresh Pear landing page and footer#1053

Merged
willwashburn merged 1 commit into
mainfrom
worktree-pear-icon-update
Jun 5, 2026
Merged

feat(web): refresh Pear landing page and footer#1053
willwashburn merged 1 commit into
mainfrom
worktree-pear-icon-update

Conversation

@willwashburn
Copy link
Copy Markdown
Member

@willwashburn willwashburn commented Jun 5, 2026

User description

Refreshes the /pear landing page and the site-wide footer.

Pear landing page

  • Brand mark: replaced the green PearMark SVG with the brand-kit blue pear (transparent PNG), tilted ~13° and enlarged in the hero. Used everywhere the old mark appeared (hero + eyebrow/diff marks).
  • Headline: recolored the "team" wordmark to the logo's blue gradient (was blue→green) and fixed the italic glyph being clipped by the background-clip: text box.
  • Hero polish: more padding/breathing room, a tighter benefit-led subheader, and a new note — "Private Beta. MacOS Silicon only. Built on Agent Relay."
  • Product screenshot: now full-bleed; removed the doubled CSS box-shadow (the PNG already carries its own baked shadow); added a CSS scroll-driven zoom that starts at the prior column width and zooms to full width as you scroll (respects prefers-reduced-motion, graceful fallback).
  • Sections: removed the agent-graph section and replaced it with "Run agents on your machine or in the cloud" (local/remote agents + Slack/Linear connections); added a new "See exactly what every agent is burning" cost/usage section.
  • Dropped "broker" from the marketing copy (kept it in the docs where it's the accurate technical term).

Footer (site-wide)

  • Added Pear under Projects.
  • Moved Proactive Agents to the bottom of Resources.
  • Removed Agent Relay MCP from Resources.

Web-only change — no changelog entry per repo convention.

🤖 Generated with Claude Code


CodeAnt-AI Description

Refresh the Pear landing page and site footer

What Changed

  • Replaced the Pear hero mark with the brand-kit pear icon, enlarged and tilted it in the hero, and updated the headline styling so the logo wordmark no longer clips.
  • Tightened the hero copy, added the private beta note, made the product screenshot span the full page width, and removed the extra shadow.
  • Replaced the old graph-style feature section with a clearer view of local and cloud agents, added Slack and Linear as entry points, and added a new cost-and-usage section so users can see token and spend burn.
  • Updated the footer links: added Pear under Projects, moved Proactive Agents to Resources, and removed Agent Relay MCP.
  • Removed “broker” wording from the Pear page and simplified the setup step copy.

Impact

✅ Clearer Pear landing page
✅ Easier to understand local and cloud agent support
✅ More visible spend tracking for long-running agent work

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

- Swap the green PearMark SVG for the brand-kit blue pear (transparent),
  tilted and enlarged in the hero; recolor the "team" wordmark to the
  logo's blue gradient and fix the clipped italic glyph
- Tighten the hero: more breathing room, benefit-led subheader, and a
  "Private Beta. MacOS Silicon only. Built on Agent Relay." note
- Make the product screenshot full-bleed, drop the doubled CSS shadow,
  and add a scroll-driven zoom from the prior column width to full width
- Replace the agent-graph section with "Run agents on your machine or in
  the cloud" (local/remote + Slack/Linear connections) and add a
  "See exactly what every agent is burning" cost/usage section
- Drop "broker" from marketing copy
- Footer: add Pear under Projects, move Proactive Agents to the bottom of
  Resources, and remove Agent Relay MCP

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@willwashburn willwashburn requested a review from khaliqgant as a code owner June 5, 2026 16:11
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented Jun 5, 2026

CodeAnt AI is reviewing your PR.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 5, 2026

Warning

Review limit reached

@willwashburn, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 11 minutes and 21 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4442bccd-c542-4d6e-9b7c-fbe5a2db75dc

📥 Commits

Reviewing files that changed from the base of the PR and between eb55a2b and d1221c7.

⛔ Files ignored due to path filters (1)
  • web/public/brand-kit/pear-icon-transparent.png is excluded by !**/*.png
📒 Files selected for processing (3)
  • web/app/pear/page.tsx
  • web/app/pear/pear.module.css
  • web/components/SiteFooter.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch worktree-pear-icon-update

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 and usage tips.

@willwashburn willwashburn merged commit bc6b982 into main Jun 5, 2026
29 checks passed
@willwashburn willwashburn deleted the worktree-pear-icon-update branch June 5, 2026 16:12
@codeant-ai codeant-ai Bot added the size:L This PR changes 100-499 lines, ignoring generated files label Jun 5, 2026
Comment on lines 160 to 185
.shot {
display: block;
width: 100%;
height: auto;
border-radius: 0.9rem;
box-shadow:
0 40px 80px -40px rgba(22, 40, 59, 0.55),
0 12px 32px -18px rgba(22, 40, 59, 0.4);
transform-origin: 50% 0%;
/* Start at the previous ~64rem column width (0.8 × full-bleed at desktop). */
transform: scale(0.8);
}

/* Start at the old column width, then zoom to full-bleed as the page scrolls. */
@keyframes shotZoom {
from {
transform: scale(0.8);
}
to {
transform: scale(1);
}
}

@media (prefers-reduced-motion: no-preference) {
.shot {
animation: shotZoom linear both;
animation-timeline: scroll(root block);
animation-range: 0 600px;
}
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: The screenshot is permanently scaled down for users who prefer reduced motion, because the base .shot style sets transform: scale(0.8) and only the no-preference media query applies the zoom-to-1 behavior. This leaves reduced-motion users with a non-full-bleed image and inconsistent layout. Move the scale(0.8) start state into the animated branch (or add a prefers-reduced-motion: reduce override to transform: scale(1)). [css layout issue]

Severity Level: Major ⚠️
- ⚠️ Pear hero screenshot never reaches full width for some users.
- ⚠️ Reduced-motion users see inconsistent layout versus others.
- ⚠️ Visual emphasis of product screenshot is noticeably diminished.
Steps of Reproduction ✅
1. Open the Pear landing page component at `web/app/pear/page.tsx:122-176` and note the
hero screenshot element `<img className={s.shot} src=\"/img/pear-app.png\" ... />` defined
at lines `167-174`.

2. Open the styles at `web/app/pear/pear.module.css` and see the base `.shot` rule in the
PR diff at lines `160-167`, which sets `transform-origin: 50% 0%` and `transform:
scale(0.8)` without any override in the default (non-media-query) context.

3. In the same CSS file, observe the scroll-driven animation is only applied inside
`@media (prefers-reduced-motion: no-preference)` at lines `179-185`, which attaches the
`shotZoom` animation but does not change the base `transform` value.

4. Run the app and load `/pear` in a browser where the OS/browser is configured with
`prefers-reduced-motion: reduce` (or simulate this via devtools); the `no-preference`
media query does not match, so `.shot` keeps the static `transform: scale(0.8)` from lines
`160-167`, resulting in the full-bleed `.mockWrap` container (lines `152-158`) displaying
a permanently scaled-down screenshot instead of reaching full width.

Fix in Cursor | Fix in VSCode Claude

(Use Cmd/Ctrl + Click for best experience)

Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** web/app/pear/pear.module.css
**Line:** 160:185
**Comment:**
	*Css Layout Issue: The screenshot is permanently scaled down for users who prefer reduced motion, because the base `.shot` style sets `transform: scale(0.8)` and only the `no-preference` media query applies the zoom-to-1 behavior. This leaves reduced-motion users with a non-full-bleed image and inconsistent layout. Move the `scale(0.8)` start state into the animated branch (or add a `prefers-reduced-motion: reduce` override to `transform: scale(1)`).

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
👍 | 👎

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented Jun 5, 2026

CodeAnt AI finished reviewing your PR.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d1221c72a5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread web/app/pear/page.tsx
// Plain img: the SST/OpenNext image optimizer has no working sharp
// runtime, so next/image's /_next/image endpoint 500s.
// eslint-disable-next-line @next/next/no-img-element
<img className={`${s.pearMark} ${className ?? ''}`} src="/brand-kit/pear-icon-transparent.png" alt="" aria-hidden />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Downscale the pear mark asset before shipping it

On a cold visit to /pear, this replaces the tiny inline SVG mark with a public PNG that the browser loads eagerly; the checked PNG is 2000×2000 and about 992 KiB, while it is rendered at at most ~7.8rem in the hero and ~1rem in the feature labels. Because this deliberately bypasses next/image, there is no runtime resizing/compression, so every first-time visitor pays nearly an extra megabyte for a decorative logo; use a much smaller exported asset or an SVG/WebP variant here.

Useful? React with 👍 / 👎.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

Preview deployed!

Environment URL
Web https://d3vxcu9lsu0wlu.cloudfront.net

This preview will be cleaned up when the PR is merged or closed.

willwashburn added a commit that referenced this pull request Jun 5, 2026
* feat(web): pear proactive section, OG pear logo, mobile hero

Follow-up to #1053 (those follow-up commits missed the squash-merge).

- OG card (/pear/og.png): render the brand-kit blue pear in the lockup
  instead of the old green glyph, with a fail-soft fallback
- Add a "Proactive & connected" section: agents pick up work from Slack,
  Linear, and GitHub events on their own, with a triggers visual
- Mention proactive task pickup in the hero subline
- Mobile hero: keep the pear inline beside the headline, and blow the
  product screenshot up to 200vw anchored top-left so the app UI is legible

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(web): address PR review on pear OG + mobile hero

- Drop the old green pear glyph entirely: the OG lockup always renders the
  brand-kit mark, and the "team" accent uses brand blue (matching the page)
- Bundle the mark in production: add the brand-kit PNG to
  outputFileTracingIncludes for /pear/og.png so the traced standalone build
  can read it (was falling back to the missing/old asset)
- Fold the dual-root probe into one loadAsset(), documenting why both roots
  exist (outputFileTracingRoot is the monorepo root, so cwd differs between
  build and the traced runtime)
- Mobile screenshot: reset transform/animation so it renders a true 200vw on
  every browser instead of 160vw (0.8x) where scroll-timeline is unsupported
- Dedupe .triggerState via `composes: runnerTag`

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant