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,
|
||||
Bath,
|
||||
BedDouble,
|
||||
Building,
|
||||
Car,
|
||||
Clock,
|
||||
Copy,
|
||||
|
|
@ -11,6 +12,7 @@ import {
|
|||
Ruler,
|
||||
Share2,
|
||||
TrafficCone,
|
||||
Warehouse,
|
||||
} from "lucide-react";
|
||||
import type { GetStaticPaths, GetStaticPropsContext, NextPage } from "next";
|
||||
import Head from "next/head";
|
||||
|
|
@ -408,6 +410,8 @@ const CardInfos = () => {
|
|||
numero_bagni,
|
||||
caratteristiche,
|
||||
numero_postiauto,
|
||||
numero_box,
|
||||
anno,
|
||||
mq,
|
||||
piano,
|
||||
stato,
|
||||
|
|
@ -492,12 +496,22 @@ const CardInfos = () => {
|
|||
{caratteristiche?.Scheda_Arredi || ""}
|
||||
</span>
|
||||
</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">
|
||||
<Car />
|
||||
<span className="line-clamp-1 break-all">
|
||||
{numero_postiauto || 0} {t.annunci.posti_auto}
|
||||
</span>
|
||||
</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 className="flex flex-col gap-2">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue