Skip to content

feat(hogs): swap old hedgehog images for @posthog/brand hoggies - #22640

Draft
rafaeelaudibert wants to merge 1 commit into
chore/posthog-brand-0.17.3from
hogs/swap-site-images
Draft

rafaeelaudibert wants to merge 1 commit into
chore/posthog-brand-0.17.3from
hogs/swap-site-images

Conversation

@rafaeelaudibert

@rafaeelaudibert rafaeelaudibert commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Warning

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

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

Summary

This PR changes 93 files to replace old hedgehog images with hoggies from @posthog/brand. A person reviewed each image and selected a replacement, or kept the current image.

  • Old Cloudinary URLs and local image imports change to hoggies/<name>.png imports. Each hoggie shows through HoggieImage from the PR below, not through CloudinaryImage.
  • Where the old image was mirrored or cropped, the new image uses the mirror and crop props of HoggieImage. In data, mirror and crop are fields next to src. The browser does the mirror and the crop, so there are no generated image files.
  • Some components get both Cloudinary URLs and hoggie PNGs: the product templates (Overview, "Who is it for?", AI prompts, the Pricing footer, and the product slides), SuggestedLinksBlock, the docs Intro, the /services cards, and the /self-driving cards. Each one uses isCloudinaryImage to select CloudinaryImage or HoggieImage.
  • WizardCTA shows one of four wizard hoggies. A hash of the page path selects the hoggie, so each page always shows the same one, and the server render agrees with the browser. WizardHint and WizardPage use wizard-1.
  • FooterCTA (on /apps/notification-bar and /apps/pineapple-mode) shows the shocked hoggie.
  • On /services, a section with no card used a plain <img>. A hoggie now goes through HoggieImage there, so its mirror works. Cloudinary URLs still use the plain <img>.
  • The service error page (contents/service-error.mdx) shows the asleep hoggie, and its subtitle changes to match. Before: "Our hedgehog wasn't able to handle this request. We're on it." After: "Our hedgehog dozed off on this request. We're waking it up."

Home page. Home/HeroCarousel/slides.tsx and Home/ShamelessCTA.tsx change. The repo rules say that a change to the Home page needs a website request issue.

Product pages. src/hooks/productData/*.tsx and the six product entries with a hog in src/hooks/useProduct.ts change. 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"
  • 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.
  • "Who is it for?" positions its image absolutely, so a crop window cannot go there. /workflows shows the full workflows hoggie in that place.

Pages with changes include /, /careers, /sales, /services, /customers, /about, /desktop, /self-driving, /ai, /mcp, /community, /handbook, /why, the product pages, the docs pages that show WizardCTA, and the sign-in and registration forms.

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 and eslint on the changed files. The only formatting differences are 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

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Nov 21, 2026 05:34AM

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Vale prose linter → found 10 errors, 25 warnings, 0 suggestions in your markdown

Full report → Copy the linter results into an LLM to batch-fix issues.

Linter being weird? Update the rules!

src/components/HoggieImage/README.md — 0 errors, 11 warnings, 0 suggestions
Line Severity Message Rule
3:26 warning 'hoggie' is a possible misspelling. PostHogBase.Spelling
3:54 warning 'hoggie' is a possible misspelling. PostHogBase.Spelling
5:22 warning 'hoggie' is a possible misspelling. PostHogBase.Spelling
5:40 warning 'Cloudinary' is a possible misspelling. PostHogBase.Spelling
22:35 warning 'hoggie' is a possible misspelling. PostHogBase.Spelling
23:36 warning 'hoggie' is a possible misspelling. PostHogBase.Spelling
36:14 warning 'Cloudinary' is a possible misspelling. PostHogBase.Spelling
36:29 warning 'hoggie' is a possible misspelling. PostHogBase.Spelling
38:17 warning 'Cloudinary' is a possible misspelling. PostHogBase.Spelling
38:37 warning 'hoggie' is a possible misspelling. PostHogBase.Spelling
38:44 warning 'PNGs' is a possible misspelling. PostHogBase.Spelling
src/components/Hogpedia/README.md — 2 errors, 6 warnings, 0 suggestions
Line Severity Message Rule
21:4 warning 'Where the Main Page gets its content' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
33:207 warning 'taskbar's' is a possible misspelling. PostHogBase.Spelling
74:175 warning Use 'IDs' instead of 'ids'. Vale.Terms
83:261 warning 'inlines' is a possible misspelling. PostHogBase.Spelling
85:195 warning 'inlined' is a possible misspelling. PostHogBase.Spelling
87:3 warning Use American English. Use 'center' instead of 'Centre'. PostHogBase.AmericanEnglish
91:190 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
91:654 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
src/components/WizardCTA/README.md — 8 errors, 8 warnings, 0 suggestions
Line Severity Message Rule
3:97 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
3:116 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
3:176 warning 'shortcode' is a possible misspelling. PostHogBase.Spelling
13:70 warning 'retarget' is a possible misspelling. PostHogBase.Spelling
13:109 warning Use 'Markdown' instead of 'markdown'. Vale.Terms
13:118 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
28:30 warning 'subcommand' is a possible misspelling. PostHogBase.Spelling
28:73 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
28:95 warning 'subcommand' is a possible misspelling. PostHogBase.Spelling
28:297 warning 'npx' is a possible misspelling. PostHogBase.Spelling
35:134 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
53:154 warning 'viewport's' is a possible misspelling. PostHogBase.Spelling
55:37 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
65:38 warning 'subcommand' is a possible misspelling. PostHogBase.Spelling
78:32 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
79:27 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Bundle report

Total JS (gzip)

12.22 MiB (+4.2 KiB / +0.0%)

Largest changed named chunks
Chunk Gzip Δ vs master
e9779244.js 194.1 KiB new
82bf887a.js 144.7 KiB new
2d8cec25.js 137.5 KiB new
166367b1.js 134.3 KiB new
ade17efd.js 95.8 KiB new
55d57a4d.js 94.7 KiB new
3b29d609.js 94.6 KiB new
45aae769.js 89.7 KiB new
4623c1e7.js 88.9 KiB new
3385df9c.js 88.9 KiB new
e0aad144.js 85.2 KiB new
66b5ac38.js 85.1 KiB new
86398d0d.js 84.9 KiB new
e37051bc.js 79.4 KiB new
5041cf6e.js 78.6 KiB new

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

Entrypoint Eager size Budget Modules
✅ app 11.16 MiB (+3.6 KiB / +0.0%) report-only 1134
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.5_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/puzzle.mjs 388.2 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.5_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.5_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.5_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.5_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/magnifying-glass.mjs 221.9 KiB
./src/hooks/useProduct.ts + 22 modules 165.1 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).

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

This branch has not been deployed

No deployments
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