You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.5 KiB

  1. import React, { FC } from "react";
  2. import rightImgPng from "@/images/our-features.png";
  3. import Image, { StaticImageData } from "next/image";
  4. import Badge from "@/shared/Badge";
  5. export interface SectionOurFeaturesProps {
  6. className?: string;
  7. rightImg?: StaticImageData;
  8. type?: "type1" | "type2";
  9. }
  10. const SectionOurFeatures: FC<SectionOurFeaturesProps> = ({
  11. className = "lg:py-14",
  12. rightImg = rightImgPng,
  13. type = "type1",
  14. }) => {
  15. return (
  16. <div
  17. className={`nc-SectionOurFeatures relative flex flex-col items-center ${
  18. type === "type1" ? "lg:flex-row" : "lg:flex-row-reverse"
  19. } ${className}`}
  20. data-nc-id="SectionOurFeatures"
  21. >
  22. <div className="flex-grow">
  23. <Image src={rightImg} alt="" />
  24. </div>
  25. <div
  26. className={`max-w-2xl flex-shrink-0 mt-10 lg:mt-0 lg:w-2/5 ${
  27. type === "type1" ? "lg:pl-16" : "lg:pr-16"
  28. }`}
  29. >
  30. <span className="uppercase text-sm text-gray-400 tracking-widest">
  31. BENnefits
  32. </span>
  33. <h2 className="font-semibold text-4xl mt-5">Happening cities </h2>
  34. <ul className="space-y-10 mt-16">
  35. <li className="space-y-4">
  36. <Badge name="Advertising" />
  37. <span className="block text-xl font-semibold">
  38. Cost-effective advertising
  39. </span>
  40. <span className="block mt-5 text-neutral-500 dark:text-neutral-400">
  41. With a free listing, you can advertise your rental with no upfront
  42. costs
  43. </span>
  44. </li>
  45. <li className="space-y-4">
  46. <Badge color="green" name="Exposure " />
  47. <span className="block text-xl font-semibold">
  48. Reach millions with Chisfis
  49. </span>
  50. <span className="block mt-5 text-neutral-500 dark:text-neutral-400">
  51. Millions of people are searching for unique places to stay around
  52. the world
  53. </span>
  54. </li>
  55. <li className="space-y-4">
  56. <Badge color="red" name="Secure" />
  57. <span className="block text-xl font-semibold">
  58. Secure and simple
  59. </span>
  60. <span className="block mt-5 text-neutral-500 dark:text-neutral-400">
  61. A Holiday Lettings listing gives you a secure and easy way to take
  62. bookings and payments online
  63. </span>
  64. </li>
  65. </ul>
  66. </div>
  67. </div>
  68. );
  69. };
  70. export default SectionOurFeatures;