Staff + Airport changes + deployment fixes
CI/CD Deploy / test (push) Successful in 1m2s
CI/CD Deploy / build-push (push) Successful in 1m33s
CI/CD Deploy / deploy (push) Successful in 1m27s

This commit is contained in:
Antoni Nuñez Romeu
2026-08-07 01:32:37 +02:00
parent 3fec9ce241
commit a80d72e9e6
7 changed files with 39 additions and 16 deletions
+12 -6
View File
@@ -66,9 +66,9 @@ const PracticalSection = () => {
</h3>
<div className="space-y-3">
{PRACTICAL_INFO.airports.map((a) => (
<div key={a.name} className="bg-card rounded-lg p-3">
<p className="font-medium text-foreground text-sm">{a.name}</p>
<p className="text-xs text-muted-foreground">{a.distance}</p>
<div key={a.nameKey} className="bg-card rounded-lg p-3">
<p className="font-medium text-foreground text-sm">{t(a.nameKey)}</p>
<p className="text-xs text-muted-foreground">{t(a.distanceKey)}</p>
</div>
))}
</div>
@@ -82,12 +82,18 @@ const PracticalSection = () => {
<div className="space-y-3">
{PRACTICAL_INFO.howToGet.map((h) => {
const methodLabel =
h.method === "Metro" ? t("info.metro") : h.method === "Bus" ? t("info.bus") : h.method === "Taxi/Uber" ? t("info.taxi") : h.method;
h.method === "Metro"
? t("info.metro")
: h.method === "Bus"
? t("info.bus")
: h.method === "Taxi/Uber"
? t("info.taxi")
: h.method;
return (
<div key={h.method} className="bg-card rounded-lg p-3">
<p className="font-medium text-foreground text-sm">{methodLabel}</p>
<p className="text-xs text-muted-foreground">{h.details}</p>
<p className="text-xs text-muted-foreground">{t(h.detailsKey)}</p>
{h.link && (
<a
href={h.link}
@@ -95,7 +101,7 @@ const PracticalSection = () => {
rel="noopener noreferrer"
className="inline-block mt-2 px-3 py-1 bg-primary text-primary-foreground text-xs rounded hover:bg-primary/90 transition-colors"
>
{t("info.viewOnMap")}
{t(h.linkLabelKey ?? "info.viewOnMap")}
</a>
)}
</div>