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.

42 lines
1.4 KiB

  1. import React, { FC } from "react";
  2. import rightImgDemo from "@/images/BecomeAnAuthorImg.png";
  3. import ButtonPrimary from "@/shared/ButtonPrimary";
  4. import Logo from "@/shared/Logo";
  5. import Image from "next/image";
  6. export interface SectionBecomeAnAuthorProps {
  7. className?: string;
  8. rightImg?: string;
  9. }
  10. const SectionBecomeAnAuthor: FC<SectionBecomeAnAuthorProps> = ({
  11. className = "",
  12. rightImg = rightImgDemo,
  13. }) => {
  14. return (
  15. <div
  16. className={`nc-SectionBecomeAnAuthor relative flex flex-col lg:flex-row items-center ${className}`}
  17. data-nc-id="SectionBecomeAnAuthor"
  18. >
  19. <div className="flex-shrink-0 mb-16 lg:mb-0 lg:mr-10 lg:w-2/5">
  20. <Logo className="w-20" />
  21. <h2 className="font-semibold text-3xl sm:text-4xl mt-6 sm:mt-11">
  22. Why did you choose us?
  23. </h2>
  24. <span className="block mt-6 text-neutral-500 dark:text-neutral-400">
  25. Accompanying us, you have a trip full of experiences. With Chisfis,
  26. booking accommodation, resort villas, hotels, private houses,
  27. apartments... becomes fast, convenient and easy.
  28. </span>
  29. <ButtonPrimary className="mt-6 sm:mt-11">
  30. Become an author
  31. </ButtonPrimary>
  32. </div>
  33. <div className="flex-grow">
  34. <Image alt="" src={rightImg} />
  35. </div>
  36. </div>
  37. );
  38. };
  39. export default SectionBecomeAnAuthor;