import {jsxs,jsx}from'react/jsx-runtime';import {RiErrorWarningFill}from'@react-icons/all-files/ri/RiErrorWarningFill.js';import {Separator}from'@admin-layout/tailwind-ui/shardui/separator.js';import GetStartedGuide from'../GetStarted/index.js';import TopArticle from'../TopArticles/index.js';import {config}from'../../../config/env-config.js';import {MdChevronRight}from'@react-icons/all-files/md/MdChevronRight.js';function Guests() {
  const {
    APP_URL
  } = config;
  const guides = [{
    title: 'How to create an account',
    imageUrl: 'https://d1tsi4dpgrrap2.cloudfront.net/resortifi_help/help_enter_images/image2-01.jpg',
    link: '/help/docs/guests-account-how-do-i-create-an-account'
  }, {
    title: 'Finding Nearby properties',
    imageUrl: 'https://d1tsi4dpgrrap2.cloudfront.net/resortifi_help/help_enter_images/image1-01.jpg',
    link: '/help/docs/guests-finding-property-how-do-i-find-property-near-me'
  }, {
    title: 'How to edit the existing reservation?',
    imageUrl: 'https://d1tsi4dpgrrap2.cloudfront.net/resortifi_help/help_enter_images/woman-swimming-pool-01.jpg',
    link: '/help/docs/guests-booking-how-do-i-edit-my-existing-reservation'
  }, {
    title: 'Payment Method Hold Policy',
    imageUrl: 'https://d1tsi4dpgrrap2.cloudfront.net/resortifi_help/help_enter_images/image8-01.jpg',
    link: '/help/docs/guests-payment-method-hold-policy-why-there-is-a-hold-on-my-payment-method-when-i-requested-for-booking'
  }];
  const topArticles = [{
    title: 'How does the booking process work?',
    link: '/help/docs/guests-finding-property-how-does-the-booking-process-work',
    description: 'Once you visit Resortifi, whether on our mobile app or website, enter your location or address to help us'
  }, {
    title: 'How cancellations work',
    link: '/help/docs/guests-cancellation-cancellation-policy-for-hourly-and-nightly-stay',
    description: 'At Resortifi, we understand that sometimes, guests may need to cancel their reservations'
  }, {
    title: 'What are the payment options for monthly stays?',
    link: '/help/docs/guests-monthly-stays-what-are-the-payment-options-for-monthly-stays',
    description: 'Your monthly price is locked in at the beginning of the reservation, and you can track '
  }, {
    title: 'How can I make changes in my booking?',
    link: '/help/docs/guests-monthly-stays-how-can-i-make-changes-in-my-booking',
    description: "Whether its changing the dates of your stay, the number of guests, or something else, you"
  }, {
    title: 'How do I reset or change my password?',
    link: '/help/docs/guests-account-how-do-i-create-an-account',
    description: 'Click the "Forgot password" on the login screen. Enter the email address, then click Send password'
  }, {
    title: 'What happens if I cancel too many bookings?',
    link: '/help/docs/guests-booking-what-happens-if-i-cancel-too-many-bookings',
    description: 'In order for the Resortifi marketplace to work for both hosts and swimmers, each party '
  }];
  return jsxs("div", {
    className: "pb-12",
    children: [jsxs("div", {
      className: "mb-10",
      children: [jsx("h2", {
        className: "text-2xl font-bold text-gray-900",
        children: "Recommended for you"
      }), jsxs("div", {
        className: "flex flex-wrap gap-6 mt-6",
        children: [jsxs("div", {
          className: "border border-gray-200 p-5 w-full max-w-[345px] rounded-[10px] bg-white shadow-sm",
          children: [jsxs("div", {
            children: [jsxs("div", {
              className: "flex items-center mb-5",
              children: [jsx(RiErrorWarningFill, {
                fill: "#c13515",
                className: "w-5 h-5 shrink-0"
              }), jsx("span", {
                className: "text-xs font-extrabold text-[#c13515] pl-1",
                children: "ACTION REQUIRED"
              })]
            }), jsx("h3", {
              className: "text-lg leading-6 font-semibold",
              children: "Your identity is not fully verified"
            }), jsx("p", {
              className: "text-[#717171]",
              children: "Identity verification helps us check that you're really you. It's one of the ways we keep Resortifi secure."
            }), jsx(Separator, {
              className: "my-3"
            })]
          }), jsx("div", {
            children: jsxs("a", {
              href: `${APP_URL}/account/personal-info`,
              target: "_blank",
              rel: "noreferrer",
              className: "text-sm font-semibold flex justify-between items-center text-[#3182ce] hover:text-blue-700",
              children: ["Check identity verification status", jsx(MdChevronRight, {
                size: 22
              })]
            })
          }), jsx(Separator, {
            className: "my-3"
          }), jsx("div", {
            children: jsxs("a", {
              href: `${APP_URL}/account/payments`,
              target: "_blank",
              rel: "noreferrer",
              className: "text-sm font-semibold flex justify-between items-center text-[#3182ce] hover:text-blue-700",
              children: ["Add payout method", jsx(MdChevronRight, {
                size: 22
              })]
            })
          })]
        }), jsxs("div", {
          className: "border border-gray-200 p-5 w-full max-w-[345px] rounded-[10px] bg-white shadow-sm flex flex-col justify-between",
          children: [jsxs("div", {
            children: [jsx("span", {
              className: "text-xs font-extrabold text-[#717171]",
              children: "QUICK LINK"
            }), jsx("h3", {
              className: "text-lg leading-6 font-semibold",
              children: "Finding reservation details"
            }), jsx("p", {
              className: "text-[#717171]",
              children: "Your All Reservations Page has full details, receipts, and Host contact info for each of your reservations."
            })]
          }), jsxs("div", {
            children: [jsx(Separator, {
              className: "my-3"
            }), jsxs("a", {
              href: `${APP_URL}/all-properties-reservations`,
              target: "_blank",
              rel: "noreferrer",
              className: "text-sm font-semibold flex justify-between items-center text-[#3182ce] hover:text-blue-700",
              children: ["Go to All Reservations", jsx(MdChevronRight, {
                size: 22
              })]
            })]
          })]
        })]
      })]
    }), jsxs("div", {
      className: "mt-12",
      children: [jsxs("div", {
        className: "flex flex-wrap justify-between items-center mb-6",
        children: [jsx("h2", {
          className: "text-2xl font-bold text-gray-900",
          children: "Guides for Guests"
        }), jsxs("a", {
          href: "/guests",
          className: "text-sm font-semibold flex items-center gap-1 text-[#3182ce] hover:text-blue-700",
          children: ["Browse all topics ", jsx(MdChevronRight, {
            size: 22
          })]
        })]
      }), jsx("div", {
        className: "flex gap-6 flex-wrap justify-start",
        children: guides.map((guide, i) => jsx(GetStartedGuide, {
          link: guide.link,
          title: guide.title,
          imageUrl: guide.imageUrl
        }, i))
      })]
    }), jsxs("div", {
      className: "mt-12",
      children: [jsx("h2", {
        className: "text-2xl font-bold text-gray-900 mb-6",
        children: "Top articles"
      }), jsx("div", {
        className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-6",
        children: topArticles.map((article, i) => jsx(TopArticle, {
          link: article.link,
          title: article.title,
          description: article.description
        }, i))
      })]
    })]
  });
}export{Guests as default};//# sourceMappingURL=Guest.js.map
