Skip to content

feat(website): reposition homepage around standardized secret consumption - #295

Merged
macalbert merged 3 commits into
mainfrom
macalbert/feat/website-standardization-positioning
May 31, 2026
Merged

feat(website): reposition homepage around standardized secret consumption#295
macalbert merged 3 commits into
mainfrom
macalbert/feat/website-standardization-positioning

Conversation

@macalbert

@macalbert macalbert commented May 31, 2026

Copy link
Copy Markdown
Owner

Description

Repositions the Envilder homepage messaging from '.env security incident' to 'standardize how apps consume secrets'. This is a strategic positioning change that better communicates Envilder's real value as a secret consumption standard.

Type of Change

  • New feature
  • Documentation update

Changes Made

Hero (all 3 locales)

  • H1: 'Standardize how your apps consume secrets.'
  • Description: 'Stop reinventing secret loading in every project. Define one environment contract and resolve it everywhere.'
  • Badge line updated: Open Source · MIT · AWS SSM · Azure Key Vault
  • Tech line added below description: AWS SSM · Azure Key Vault · GitHub Action · Runtime SDKs
  • Terminal comments: 'One environment contract per app' / 'Resolve the contract'

New BeforeAfter section

  • Two-column comparison: 'Without a standard' vs 'With Envilder'
  • 4 rows: local dev, CI/CD, runtime loading, tribal knowledge
  • Placed between ProblemSolution and FeaturesGrid
  • Responsive: stacked mobile, 2 columns desktop
  • Consistent styling (error/success colors, pixel font headings)

Sponsors section

  • Added AWS Open Source Credits Program badge next to LocalStack logo

Files

  • \src/website/src/i18n/types.ts\ — BeforeAfterTranslations + SponsorsTranslations updated
  • \src/website/src/i18n/{en,ca,es}.ts\ — hero + beforeAfter + sponsors
  • \src/website/src/components/Hero.astro\ — description + tech line
  • \src/website/src/components/BeforeAfter.astro\ — new component
  • \src/website/src/components/Sponsors.astro\ — AWS credits badge
  • \src/website/src/pages/{index,ca/index,es/index}.astro\ — BeforeAfter import

Checklist

  • Code follows project conventions
  • Build passes locally (\pnpm build\ ✓)
  • All 3 locales updated (en, ca, es)
  • No breaking changes

Summary by CodeRabbit

  • New Features

    • Added a before/after comparison section to the homepage highlighting key benefits.
    • Added an AWS Open Source Credits sponsor badge.
  • Improvements

    • Updated hero section messaging and presentation.
    • Refreshed homepage content and translations for English, Spanish, and Catalan.

…tion

- Update hero: 'Standardize how your apps consume secrets'
- Add description: 'Stop reinventing secret loading in every project'
- Add BeforeAfter comparison section between ProblemSolution and Features
- Add AWS Open Source Credits Program badge to Sponsors section
- Update all 3 locales (en, ca, es) with new copy
- Add BeforeAfterTranslations type and component
Copilot AI review requested due to automatic review settings May 31, 2026 12:02
@coderabbitai

coderabbitai Bot commented May 31, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

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

More reviews will be available in 18 minutes and 27 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5daf28f6-dc11-4c93-a133-2023b269861a

📥 Commits

Reviewing files that changed from the base of the PR and between ebfa0e9 and 083f712.

📒 Files selected for processing (3)
  • src/website/src/components/BeforeAfter.astro
  • src/website/src/components/Hero.astro
  • src/website/src/components/Sponsors.astro

Walkthrough

Adds a translated BeforeAfter component and types, updates Hero and Sponsors UI, refreshes en/ca/es copy, and renders the new section on all three homepage variants.

Changes

Homepage BeforeAfter Feature

