diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 60059a9..74ddbde 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -216,11 +216,7 @@ function NavItem({ href, title }: { href: string; title: string }) { > {title} {title === "Favorites" && !!favoriteUnits.length && ( -
+
{favoriteUnits.length}
)} @@ -268,7 +264,7 @@ function BrochuresDropdown() { animate={{ opacity: 1, x: "0%" }} exit={{ opacity: 0, x: "100%" }} transition={{ bounce: 0, duration: 0.3 }} - className="max-2xl:hidden p-[1.667vw] flex gap-[1.111vw] justify-stretch items-stretch fixed top-[calc(3.889vw+20px)] left-[57.083vw] w-[32.222vw] rounded-[1.111vw] bg-white shadow-[0_2px_8px_rgba(0,0,0,0.15)]" + className="max-2xl:hidden p-[1.667vw] flex gap-[1.111vw] justify-stretch items-stretch fixed top-[calc(3.889vw+20px)] left-[44.028vw] w-[32.222vw] rounded-[1.111vw] bg-white shadow-[0_2px_8px_rgba(0,0,0,0.15)]" >

Rove Home Marasi Drive

diff --git a/src/components/SequenceSlider.tsx b/src/components/SequenceSlider.tsx index ef2f747..a6a23e2 100644 --- a/src/components/SequenceSlider.tsx +++ b/src/components/SequenceSlider.tsx @@ -209,7 +209,7 @@ function SequenceSlider({ complexName }: SequenceSliderProps) { About
-

+

ROVE Home{" "} {markers.find((marker) => marker.name === complexName)?.title}

@@ -237,7 +237,13 @@ function SequenceSlider({ complexName }: SequenceSliderProps) { - +
diff --git a/src/components/UnitCard.tsx b/src/components/UnitCard.tsx index 305762e..d0a97ad 100644 --- a/src/components/UnitCard.tsx +++ b/src/components/UnitCard.tsx @@ -51,6 +51,7 @@ function UnitCard({ unit }: { unit: IUnit }) {
+

{`${formattedUnitTypes.get( diff --git a/src/components/icons/PlayIcon.tsx b/src/components/icons/PlayIcon.tsx new file mode 100644 index 0000000..a4efe7a --- /dev/null +++ b/src/components/icons/PlayIcon.tsx @@ -0,0 +1,15 @@ +function PlayIcon() { + return ( + + + + ); +} + +export default PlayIcon; diff --git a/src/components/icons/ShareIcon.tsx b/src/components/icons/ShareIcon.tsx new file mode 100644 index 0000000..9f64daa --- /dev/null +++ b/src/components/icons/ShareIcon.tsx @@ -0,0 +1,15 @@ +function ShareIcon() { + return ( + + + + ); +} + +export default ShareIcon; diff --git a/src/main.tsx b/src/main.tsx index 93296d9..0080180 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -14,6 +14,7 @@ import SearchPage from "./pages/SearchPage.tsx"; import LayoutWithoutFooter from "./layout/LayoutWithoutFooter.tsx"; import { queryClient } from "./lib/queryClient.ts"; import AboutComplexPage from "./pages/AboutComplexPage.tsx"; +import UnitTypeItemPage from "./pages/UnitTypeItemPage.tsx"; const route = createBrowserRouter([ { @@ -23,6 +24,10 @@ const route = createBrowserRouter([ path: "/unit-types", element: , }, + { + path: "/unit-types/:unitType", + element: , + }, { path: "/about", element: , diff --git a/src/pages/UnitTypeItemPage.tsx b/src/pages/UnitTypeItemPage.tsx new file mode 100644 index 0000000..ca37fdb --- /dev/null +++ b/src/pages/UnitTypeItemPage.tsx @@ -0,0 +1,71 @@ +import PlayIcon from "../components/icons/PlayIcon"; +import ShareIcon from "../components/icons/ShareIcon"; +import Button from "../components/ui/Button"; + +function UnitTypeItemPage() { + return ( +

+
+
+
+
+
+
+

Studio Flex

+

+ Up to 366 Sqft +

+
+ +
+
+

Rove Home Marasi Drive

+
+

East Wing

+
+

Floor 5-21

+
+
+
+
+
+

ORI Cloud Bed

+

+ Live in the future, today +

+
+ +
+
+

+ In Studio Flex explore the ORI Cloud Bed, optimizing your living + space with functionality and smart living. +

+

+ Every inch is designed to provide more space for comfort and + convenience. This feature increase your unit size by 33% +

+
+
+
+ + +
+
+
+
+
+ ); +} + +export default UnitTypeItemPage;