mirror of
https://github.com/Ichitux/lambada-fiesta-live.git
synced 2026-09-27 23:22:22 +00:00
Staff + Airport changes + deployment fixes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user