Layer / File(s) Summary
i18n type contracts for BeforeAfter and AWS credits
src/website/src/i18n/types.ts
BeforeAfterRow and BeforeAfterTranslations interfaces added; SponsorsTranslations gains awsCreditsAlt/awsCreditsLabel; top-level Translations includes beforeAfter.
BeforeAfter component and styling
src/website/src/components/BeforeAfter.astro
New Astro component renders a responsive two-column before/after comparison using translated keys and CSS pseudo-elements with success/error colors.
Hero and Sponsors component updates
src/website/src/components/Hero.astro, src/website/src/components/Sponsors.astro
Hero moves tech labels into a .hero-tech-line container with new styles; Sponsors adds an AWS Cloud Credits badge anchor and badge hover styles.
Homepage integration across language versions
src/website/src/pages/index.astro, src/website/src/pages/ca/index.astro, src/website/src/pages/es/index.astro
BeforeAfter is imported and rendered on English, Catalan, and Spanish homepages between ProblemSolution and FeaturesGrid (passes lang where used).
Multilingual content updates (en, ca, es)
src/website/src/i18n/en.ts, src/website/src/i18n/ca.ts, src/website/src/i18n/es.ts
Translations updated for homeMeta, hero, sponsors (AWS credits), and beforeAfter sections to supply new copy and labels.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • macalbert/envilder#224: Updates to Hero.astro hero description rendering and related hero translation keys overlap with this PR's hero content changes.
  • macalbert/envilder#136: Prior changes to Sponsors.astro and sponsor i18n overlap with the AWS credits badge and sponsor translation updates here.

Suggested labels

enhancement

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and clearly summarizes the main change: repositioning the homepage messaging around standardized secret consumption, which is the primary strategic shift across all changes in this PR.
Description check ✅ Passed The description is comprehensive and well-structured. It includes a clear summary, detailed breakdown of changes by component/locale, file listing, and completion of the PR template checklist items.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch macalbert/feat/website-standardization-positioning

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.

@macalbert macalbert self-assigned this May 31, 2026
@macalbert macalbert added the documentation Improvements or additions to documentation label May 31, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new BeforeAfter comparison component, updates the hero section layout, adds an AWS Open Source Credits badge to the sponsors section, and updates the English, Spanish, and Catalan translations. Feedback on these changes highlights a visual alignment bug in the new BeforeAfter component due to independent columns, and recommends utilizing an unused translation key to improve accessibility on the sponsors link.

Comment thread src/website/src/components/BeforeAfter.astro
Comment thread src/website/src/components/Sponsors.astro

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Repositions the website homepage messaging from a .env-as-incident framing to a "standardize how apps consume secrets" framing, adds a new before/after comparison section, and acknowledges the AWS Open Source Credits Program in the sponsors area. All three locales (en, ca, es) are updated in lockstep with the type contract.

Changes:

  • Rewrites homepage meta, hero copy, badges, terminal comments, and adds a hero-tech-line to surface providers/integrations.
  • Introduces a new BeforeAfter component (+ BeforeAfterTranslations type + EN/CA/ES content) and wires it between ProblemSolution and FeaturesGrid on all three homepage routes.
  • Extends SponsorsTranslations with AWS credits fields and renders a text badge linking to the AWS Open Source Credits Program.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/website/src/pages/index.astro Imports and renders BeforeAfter in the English homepage flow.
src/website/src/pages/es/index.astro Same BeforeAfter integration for the Spanish homepage.
src/website/src/pages/ca/index.astro Same BeforeAfter integration for the Catalan homepage.
src/website/src/i18n/types.ts Adds BeforeAfterRow/BeforeAfterTranslations and AWS credits fields on SponsorsTranslations.
src/website/src/i18n/en.ts Updates EN meta/hero/sponsors copy and adds beforeAfter strings.
src/website/src/i18n/es.ts Spanish counterpart of the copy update.
src/website/src/i18n/ca.ts Catalan counterpart of the copy update.
src/website/src/components/Hero.astro Splits description from tech line and adds .hero-tech-line styling.
src/website/src/components/Sponsors.astro Adds AWS Open Source Credits badge link and styling.
src/website/src/components/BeforeAfter.astro New two-column comparison section using design-system tokens.

Comment thread src/website/src/components/Hero.astro Outdated
Comment thread src/website/src/i18n/types.ts

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
src/website/src/pages/index.astro (1)

2-10: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Fix import order to comply with Biome rules.

The BeforeAfter import should be placed before DemoVideo to maintain alphabetical order.

📦 Proposed fix
 ---
+import BeforeAfter from '../components/BeforeAfter.astro';
 import DemoVideo from '../components/DemoVideo.astro';
 import FeaturesGrid from '../components/FeaturesGrid.astro';
 import Footer from '../components/Footer.astro';
 import GetStarted from '../components/GetStarted.astro';
 import GitHubAction from '../components/GitHubAction.astro';
 import Hero from '../components/Hero.astro';
 import HowItWorks from '../components/HowItWorks.astro';
 import Navbar from '../components/Navbar.astro';
-import BeforeAfter from '../components/BeforeAfter.astro';
 import ProblemSolution from '../components/ProblemSolution.astro';

Alternatively, run npx @biomejs/biome check --apply . to auto-fix.

As per coding guidelines, Biome style rules require alphabetically sorted imports.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/website/src/pages/index.astro` around lines 2 - 10, Imports in
index.astro are not alphabetized; move the BeforeAfter import so it appears
before DemoVideo to satisfy Biome rules. Locate the import statements for
BeforeAfter and DemoVideo in the top of the file (symbols: BeforeAfter,
DemoVideo) and reorder them alphabetically (BeforeAfter, then DemoVideo), or run
the autofix (npx `@biomejs/biome` check --apply .) to apply the same change.
src/website/src/pages/es/index.astro (1)

2-10: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Fix import order to comply with Biome rules.

The BeforeAfter import should be placed before DemoVideo to maintain alphabetical order.

📦 Proposed fix
 ---
+import BeforeAfter from '../../components/BeforeAfter.astro';
 import DemoVideo from '../../components/DemoVideo.astro';
 import FeaturesGrid from '../../components/FeaturesGrid.astro';
 import Footer from '../../components/Footer.astro';
 import GetStarted from '../../components/GetStarted.astro';
 import GitHubAction from '../../components/GitHubAction.astro';
 import Hero from '../../components/Hero.astro';
 import HowItWorks from '../../components/HowItWorks.astro';
 import Navbar from '../../components/Navbar.astro';
-import BeforeAfter from '../../components/BeforeAfter.astro';
 import ProblemSolution from '../../components/ProblemSolution.astro';

Alternatively, run npx @biomejs/biome check --apply . to auto-fix.

As per coding guidelines, Biome style rules require alphabetically sorted imports.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/website/src/pages/es/index.astro` around lines 2 - 10, The import list in
this module violates Biome's alphabetical ordering: move the BeforeAfter import
so it appears before DemoVideo in the import block (i.e., reorder the imports so
BeforeAfter is placed above DemoVideo), or run the automatic fixer (npx
`@biomejs/biome` check --apply .) to apply the same change; update the import
sequence involving BeforeAfter and DemoVideo (and maintain overall alphabetical
order for the other imports such as FeaturesGrid, Footer, GetStarted,
GitHubAction, Hero, HowItWorks, Navbar) to comply with Biome rules.
src/website/src/pages/ca/index.astro (1)

2-10: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Fix import order to comply with Biome rules.

The BeforeAfter import should be placed before DemoVideo to maintain alphabetical order.

📦 Proposed fix
 ---
+import BeforeAfter from '../../components/BeforeAfter.astro';
 import DemoVideo from '../../components/DemoVideo.astro';
 import FeaturesGrid from '../../components/FeaturesGrid.astro';
 import Footer from '../../components/Footer.astro';
 import GetStarted from '../../components/GetStarted.astro';
 import GitHubAction from '../../components/GitHubAction.astro';
 import Hero from '../../components/Hero.astro';
 import HowItWorks from '../../components/HowItWorks.astro';
 import Navbar from '../../components/Navbar.astro';
-import BeforeAfter from '../../components/BeforeAfter.astro';
 import ProblemSolution from '../../components/ProblemSolution.astro';

Alternatively, run npx @biomejs/biome check --apply . to auto-fix.

As per coding guidelines, Biome style rules require alphabetically sorted imports.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/website/src/pages/ca/index.astro` around lines 2 - 10, The import list at
the top of the module is out of alphabetical order: move the BeforeAfter import
so it appears before DemoVideo (i.e., reorder the import statement for the
BeforeAfter component to come alphabetically before the DemoVideo import) to
satisfy Biome import-order rules; you can also run npx `@biomejs/biome` check
--apply . to auto-fix across the file.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/website/src/i18n/ca.ts`:
- Around line 109-138: The beforeAfter.rows entries contain multiline string
literals that violate Biome formatting; update the beforeAfter object
(specifically beforeAfter.rows array and each row's without/with properties) to
use single-line strings (collapse line breaks and trailing spaces) so each value
is a single quoted line, then run or allow npx `@biomejs/biome` format --write .
to ensure Biome rules are satisfied.

In `@src/website/src/i18n/en.ts`:
- Around line 109-138: The beforeAfter object contains multiline string literals
in the rows array (fields without and with) which violate Biome formatting
rules; update each multiline string in beforeAfter.rows to be single-line
strings (collapse line breaks and unnecessary indentation) so fields like
beforeAfter.rows[i].without and beforeAfter.rows[i].with are single-line
literals, then run the project formatter (or npx `@biomejs/biome` format --write
.) to ensure style compliance.

---

Outside diff comments:
In `@src/website/src/pages/ca/index.astro`:
- Around line 2-10: The import list at the top of the module is out of
alphabetical order: move the BeforeAfter import so it appears before DemoVideo
(i.e., reorder the import statement for the BeforeAfter component to come
alphabetically before the DemoVideo import) to satisfy Biome import-order rules;
you can also run npx `@biomejs/biome` check --apply . to auto-fix across the file.

In `@src/website/src/pages/es/index.astro`:
- Around line 2-10: The import list in this module violates Biome's alphabetical
ordering: move the BeforeAfter import so it appears before DemoVideo in the
import block (i.e., reorder the imports so BeforeAfter is placed above
DemoVideo), or run the automatic fixer (npx `@biomejs/biome` check --apply .) to
apply the same change; update the import sequence involving BeforeAfter and
DemoVideo (and maintain overall alphabetical order for the other imports such as
FeaturesGrid, Footer, GetStarted, GitHubAction, Hero, HowItWorks, Navbar) to
comply with Biome rules.

In `@src/website/src/pages/index.astro`:
- Around line 2-10: Imports in index.astro are not alphabetized; move the
BeforeAfter import so it appears before DemoVideo to satisfy Biome rules. Locate
the import statements for BeforeAfter and DemoVideo in the top of the file
(symbols: BeforeAfter, DemoVideo) and reorder them alphabetically (BeforeAfter,
then DemoVideo), or run the autofix (npx `@biomejs/biome` check --apply .) to
apply the same change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a63ceace-3657-4fd4-8187-12b26814ddf6

📥 Commits

Reviewing files that changed from the base of the PR and between 866a9fd and 21b57b1.

📒 Files selected for processing (10)
  • src/website/src/components/BeforeAfter.astro
  • src/website/src/components/Hero.astro
  • src/website/src/components/Sponsors.astro
  • src/website/src/i18n/ca.ts
  • src/website/src/i18n/en.ts
  • src/website/src/i18n/es.ts
  • src/website/src/i18n/types.ts
  • src/website/src/pages/ca/index.astro
  • src/website/src/pages/es/index.astro
  • src/website/src/pages/index.astro

Comment thread src/website/src/i18n/ca.ts
Comment thread src/website/src/i18n/en.ts
- Fix --color-muted to --color-text-muted in Hero.astro
- Add title/aria-label using awsCreditsAlt on AWS credits link
- Restructure BeforeAfter.astro to row-based grid for vertical alignment
@macalbert
macalbert merged commit 9661912 into main May 31, 2026
7 checks passed
@macalbert
macalbert deleted the macalbert/feat/website-standardization-positioning branch May 31, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants