| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- import React, { useEffect } from 'react';
- import { motion } from 'framer-motion';
- import LandingSVGv2 from './shared/graphics/LandingSVG-v2';
- import HiringWidget from './HiringWidget';
- import Wrapper from '../layout/Wrapper';
- import OpenDayBanner from './OpenDayBanner';
-
- // const _data = {
- // cto: 'contact us',
- // };
- // const number = [
- // {
- // value: 90,
- // static: '+',
- // title: 'Employees',
- // },
- // {
- // value: '20',
- // static: '+',
- // title: 'Projects',
- // },
- // {
- // value: '100',
- // static: '%',
- // title: 'Client-Retention',
- // },
- // ];
-
- const Landing = ({ heading,numbers,button,paragraph }) => {
-
- useEffect(() => {
- //console.log(data);
- }, [])
-
- return (
- <Wrapper>
- <div className="flex flex-col gap-90p pb-164p">
- <motion.section
- id="landing"
- className="flex flex-col items-center justify-center"
- initial={{ y: 60, opacity: 0 }}
- whileInView={{ y: 0, opacity: 1 }}
- transition={{ duration: 0.5, ease: 'easeOut' }}
- >
- {/* <img src={bg_home} alt="Diligent Software's Animation" width="700" /> */}
-
- {/* <LandingSVG /> */}
- <LandingSVGv2 />
- <HiringWidget />
- <div className="mb-16 -mt-12 md:mt-5 flex flex-col lg:flex-row justify-between items-center gap-90p">
- <div className="flex flex-col gap-8p">
- <h6 className="subheading">
- {heading.subtitle}
- </h6>
-
- <h1 className="heading">
- {heading.title}
- </h1>
- <p className="paragraph">
- {paragraph}
-
- </p>
- </div>
- <a
- href="#contact"
- className="btn-primary px-64p py-20p w-full lg:w-max whitespace-nowrap"
- >
- {button}
- </a>
- </div>
- </motion.section>
- <motion.section
- id="status-numbers"
- className="flex flex-col md:flex-row items-center justify-between w-full gap-90p px-90p"
- initial={{ y: 60, opacity: 0 }}
- whileInView={{ y: 0, opacity: 1 }}
- transition={{ duration: 0.5, ease: 'easeOut' }}
- >
- {numbers.map((item, i) => (
- <div key={i} className="flex flex-col">
- <p className="display-number text-center">
- {item.value}
- </p>
- <h3 className="number-title text-center">{item.title}</h3>
- </div>
- ))}
- </motion.section>
- </div>
- </Wrapper>
- );
- };
-
- export default Landing;
|