Add tourAvailable property to projects and fix iframe class formatting
This commit is contained in:
@@ -592,6 +592,7 @@ export const projects: Project[] = [
|
||||
y: 97,
|
||||
},
|
||||
],
|
||||
tourAvailable: true,
|
||||
},
|
||||
{
|
||||
name: "Studio² Type B",
|
||||
@@ -888,6 +889,7 @@ export const projects: Project[] = [
|
||||
y: 309,
|
||||
},
|
||||
],
|
||||
tourAvailable: true,
|
||||
},
|
||||
{
|
||||
name: "1 Bedroom² Type C",
|
||||
@@ -1186,6 +1188,7 @@ export const projects: Project[] = [
|
||||
y: 405,
|
||||
},
|
||||
],
|
||||
// tourAvailable: true,
|
||||
},
|
||||
{
|
||||
name: "Sky Loft Type A",
|
||||
|
||||
@@ -18,7 +18,7 @@ function VirtualTourPage() {
|
||||
</div>
|
||||
<iframe
|
||||
src={`/virtual-tours/${complexName}/${unitTypeSlug}/index.html`}
|
||||
className="2xl:h-[calc(100vh-4.444vw)] md:max-2xl:h-[calc(100vh-64px)] h-[calc(100vh-48px)] w-full"
|
||||
className="2xl:h-[calc(100vh-4.444vw)] md:max-2xl:h-[calc(100vh-64px)] h-[calc(100vh-48px)] w-full"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user