's'
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
import { memo, useState } from "react";
|
||||
import { City } from "../data/cities";
|
||||
import { getCitySocialSummary } from "../data/city-social";
|
||||
import { Link, useTranslation } from "@/i18n/navigation";
|
||||
import { cityVolunteerHref } from "@/app/lib/city-slugs";
|
||||
import { useTranslation } from "@/i18n/navigation";
|
||||
|
||||
function ratingToPercent(rating: string): number {
|
||||
const m: Record<string, number> = {
|
||||
@@ -134,13 +133,6 @@ function CityCardComponent({ city, rank, onClick }: CityCardProps) {
|
||||
{/* Bottom: temp + cost + nomads */}
|
||||
<div>
|
||||
<div className="mb-1 flex flex-wrap items-center gap-1">
|
||||
<Link
|
||||
href={cityVolunteerHref(city)}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
className="shrink-0 rounded-full bg-white px-1.5 py-0.5 text-[9px] font-semibold text-[#ff4d4f] shadow-sm transition-colors hover:bg-white/90 sm:text-[11px]"
|
||||
>
|
||||
{t("volunteerRecruitment")}
|
||||
</Link>
|
||||
<span className="text-[9px] sm:text-[11px] bg-white/15 backdrop-blur-sm rounded-full px-1.5 py-0.5 text-white/80">
|
||||
👥 {city.nomadsNow}{t("nomadsHere")}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user