come funziona update

This commit is contained in:
Marco Pedone 2026-05-11 19:03:20 +02:00
parent 2e316f274b
commit d26acf9b60
3 changed files with 9 additions and 7 deletions

View file

@ -19,11 +19,11 @@ export const ComeFunziona = () => {
> >
<ExpandableScreenTrigger className="w-full"> <ExpandableScreenTrigger className="w-full">
<Button <Button
className="w-full text-lg md:text-base lg:text-lg" className="w-full text-base sm:text-lg"
data-umami-event="come_funziona_guida_open" data-umami-event="come_funziona_guida_open"
size="xl" size="xl"
> >
<HelpCircle /> <HelpCircle className="size-8" />
<span>{t.come_funziona_guida.title}</span> <span>{t.come_funziona_guida.title}</span>
</Button> </Button>
</ExpandableScreenTrigger> </ExpandableScreenTrigger>
@ -34,11 +34,13 @@ export const ComeFunziona = () => {
// biome-ignore lint/suspicious/noArrayIndexKey: <ok> // biome-ignore lint/suspicious/noArrayIndexKey: <ok>
<div className="space-y-6" key={index}> <div className="space-y-6" key={index}>
<div className="space-y-2"> <div className="space-y-2">
<h2 className="font-semibold text-4xl">{text.title}</h2> <h2 className="font-semibold text-2xl sm:text-4xl">
{text.title}
</h2>
{text.parts.map((p, i) => { {text.parts.map((p, i) => {
return typeof p === "object" ? ( return typeof p === "object" ? (
<Link <Link
className="text-2xl underline after:content-['_↗'] hover:text-secondary" className="underline after:content-['_↗'] hover:text-secondary sm:text-2xl"
href={p.href} href={p.href}
// biome-ignore lint/suspicious/noArrayIndexKey: <ok> // biome-ignore lint/suspicious/noArrayIndexKey: <ok>
key={`${index}-link-${i}`} key={`${index}-link-${i}`}
@ -47,7 +49,7 @@ export const ComeFunziona = () => {
</Link> </Link>
) : ( ) : (
<p <p
className="text-2xl" className="sm:text-2xl"
// biome-ignore lint/suspicious/noArrayIndexKey: <ok> // biome-ignore lint/suspicious/noArrayIndexKey: <ok>
key={`${index}-${i}`} key={`${index}-${i}`}
> >

View file

@ -468,7 +468,7 @@ export const en: LangDict = {
}, },
contatti: "Contacts", contatti: "Contacts",
come_funziona_guida: { come_funziona_guida: {
title: "How does Infoalloggi work?", title: "How does Infoalloggi's service works?",
features: [ features: [
{ {
title: "Service cost", title: "Service cost",

View file

@ -473,7 +473,7 @@ export const it: LangDict = {
}, },
contatti: "Contatti", contatti: "Contatti",
come_funziona_guida: { come_funziona_guida: {
title: "Come funziona Infoalloggi?", title: "Come funziona il servizio Infoalloggi?",
features: [ features: [
{ {
title: "Costo del servizio", title: "Costo del servizio",