From 8f2b5bbd2053f0e8b2927cf888df04d5b23a289f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Dzivjak?= Date: Fri, 3 Apr 2026 14:44:59 +0200 Subject: [PATCH] feat(docs): list readers per-country availability --- src/components/content/Country.astro | 38 +++++++++++++++++++ src/components/content/ReaderHero.astro | 2 +- .../docs/terminal-payments/readers/3g.mdx | 7 +++- .../docs/terminal-payments/readers/air.mdx | 7 +++- .../terminal-payments/readers/pin-plus.mdx | 7 +++- .../terminal-payments/readers/solo-lite.mdx | 7 +++- .../docs/terminal-payments/readers/solo.mdx | 7 +++- .../terminal-payments/readers/tap-to-pay.mdx | 9 ++++- 8 files changed, 71 insertions(+), 13 deletions(-) create mode 100644 src/components/content/Country.astro diff --git a/src/components/content/Country.astro b/src/components/content/Country.astro new file mode 100644 index 00000000..86ffa9a5 --- /dev/null +++ b/src/components/content/Country.astro @@ -0,0 +1,38 @@ +--- +import { getIconURL, type IconName } from "@sumup-oss/icons"; + +interface Props { + code: string; + name: string; +} + +const { code, name } = Astro.props; +const icon = `flag_${code.toLowerCase()}` as IconName; +--- + + + {name} + + + diff --git a/src/components/content/ReaderHero.astro b/src/components/content/ReaderHero.astro index 57052963..97f94eae 100644 --- a/src/components/content/ReaderHero.astro +++ b/src/components/content/ReaderHero.astro @@ -15,7 +15,7 @@ const { alt, src, srcset, width, height } = Astro.props;