"use client";
import { motion } from "framer-motion";
import { BentoGrid } from "@/components/ui/BentoGrid";
import { Card } from "@/components/ui/Card";
import { Button } from "@/components/ui/Button";
import { Badge } from "@/components/ui/Badge";
import Link from "next/link";
import { useLanguage } from "@/context/LanguageContext";
export default function Home() {
const { t, locale } = useLanguage();
// Helper para las etiquetas de los meses en el SVG según el idioma
const months = {
es: ["ENE", "MAR", "JUN", "SEP", "DIC"],
ca: ["GEN", "MAR", "JUN", "SET", "DES"],
en: ["JAN", "MAR", "JUN", "SEP", "DEC"]
};
return (
{/* Hero Section */}
{t.home.badge}
{/* Dividimos el título para mantener el salto de línea estético */}
{locale === 'en' ? "The value" : locale === 'ca' ? "El valor" : "El valor"}
{locale === 'en' ? "of knowing." : locale === 'ca' ? "de saber." : "de saber."}