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 { PricingChoice } from "~/components/prezzi";
|
||||
import { HeroSvg, LogoSvg } from "~/components/svgs";
|
||||
import { Button } from "~/components/ui/button";
|
||||
import { env } from "~/env";
|
||||
import type { LangDict } from "~/i18n/locales";
|
||||
import { useTranslation } from "~/providers/I18nProvider";
|
||||
|
|
@ -53,11 +54,11 @@ const Home: NextPage = () => {
|
|||
</main>
|
||||
|
||||
<div className="flex w-full flex-col gap-y-4 md:gap-y-6">
|
||||
<AnniversaryBanner />
|
||||
{/* <FrequentSearches /> */}
|
||||
<div className="mx-auto w-full max-w-5xl">
|
||||
<ComeFunziona />
|
||||
</div>
|
||||
<AnniversaryBanner />
|
||||
<AccordionComp
|
||||
className="w-full max-w-5xl"
|
||||
texts={t.index.accordion_minifaq}
|
||||
|
|
@ -86,11 +87,14 @@ const TrovaCasaCTA = (props: { testi: LangDict }) => {
|
|||
</div>
|
||||
|
||||
<div className="flex flex-col space-y-4 lg:justify-start">
|
||||
<Link
|
||||
className="flex h-14 items-center justify-center gap-2 rounded-md bg-destructive px-8 py-3 font-semibold text-lg text-white"
|
||||
href="/annunci"
|
||||
>
|
||||
{testi.index.CTA_Annunci} <Telescope className="ml-2 size-6" />
|
||||
<Link href="/annunci">
|
||||
<Button
|
||||
className="w-full font-semibold text-xl"
|
||||
size="xl"
|
||||
variant="destructive"
|
||||
>
|
||||
{testi.index.CTA_Annunci} <Telescope className="ml-2 size-6" />
|
||||
</Button>
|
||||
</Link>
|
||||
|
||||
<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"}
|
||||
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>
|
||||
<h1 className="font-bold text-xl sm:text-2xl">
|
||||
Visita garantita o <u>ti rimborsiamo</u>!
|
||||
</h1>
|
||||
{/* <Link href="/prezzi#garanzia-visite">
|
||||
<Button
|
||||
className="w-full font-semibold text-xl"
|
||||
size="lg"
|
||||
variant="outline"
|
||||
>
|
||||
<span>
|
||||
Visita garantita o <u>ti rimborsiamo</u>!
|
||||
</span>{" "}
|
||||
<ExternalLink />
|
||||
</Button>
|
||||
</Link> */}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -126,6 +126,17 @@ const Prezzi: NextPage = () => {
|
|||
texts={t.prezzi.faq_stabile}
|
||||
/>
|
||||
</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" />
|
||||
<section
|
||||
className="mx-auto flex max-w-5xl flex-col items-center gap-8"
|
||||
|
|
@ -168,6 +179,7 @@ const Prezzi: NextPage = () => {
|
|||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export async function getServerSideProps() {
|
||||
const helper = generateSSGHelper();
|
||||
await helper.prezziario.getPrezziPerTipologiaAll.fetch();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue