minor change e commented garanzia possible change
This commit is contained in:
parent
74f3e10fae
commit
ac10ee1909
2 changed files with 34 additions and 15 deletions
|
|
@ -8,6 +8,7 @@ import { CodiceBox } from "~/components/codiceRicerca";
|
||||||
import { ComeFunziona } from "~/components/expand_guida";
|
import { ComeFunziona } from "~/components/expand_guida";
|
||||||
import { PricingChoice } from "~/components/prezzi";
|
import { PricingChoice } from "~/components/prezzi";
|
||||||
import { HeroSvg, LogoSvg } from "~/components/svgs";
|
import { HeroSvg, LogoSvg } from "~/components/svgs";
|
||||||
|
import { Button } from "~/components/ui/button";
|
||||||
import { env } from "~/env";
|
import { env } from "~/env";
|
||||||
import type { LangDict } from "~/i18n/locales";
|
import type { LangDict } from "~/i18n/locales";
|
||||||
import { useTranslation } from "~/providers/I18nProvider";
|
import { useTranslation } from "~/providers/I18nProvider";
|
||||||
|
|
@ -53,11 +54,11 @@ const Home: NextPage = () => {
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<div className="flex w-full flex-col gap-y-4 md:gap-y-6">
|
<div className="flex w-full flex-col gap-y-4 md:gap-y-6">
|
||||||
<AnniversaryBanner />
|
|
||||||
{/* <FrequentSearches /> */}
|
{/* <FrequentSearches /> */}
|
||||||
<div className="mx-auto w-full max-w-5xl">
|
<div className="mx-auto w-full max-w-5xl">
|
||||||
<ComeFunziona />
|
<ComeFunziona />
|
||||||
</div>
|
</div>
|
||||||
|
<AnniversaryBanner />
|
||||||
<AccordionComp
|
<AccordionComp
|
||||||
className="w-full max-w-5xl"
|
className="w-full max-w-5xl"
|
||||||
texts={t.index.accordion_minifaq}
|
texts={t.index.accordion_minifaq}
|
||||||
|
|
@ -86,11 +87,14 @@ const TrovaCasaCTA = (props: { testi: LangDict }) => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-col space-y-4 lg:justify-start">
|
<div className="flex flex-col space-y-4 lg:justify-start">
|
||||||
<Link
|
<Link href="/annunci">
|
||||||
className="flex h-14 items-center justify-center gap-2 rounded-md bg-destructive px-8 py-3 font-semibold text-lg text-white"
|
<Button
|
||||||
href="/annunci"
|
className="w-full font-semibold text-xl"
|
||||||
>
|
size="xl"
|
||||||
{testi.index.CTA_Annunci} <Telescope className="ml-2 size-6" />
|
variant="destructive"
|
||||||
|
>
|
||||||
|
{testi.index.CTA_Annunci} <Telescope className="ml-2 size-6" />
|
||||||
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<div className="relative mx-auto flex w-full items-center justify-center gap-2 py-1 [&:has(#searchOptionsBox)]:[&_#animationDiv]:invisible">
|
<div className="relative mx-auto flex w-full items-center justify-center gap-2 py-1 [&:has(#searchOptionsBox)]:[&_#animationDiv]:invisible">
|
||||||
|
|
@ -100,17 +104,20 @@ const TrovaCasaCTA = (props: { testi: LangDict }) => {
|
||||||
key={"codiceBox"}
|
key={"codiceBox"}
|
||||||
optionBoxClassName="left-0"
|
optionBoxClassName="left-0"
|
||||||
/>
|
/>
|
||||||
{/* <div className="pointer-events-none absolute h-full w-full overflow-clip rounded-lg">
|
|
||||||
<div
|
|
||||||
className="pointer-events-none h-full w-full animate-[ping_1.5s_cubic-bezier(0,0,.2,1)_infinite] bg-yellow-500"
|
|
||||||
id="animationDiv"
|
|
||||||
/>
|
|
||||||
</div> */}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h1 className="font-bold text-xl sm:text-2xl">
|
{/* <Link href="/prezzi#garanzia-visite">
|
||||||
Visita garantita o <u>ti rimborsiamo</u>!
|
<Button
|
||||||
</h1>
|
className="w-full font-semibold text-xl"
|
||||||
|
size="lg"
|
||||||
|
variant="outline"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
Visita garantita o <u>ti rimborsiamo</u>!
|
||||||
|
</span>{" "}
|
||||||
|
<ExternalLink />
|
||||||
|
</Button>
|
||||||
|
</Link> */}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -126,6 +126,17 @@ const Prezzi: NextPage = () => {
|
||||||
texts={t.prezzi.faq_stabile}
|
texts={t.prezzi.faq_stabile}
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
|
{/* <Separator className="my-5" />
|
||||||
|
<section className="relative mx-auto flex max-w-5xl flex-col items-center gap-8">
|
||||||
|
<div className="absolute -top-20" id="garanzia-visite" />
|
||||||
|
|
||||||
|
<div className="flex w-full flex-col gap-4 rounded-md bg-secondary p-4">
|
||||||
|
<h1 className="text-center font-semibold text-4xl">
|
||||||
|
Garanzia Visite
|
||||||
|
</h1>
|
||||||
|
<p>d</p>
|
||||||
|
</div>
|
||||||
|
</section> */}
|
||||||
<Separator className="my-5" />
|
<Separator className="my-5" />
|
||||||
<section
|
<section
|
||||||
className="mx-auto flex max-w-5xl flex-col items-center gap-8"
|
className="mx-auto flex max-w-5xl flex-col items-center gap-8"
|
||||||
|
|
@ -168,6 +179,7 @@ const Prezzi: NextPage = () => {
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export async function getServerSideProps() {
|
export async function getServerSideProps() {
|
||||||
const helper = generateSSGHelper();
|
const helper = generateSSGHelper();
|
||||||
await helper.prezziario.getPrezziPerTipologiaAll.fetch();
|
await helper.prezziario.getPrezziPerTipologiaAll.fetch();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue