feat: add building year and garage information to CardInfos component
This commit is contained in:
parent
e33ee7a8cd
commit
2669de4caf
1 changed files with 14 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import {
|
||||||
BadgeEuro,
|
BadgeEuro,
|
||||||
Bath,
|
Bath,
|
||||||
BedDouble,
|
BedDouble,
|
||||||
|
Building,
|
||||||
Car,
|
Car,
|
||||||
Clock,
|
Clock,
|
||||||
Copy,
|
Copy,
|
||||||
|
|
@ -11,6 +12,7 @@ import {
|
||||||
Ruler,
|
Ruler,
|
||||||
Share2,
|
Share2,
|
||||||
TrafficCone,
|
TrafficCone,
|
||||||
|
Warehouse,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import type { GetStaticPaths, GetStaticPropsContext, NextPage } from "next";
|
import type { GetStaticPaths, GetStaticPropsContext, NextPage } from "next";
|
||||||
import Head from "next/head";
|
import Head from "next/head";
|
||||||
|
|
@ -408,6 +410,8 @@ const CardInfos = () => {
|
||||||
numero_bagni,
|
numero_bagni,
|
||||||
caratteristiche,
|
caratteristiche,
|
||||||
numero_postiauto,
|
numero_postiauto,
|
||||||
|
numero_box,
|
||||||
|
anno,
|
||||||
mq,
|
mq,
|
||||||
piano,
|
piano,
|
||||||
stato,
|
stato,
|
||||||
|
|
@ -492,12 +496,22 @@ const CardInfos = () => {
|
||||||
{caratteristiche?.Scheda_Arredi || ""}
|
{caratteristiche?.Scheda_Arredi || ""}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="flex justify-center gap-2 rounded-md bg-primary-foreground p-2 text-primary">
|
||||||
|
<Building />
|
||||||
|
<span className="line-clamp-1 break-all">{anno || ""}</span>
|
||||||
|
</div>
|
||||||
<div className="flex justify-center gap-2 rounded-md bg-primary-foreground p-2 text-primary">
|
<div className="flex justify-center gap-2 rounded-md bg-primary-foreground p-2 text-primary">
|
||||||
<Car />
|
<Car />
|
||||||
<span className="line-clamp-1 break-all">
|
<span className="line-clamp-1 break-all">
|
||||||
{numero_postiauto || 0} {t.annunci.posti_auto}
|
{numero_postiauto || 0} {t.annunci.posti_auto}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="flex justify-center gap-2 rounded-md bg-primary-foreground p-2 text-primary">
|
||||||
|
<Warehouse />
|
||||||
|
<span className="line-clamp-1 break-all">
|
||||||
|
{numero_box || 0} Garage
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue