diff --git a/package.json b/package.json index bdd3ade..07f41c7 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "framer-motion": "^11.2.11", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-icons": "^5.2.1", "react-router-dom": "^6.23.1" }, "devDependencies": { diff --git a/src/Components/Advertising.jsx b/src/Components/Advertising.jsx new file mode 100644 index 0000000..d992adb --- /dev/null +++ b/src/Components/Advertising.jsx @@ -0,0 +1,59 @@ +import { Box, Container, Image, Text } from "@chakra-ui/react"; +import React from "react"; +import pattern from "../assets/pattern.png"; +import adImage from "../assets/adImage.png"; +import appButton from "../assets/AppStore.png"; +import playButton from "../assets/PlayBtn.png"; + + +const Advertising = () => { + return ( + + + + + + Ready to get started? + + + Risus habitant leo egestas mauris diam eget morbi tempus + vulputate. + + + + + + + + + + + + + + + + ); +}; + +export default Advertising; diff --git a/src/Components/Footer.jsx b/src/Components/Footer.jsx index 92abcf2..d40822a 100644 --- a/src/Components/Footer.jsx +++ b/src/Components/Footer.jsx @@ -1,34 +1,55 @@ import { Box, Container, Text } from "@chakra-ui/react"; import React from "react"; import { Link } from "react-router-dom"; +import { IoLogoTwitter } from "react-icons/io5"; +import { FaFacebookF } from "react-icons/fa6"; +import { FaInstagram } from "react-icons/fa"; +import { IoLogoGithub } from "react-icons/io"; const Footer = () => { return ( - Yes, it’s that simple. - - Download the Tanami app today and start growing your wealth + + Yes, it’s that simple. + + + Download the Tanami app today and start growing your wealth. - + - + About Tanami - + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum aliquet accumsan porta lectus ridiculus in mattis. Netus sodales in volutpat ullamcorper amet adipiscing fermentum. + + + + + + + + info@tanamicapital.com + Company @@ -55,26 +76,26 @@ const Footer = () => { - + - Company + Help - + - Home + About Us {" "} - + Investment - + How it works - + FAQ's @@ -83,6 +104,16 @@ const Footer = () => { + + + + Copyright © 2024 Tanami Capital + + + Tanami Capital is authorized to participate in the Central Bank of + Bahrain’s Fintench Regualatory Sandbox + + ); diff --git a/src/Components/Header.jsx b/src/Components/Header.jsx index 3b7d836..95a58b6 100644 --- a/src/Components/Header.jsx +++ b/src/Components/Header.jsx @@ -1,10 +1,11 @@ import { Box, Button, Container, Image } from "@chakra-ui/react"; -import React from "react"; +import React, { useEffect, useState } from "react"; import logo from "../assets/logo.png"; import earth from "../assets/earth.png"; -import { NavLink } from "react-router-dom"; +import { Link, NavLink } from "react-router-dom"; import { ChevronDownIcon } from "@chakra-ui/icons"; + export const nav = [ { title: "Investment", @@ -12,31 +13,55 @@ export const nav = [ }, { title: "How it works", - path: "/investment", + path: "/how-it-works", }, { title: "FAQ", - path: "/investment", + path: "/faq", }, { title: "About Us", - path: "/investment", + path: "/aboutus", }, ]; const Header = () => { + const [showHeader, setShowHeader] = useState(true); + const [lastScrollY, setLastScrollY] = useState(0); + const threshold = 50; // Adjust this value to change sensitivity + const controlHeader = () => { + if (window.scrollY > lastScrollY + threshold) { + setShowHeader(false); + } else if (window.scrollY < lastScrollY - threshold) { + setShowHeader(true); + } + setLastScrollY(window.scrollY); + }; + + useEffect(() => { + window.addEventListener("scroll", controlHeader); + return () => { + window.removeEventListener("scroll", controlHeader); + }; + }, [lastScrollY]); + return ( - + - + + {nav.map(({ title, path }, index) => ( { + return ( + + + + + Access{" "} + + private markets{" "} + + today{" "} + + + + + Tanami provides Shariah-compliant global private investments + alongside world class managers, simplified through an app. + + + + + + + + + + + Download the app & grow your wealth with Tanami today. + + + + + + + + + ); +}; + +export default Hero; diff --git a/src/Components/InvestmentPlatform.jsx b/src/Components/InvestmentPlatform.jsx new file mode 100644 index 0000000..9efdd59 --- /dev/null +++ b/src/Components/InvestmentPlatform.jsx @@ -0,0 +1,272 @@ +import { + Box, + Button, + Container, + Image, + Tab, + TabList, + TabPanel, + TabPanels, + Tabs, + Text, +} from "@chakra-ui/react"; +import React, { useState, useEffect } from "react"; +import asset2 from "../assets/asset2.png"; +import slider1 from "../assets/slider1.png"; +import slider2 from "../assets/slider2.png"; +import slider3 from "../assets/slider3.png"; +import { ArrowForwardIcon } from "@chakra-ui/icons"; + +const content = [ + { + title: "Higher returns", + description: + "We invest smart. From real estate to private equity, Tanami invests alongside global managers with a proven track record of consistent outperformance.", + }, + { + title: "Expert Diligence", + description: + "We understand investments. From real estate to private equity, Tanami invests alongside global managers with a proven track record of consistent outperformance.", + }, + { + title: "Low Minimums", + description: + "We make it easy. From real estate to private equity, Tanami invests alongside global managers with a proven track record of consistent outperformance.", + }, +]; + +const InvestmentPlatform = () => { + const [tabIndex, setTabIndex] = useState(0); + + useEffect(() => { + const interval = setInterval(() => { + setTabIndex((prevIndex) => (prevIndex + 1) % 3); + }, 3000); + + return () => clearInterval(interval); + }, []); + + return ( + + + + Why Choose Our Investment Platform + + + + + + + + + + + + Select + + + Onboard + + + Invest + + + + + + + + + + + + Higher returns + + + We invest smart. From real estate to private equity, Tanami + invests alongside global managers with a proven track record + of consistent outperformance. + + + + + Expert Diligence + + + We understand investments. From real estate to private + equity, Tanami invests alongside global managers with a + proven track record of consistent outperformance. + + + + + Low Minimums + + + We make it easy. From real estate to private equity, Tanami + invests alongside global managers with a proven track record + of consistent outperformance. + + + + + + + + + + + + + ); +}; + +export default InvestmentPlatform; diff --git a/src/Pages/Home.jsx b/src/Pages/Home.jsx index 96c5535..a480f86 100644 --- a/src/Pages/Home.jsx +++ b/src/Pages/Home.jsx @@ -1,8 +1,15 @@ import React from 'react' +import Hero from '../Components/Hero' +import InvestmentPlatform from '../Components/InvestmentPlatform' +import Advertising from '../Components/Advertising' const Home = () => { return ( -
Home
+ <> + + + + ) } diff --git a/src/assets/AppStore.png b/src/assets/AppStore.png new file mode 100644 index 0000000..797d856 Binary files /dev/null and b/src/assets/AppStore.png differ diff --git a/src/assets/PlayBtn.png b/src/assets/PlayBtn.png new file mode 100644 index 0000000..bddd72d Binary files /dev/null and b/src/assets/PlayBtn.png differ diff --git a/src/assets/adImage.png b/src/assets/adImage.png new file mode 100644 index 0000000..e88f534 Binary files /dev/null and b/src/assets/adImage.png differ diff --git a/src/assets/apple.png b/src/assets/apple.png new file mode 100644 index 0000000..a1644a3 Binary files /dev/null and b/src/assets/apple.png differ diff --git a/src/assets/heroImage.png b/src/assets/heroImage.png new file mode 100644 index 0000000..c9d065c Binary files /dev/null and b/src/assets/heroImage.png differ diff --git a/src/assets/pattern.png b/src/assets/pattern.png new file mode 100644 index 0000000..0dd65b6 Binary files /dev/null and b/src/assets/pattern.png differ diff --git a/src/assets/playstore.png b/src/assets/playstore.png new file mode 100644 index 0000000..2f2f5e6 Binary files /dev/null and b/src/assets/playstore.png differ diff --git a/src/assets/slider1.png b/src/assets/slider1.png new file mode 100644 index 0000000..07d17c9 Binary files /dev/null and b/src/assets/slider1.png differ diff --git a/src/assets/slider2.png b/src/assets/slider2.png new file mode 100644 index 0000000..d0e01d8 Binary files /dev/null and b/src/assets/slider2.png differ diff --git a/src/assets/slider3.png b/src/assets/slider3.png new file mode 100644 index 0000000..04d9e53 Binary files /dev/null and b/src/assets/slider3.png differ diff --git a/src/assets/underline.png b/src/assets/underline.png new file mode 100644 index 0000000..943f1ce Binary files /dev/null and b/src/assets/underline.png differ diff --git a/src/index.css b/src/index.css index ca9e3a7..37c300c 100644 --- a/src/index.css +++ b/src/index.css @@ -22,4 +22,5 @@ h2{ .who-content::-webkit-scrollbar { width: 5px; height: 50px; + color: #0041181f; } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 1d959da..ba4b51e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2960,6 +2960,11 @@ react-focus-lock@^2.9.4: use-callback-ref "^1.3.2" use-sidecar "^1.1.2" +react-icons@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-5.2.1.tgz#28c2040917b2a2eda639b0f797bff1888e018e4a" + integrity sha512-zdbW5GstTzXaVKvGSyTaBalt7HSfuK5ovrzlpyiWHAFXndXTdd/1hdDHI4xBM1Mn7YriT6aqESucFl9kEXzrdw== + react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"