Skip to content

feat(hogs): use @posthog/brand hoggies on product pages - #22642

Closed
rafaeelaudibert wants to merge 1 commit into
hogs/swap-home-imagesfrom
hogs/product-hogs
Closed

rafaeelaudibert wants to merge 1 commit into
hogs/swap-home-imagesfrom
hogs/product-hogs

Conversation

@rafaeelaudibert

Copy link
Copy Markdown
Member

Warning

Draft. Not ready for review. Do not review this PR yet.

This PR is part of a stack that replaces the old hedgehog images on the site with hoggies from @posthog/brand. Each PR in the stack is based on the PR below it.

Summary

This PR replaces the hedgehogs on the product pages with hoggies from @posthog/brand. It changes src/hooks/productData/*.tsx and the six product entries with a hog in src/hooks/useProduct.ts.

A product page shows its hogs in four places:

Field Where it shows
hog The footer of the Pricing view
hogs.mobileHog The Overview hero
hogs.default "Who is it for?", in wide windows only
ai.image "AI prompts"

Notes:

  • Eight products did not have a hog. Each one gets a hog field now.
  • No product page shows the same hoggie twice. I checked 17 product pages at 2200px wide, where "Who is it for?" shows its hog.
  • The AI prompts images show the full hoggie, so the feet and the shadow are not cut.
  • On /support, the lifeguard hoggie is in the hero, and the support team image is in AI prompts.
  • /warehouse used the same hog in the hero and in "Who is it for?" before this change. "Who is it for?" now shows book-pile.

To do before review

  • Add a PR tour.
  • Add a reviewer's guide with before and after screenshots of each changed area: narrow and wide windows, in light and dark mode.

Checks done so far

  • Ran prettier on the changed files. The only differences are formatting problems that are also on master.
  • Loaded changed pages in the dev server (pnpm start). The images load and there are no new console errors. I did not load every page yet.
  • Did not run a production build yet.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the website About the website (beyond just landing pages) label Nov 20, 2026
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Nov 20, 2026 11:43PM

@github-actions

Copy link
Copy Markdown
Contributor

Bundle report

Total JS (gzip)

12.22 MiB (+6.7 KiB / +0.1%)

Largest changed named chunks
Chunk Gzip Δ vs master
72c16e44.js 194.1 KiB new
691975d9.js 144.7 KiB new
c2407ec9.js 137.6 KiB new
caf6002f.js 134.3 KiB new
ad0c64d8.js 94.7 KiB new
61dd5290.js 94.6 KiB new
bcb3ab30.js 89.7 KiB new
f3ab6fe8.js 88.9 KiB new
a764a9fc.js 88.8 KiB new
e18edd75.js 85.1 KiB new
dcbf6b45.js 85.1 KiB new
3c7d1d91.js 84.9 KiB new
ae3d665f.js 79.4 KiB new
28502e3e.js 78.5 KiB new
649b044e.js 78.5 KiB new

Eager graph (modules shipped in each entrypoint's initial chunks)

Entrypoint Eager size Budget Modules
✅ app 11.16 MiB (+2.7 KiB / +0.0%) report-only 1130
Largest modules in the app closure
Module Size
css ./node_modules/.pnpm/css-loader@5.2.7_webpack@5.101.3/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[1]!./node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.6_webpack@5.101.3/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[2]!./src/styles/global.css 1023.8 KiB
./src/components/Stickers/Stickers.tsx 696.4 KiB
./node_modules/.pnpm/@posthog+brand@0.17.3_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/puzzle.mjs 388.5 KiB
./node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js 354.8 KiB
./node_modules/.pnpm/react-markdown@8.0.7_@types+react@16.14.66_react@18.3.1/node_modules/react-markdown/lib/react-markdown.js + 88 modules 351.4 KiB
./node_modules/.pnpm/@posthog+brand@0.17.3_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/basketball-coach.mjs 337.3 KiB
./node_modules/.pnpm/framer-motion@14.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs + 126 modules 287.2 KiB
./node_modules/.pnpm/cloudinary-core@2.14.0_lodash@4.17.21/node_modules/cloudinary-core/cloudinary-core.js 281.9 KiB
./src/components/SearchUI/index.tsx + 87 modules 273.1 KiB
./gatsby-browser.tsx + 60 modules 259.6 KiB
./node_modules/.pnpm/@posthog+brand@0.17.3_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/construction-1.mjs 248.7 KiB
./src/components/Pricing/PricingSlider/Slider.tsx + 87 modules 240.2 KiB
./node_modules/.pnpm/@posthog+brand@0.17.3_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/construction-2.mjs 228.0 KiB
./node_modules/.pnpm/@posthog+brand@0.17.3_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/magnifying-glass.mjs 221.6 KiB
./src/hooks/useProduct.ts + 22 modules 165.2 KiB

Eager-graph budgets are report-only until a baseline is established. Sizes are gzip of public/**/*.js; eager size is webpack module source bytes for the modules actually shipped in the entrypoint's initial chunks (post-tree-shake).

@rafaeelaudibert
rafaeelaudibert removed this pull request from stack #22646 November 21, 2026 02:31
@rafaeelaudibert

Copy link
Copy Markdown
Member Author

Folded into #22640 to keep the stack to four PRs.

@rafaeelaudibert
rafaeelaudibert deleted the branch hogs/swap-home-images November 21, 2026 02:31
@rafaeelaudibert
rafaeelaudibert deleted the hogs/product-hogs branch November 21, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

website About the website (beyond just landing pages)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant