diff --git a/public/images/company/4.png b/public/images/company/4.png new file mode 100644 index 0000000..f32278e Binary files /dev/null and b/public/images/company/4.png differ diff --git a/public/images/company/5.png b/public/images/company/5.png new file mode 100644 index 0000000..858f8d5 Binary files /dev/null and b/public/images/company/5.png differ diff --git a/public/images/company/6.png b/public/images/company/6.png new file mode 100644 index 0000000..f5c214e Binary files /dev/null and b/public/images/company/6.png differ diff --git a/public/images/company/7.png b/public/images/company/7.png new file mode 100644 index 0000000..c36f231 Binary files /dev/null and b/public/images/company/7.png differ diff --git a/public/images/company/8.png b/public/images/company/8.png new file mode 100644 index 0000000..fac18a5 Binary files /dev/null and b/public/images/company/8.png differ diff --git a/src/components/companyPage/InvestmentPortfolio.tsx b/src/components/companyPage/InvestmentPortfolio.tsx new file mode 100644 index 0000000..c2fb7d4 --- /dev/null +++ b/src/components/companyPage/InvestmentPortfolio.tsx @@ -0,0 +1,84 @@ +interface Project { + title: string; + city: string; + image: string; + id: string; +} + +const projects: Project[] = [ + { + title: "Nef Kandilli", + city: "Instanbul", + image: "./images/company/4.png", + id: "1", + }, + { + title: "Résidence Seniors Palazzo Chessy", + city: "Paris", + image: "./images/company/5.png", + id: "2", + }, + { + title: "5 Beaujon", + city: "Paris", + image: "./images/company/6.png", + id: "3", + }, + { + title: "Edenwood Resort Privé", + city: "Paris", + image: "./images/company/7.png", + id: "4", + }, + { + title: "Rove Home Downtown", + city: "Dubai", + image: "./images/company/8.png", + id: "5", + }, +]; + +const projectStyles = [ + "xl:col-start-3 xl:col-end-7", + "xl:col-span-4", + "xl:col-start-5 xl:col-end-9", + "xl:col-span-4", + "xl:col-start-3 xl:col-span-4", +]; + +const InvestmentPortfolio = () => { + return ( +
+
+ OUR INVESTMENT PORTFOLIO +
+ {projects.map((project, index) => { + const styles = `${projectStyles[index]} ${ + index % 2 === 0 ? "sm:col-start-1" : "sm:col-start-7" + }`; + + return ( +
+ {project.title} +
+
+
{project.title}
+
+
+ {project.city} +
+
+ ); + })} +
+ ); +}; + +export default InvestmentPortfolio; diff --git a/src/components/companyPage/OurStory.tsx b/src/components/companyPage/OurStory.tsx index 2c8188f..bdb88a3 100644 --- a/src/components/companyPage/OurStory.tsx +++ b/src/components/companyPage/OurStory.tsx @@ -1,6 +1,6 @@ const OurStory = () => { return ( -
+
Our story
diff --git a/src/pages/Company.tsx b/src/pages/Company.tsx index acbb773..46705c6 100644 --- a/src/pages/Company.tsx +++ b/src/pages/Company.tsx @@ -1,5 +1,6 @@ import { isMobile } from "react-device-detect"; import OurStory from "../components/companyPage/OurStory"; +import InvestmentPortfolio from "../components/companyPage/InvestmentPortfolio"; const Company = () => { return ( @@ -9,6 +10,11 @@ const Company = () => { local family conglomerate from Dubai +

+ IRTHS’s real estate portfolio is spread across numerous projects, below + is a snapshot of some of our current and previous investments +

+ ); };