import { ArrowRight } from "lucide-react"; import Link from "next/link"; import { useTranslation } from "~/providers/I18nProvider"; import { buildRicercaUrl } from "~/providers/RicercaProvider"; import { Button } from "./ui/button"; import { Card, CardContent, CardHeader, CardTitle } from "./ui/card"; const it = { title: "Ricerche frequenti", transitorio: "Transitori", stabili: "Stabili", }; const en = { title: "Frequent Searches", transitorio: "Short-term", stabili: "Stable", }; export const FrequentSearches = () => { const { locale } = useTranslation(); const t = locale === "en" ? en : it; return ( {t.title} ); };