Skip to content

feat(site): add a why page that explains what an IAM solves - #30

Merged
NathaelB merged 2 commits into
mainfrom
feat/why-page
Nov 16, 2026
Merged

NathaelB merged 2 commits into
mainfrom
feat/why-page

Conversation

@NathaelB

@NathaelB NathaelB commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Adds /why, a page to send when someone asks why they need an IAM. It is written for three readers: non-technical people get an analogy at the top, CTOs get the moments a login form stops being enough and a build/buy/self-host comparison, developers get the sign-in flows and a token check in Node. It also covers user governance, MFA, passkeys, security and audit, says what we sell (support, consulting, migration), and links to nathael@ferriskey.rs. A "Why an IAM" link is added to the navbar, and the page gets its own share card in EN and FR.

The copy lives in apps/website/src/lib/why.ts, both languages side by side. The page renders both and CSS shows the one matching <html lang>, because the data-t swap used on the other pages only replaces plain text and the copy needs bold, links and tables. Every product claim comes from the docs: benchmark figures from kubernetes/benchmarks, Keycloak import limits from cli/import/keycloak, MFA, lockout and password defaults from the Trident and password-policy pages. The code sample reads jwks_uri from the discovery document instead of hard-coding a path, since the docs say /jwks.json and the SDK uses /certs.

pnpm build in apps/website passes: 13 pages, plus /why/thumbnail.png and /thumbnails/fr/why/thumbnail.png. The page was not opened in a browser, and Prettier was not run because prettier-plugin-astro is not installed in the repo. Link previews (LinkedIn, Slack) do not run JS, so they always show the EN card, same as the home page.

No issue exists for this.

Summary by CodeRabbit

  • New Features
    • Added a “Why FerrisKey” page with English and French content, including information about IAM use cases, features, FAQs, and support.
    • Added a “Why” link to desktop and mobile navigation.
    • Added localized social preview thumbnails for the page.

People keep asking why they would need an IAM. The page answers for three
readers at once: a plain analogy first, then the moments a login form stops
being enough, what an IAM handles (users, sign-in flows, MFA, passkeys,
security, audit), build vs buy vs self-host, a code sample and a FAQ.

Both languages are rendered and the one matching <html lang> is shown, because
the data-t swap used elsewhere only replaces plain text.
@NathaelB NathaelB added the enhancement New feature or request label Nov 16, 2026
@NathaelB NathaelB self-assigned this Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The website adds an English and French “Why” page with localized content, interactive IAM topic tabs, navigation links, and static thumbnail entries.

Changes: Bilingual Why page

Layer / File(s) Summary
Bilingual content and text rendering
apps/website/src/lib/why.ts, apps/website/src/components/why/t.astro
The content module provides English and French page text. The text component renders both languages and supports optional placeholder substitution.
Page rendering and interaction
apps/website/src/pages/why.astro
The page renders its sections from the content module. It selects a locale from a cookie or browser language, supports IAM tab keyboard navigation, and updates the page language and social-preview image.
Navigation and thumbnail entry points
apps/website/src/i18n/ui.ts, apps/website/src/components/website-navbar.tsx, packages/thumbnail/src/cards.ts, packages/thumbnail/src/index.ts, apps/website/astro.config.ts
The shared navigation adds a localized Why link. The thumbnail package exports a localized card, which the Astro configuration uses for English and French static thumbnail entries.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  actor Visitor
  participant WebsiteNavbar
  participant Browser
  participant WhyPage as why.astro
  participant WhyContent as why
  Visitor->>WebsiteNavbar: Selects the /why link
  WebsiteNavbar->>Browser: Navigates to /why
  Browser->>WhyPage: Requests /why
  WhyPage->>WhyContent: Reads bilingual content
  WhyContent-->>WhyPage: Returns page sections and contact details
  WhyPage-->>Browser: Renders page HTML
Loading

Suggested reviewers: leadcodedev

Merge Risk: Moderate · up to 9182f

French readers who load the /why page directly will see the English version, and the sign-in code example teaches an incomplete token check that does not verify the audience. Both are small fixes in one file. They are worth resolving before merge, and nothing else in the change looks risky.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@NathaelB
NathaelB merged commit 10e7d02 into main Nov 16, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant