excludes for unit types video

This commit is contained in:
2025-07-28 11:02:05 +05:00
parent 95613b9673
commit 78133900fe
+11 -1
View File
@@ -56,6 +56,13 @@ function UnitTypeItem({ project, type }: UnitTypeItemProps) {
</div>
</div>
<hr className="w-full border-[#E2E2DC] 2xl:h-[0.069vw] h-px" />
{![
"1-bedroom-d",
"2-bedroom-a",
"1-bedroom-loft-a",
"1-bedroom-loft-b",
"1-bedroom-loft-c",
].includes(type.slug) && (
<button
onClick={() =>
setModal(
@@ -66,12 +73,15 @@ function UnitTypeItem({ project, type }: UnitTypeItemProps) {
>
<div className="lg:space-y-[0.278vw] space-y-1 flex-1">
<p className="text-h5 font-medium">ORI Cloud Bed</p>
<p className="text-s text-[#00BED7]">Live in the future, today</p>
<p className="text-s text-[#00BED7]">
Live in the future, today
</p>
</div>
<div className="2xl:size-[1.389vw] size-5">
<PlayIcon />
</div>
</button>
)}
{/* {type.video && (
<div className="2xl:p-[1.111vw] p-4 2xl:rounded-[0.833vw] rounded-xl outline outline-[#E2E2DC] flex 2xl:gap-[0.556vw] justify-between">
<div className="2xl:space-y-[0.278vw] space-y-1">