Skip to content

Add Made in Germany trust badge to hero and footer#84

Merged
SeoFood merged 1 commit into
mainfrom
seofood/made-in-germany-badge
May 28, 2026
Merged

Add Made in Germany trust badge to hero and footer#84
SeoFood merged 1 commit into
mainfrom
seofood/made-in-germany-badge

Conversation

@SeoFood
Copy link
Copy Markdown
Contributor

@SeoFood SeoFood commented May 28, 2026

Summary

  • Add a subtle "Made in Germany" seal to the landing hero (pill below the platform notice) and the footer, framed around independent craft.
  • Add a shared German flag SVG asset at public/flags/de.svg (not inverted in dark mode).
  • Add localized EN/DE strings madeInGermany.label and madeInGermany.craft (used as the hover/title text).

Notes

  • Intentionally kept small and tasteful; no new section and no change to the social-proof bar.
  • The "Made in Germany" label is shown in both locales as the recognized seal; the craft line is localized.

Test plan

  • npm run test:i18n passes (EN/DE key parity)
  • Visually verified hero pill and footer badge in light and dark mode on /en
  • Spot-check /de

Summary by CodeRabbit

  • New Features
    • Added "Made in Germany" badges featuring flag imagery to the hero section and footer, highlighting the product's German origin with localized labels in English and German.

Review Change Stack

Surface a subtle "Made in Germany" seal with a craft framing on the
landing hero (below the platform notice) and in the footer. Adds a
shared German flag SVG asset and localized EN/DE strings.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3ae3fa57-e1db-4974-a007-fed40236768a

📥 Commits

Reviewing files that changed from the base of the PR and between ce1da77 and b6dec6f.

⛔ Files ignored due to path filters (1)
  • public/flags/de.svg is excluded by !**/*.svg
📒 Files selected for processing (4)
  • src/components/landing/hero.tsx
  • src/components/layout/footer.astro
  • src/i18n/locales/de/common.json
  • src/i18n/locales/en/common.json

📝 Walkthrough

Walkthrough

A "Made in Germany" badge is added to the hero and footer sections of the site. English and German locale translations support both components, with the hero rendering a centered pill and the footer integrating the badge into a restructured top-right layout.

Changes

Made in Germany badge

Layer / File(s) Summary
i18n translations for badge
src/i18n/locales/en/common.json, src/i18n/locales/de/common.json
English and German locale strings added for madeInGermany.label ("Made in Germany" / "Made in Germany") and madeInGermany.craft tooltip text ("Independently crafted in Germany" / "Unabhängig in Deutschland entwickelt").
Hero component badge
src/components/landing/hero.tsx
Centered "Made in Germany" pill badge inserted beneath the platform notice, featuring a flag image (/flags/de.svg) and localized label text with consistent styling.
Footer component badge
src/components/layout/footer.astro
Footer top-right section restructured from a simple tagline paragraph into a vertical flex layout that displays the existing tagline and a new "made in Germany" badge with flag image and translated tooltip text.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A badge of pride, so bold and true,
In German flags, a vibrant hue,
From hero peaks to footer's rest,
Made in Germany—simply the best!
Translations flow in every tongue,
A little feature, tastefully sung. 🇩🇪

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add Made in Germany trust badge to hero and footer' directly matches the main objective of the pull request, clearly summarizing the primary change.
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch seofood/made-in-germany-badge

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint skipped: no ESLint configuration detected in root package.json. To enable, add eslint to devDependencies.


Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

Actionable comments posted: 0

@SeoFood SeoFood merged commit c9ff8ea into main May 28, 2026
2 checks passed
@SeoFood SeoFood deleted the seofood/made-in-germany-badge branch May 28, 2026 18:00
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