semplification
This commit is contained in:
parent
0543352bf8
commit
94edc34e10
4 changed files with 7 additions and 7 deletions
|
|
@ -178,7 +178,7 @@ export const CardAnnuncio = ({
|
||||||
<div className="absolute top-1 z-20 flex w-full justify-center px-2">
|
<div className="absolute top-1 z-20 flex w-full justify-center px-2">
|
||||||
<Badge
|
<Badge
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex items-center gap-1.5 rounded-t-none px-1 py-0.5 font-semibold text-base text-white shadow-lg [&>svg]:size-4.5",
|
"flex items-center gap-1.5 rounded-t-none px-1 py-0.5 font-semibold text-base text-white [&>svg]:size-4.5",
|
||||||
isAvailableNow
|
isAvailableNow
|
||||||
? "bg-dasubito"
|
? "bg-dasubito"
|
||||||
: "bg-evidenza text-primary dark:text-accent",
|
: "bg-evidenza text-primary dark:text-accent",
|
||||||
|
|
@ -202,7 +202,7 @@ export const CardAnnuncio = ({
|
||||||
<div className="absolute top-1 z-20 flex w-full justify-center px-2">
|
<div className="absolute top-1 z-20 flex w-full justify-center px-2">
|
||||||
<Badge
|
<Badge
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex items-center gap-1.5 rounded-t-none bg-trattativa px-1 py-0.5 font-semibold text-base text-white shadow-lg [&>svg]:size-4.5",
|
"flex items-center gap-1.5 rounded-t-none bg-trattativa px-1 py-0.5 font-semibold text-base text-white [&>svg]:size-4.5",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<span>In Trattativa</span>
|
<span>In Trattativa</span>
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ const AutocompleteSearchBox = ({
|
||||||
</label>
|
</label>
|
||||||
<Input
|
<Input
|
||||||
className={cn(
|
className={cn(
|
||||||
"z-10 cursor-pointer search-cancel:cursor-pointer rounded-md border-fxd-foreground bg-transparent text-fxd-foreground text-xl search-cancel:brightness-75 search-cancel:grayscale placeholder:font-bold placeholder:text-primary focus:ring-fxd-secondary dark:bg-transparent dark:hover:bg-input/10",
|
"z-10 cursor-pointer search-cancel:cursor-pointer rounded-md border-fxd-foreground bg-transparent text-fxd-foreground text-xl search-cancel:brightness-75 search-cancel:grayscale placeholder:font-bold placeholder:text-primary focus:ring-0 dark:bg-transparent dark:hover:bg-input/10",
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
id={inputId || "search"}
|
id={inputId || "search"}
|
||||||
|
|
@ -122,7 +122,7 @@ const AutocompleteSearchBox = ({
|
||||||
{open && (
|
{open && (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"absolute z-50 mt-1 max-h-64 w-full overflow-hidden rounded-md border border-fxd-foreground bg-fxd-secondary shadow-xs ring-1 ring-fxd-secondary",
|
"absolute z-50 mt-1 max-h-64 w-full overflow-hidden rounded-md border border-fxd-foreground bg-fxd-secondary",
|
||||||
|
|
||||||
optionBoxClassName,
|
optionBoxClassName,
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ export default function MapMarker({
|
||||||
{/* Rectangle part */}
|
{/* Rectangle part */}
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex items-center justify-center font-medium text-primary-foreground shadow-md",
|
"flex items-center justify-center font-medium text-primary-foreground",
|
||||||
sizeClasses[size].rectangle,
|
sizeClasses[size].rectangle,
|
||||||
colorClasses[color].rectangle,
|
colorClasses[color].rectangle,
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
|
|
@ -92,12 +92,12 @@ 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 absolute h-full w-full overflow-clip rounded-lg">
|
||||||
<div
|
<div
|
||||||
className="pointer-events-none h-full w-full animate-[ping_1.5s_cubic-bezier(0,0,.2,1)_infinite] bg-yellow-500"
|
className="pointer-events-none h-full w-full animate-[ping_1.5s_cubic-bezier(0,0,.2,1)_infinite] bg-yellow-500"
|
||||||
id="animationDiv"
|
id="animationDiv"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div> */}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue