import {jsxs,jsx}from'react/jsx-runtime';import {RiFacebookFill}from'@react-icons/all-files/ri/RiFacebookFill.js';import {RiTwitterLine}from'@react-icons/all-files/ri/RiTwitterLine.js';import {ImInstagram}from'@react-icons/all-files/im/ImInstagram.js';import LatestNewsCard from'../components/newsComponents/latestNewsCard.js';import NewsCarousel from'../components/newsComponents/newsCarousel.js';import {LatestNews,stayNews,hostingNews}from'../components/newsComponents/newsData.js';const links = () => [{
  rel: 'stylesheet',
  href: 'https://unpkg.com/@splidejs/splide@latest/dist/css/splide.min.css'
}];
function News() {
  const btnPrimary = 'inline-block py-3.5 px-6 text-base font-medium text-center rounded-lg bg-primary text-primary-foreground border-0 hover:opacity-95';
  const btnOutline = 'inline-block py-3.5 px-6 text-base font-medium text-center rounded-lg border border-border bg-background hover:bg-accent hover:text-accent-foreground';
  const socialLink = 'inline-flex items-center justify-center p-2 rounded-full border border-border text-foreground m-1.5 hover:bg-accent hover:text-accent-foreground';
  return jsxs("div", {
    className: "min-h-full bg-background text-foreground",
    children: [jsx("div", {
      className: "my-5 mx-2.5 md:my-20 md:mx-36 h-full",
      children: jsxs("div", {
        className: "flex items-center gap-8 flex-wrap md:flex-nowrap",
        children: [jsxs("div", {
          className: "flex-1 min-w-0 md:max-w-[40%] w-full",
          children: [jsx("p", {
            className: "text-sm text-muted-foreground leading-tight",
            children: "March 18, 2022"
          }), jsx("h1", {
            className: "text-4xl font-medium text-foreground mb-8 hover:underline",
            children: "The Mandatory Pool Safety Tips That We All Must Follow"
          }), jsx("a", {
            href: "/help/news/the_mandatory_pool_safety_tips_that_we_all_must_follow",
            children: jsx("span", {
              className: btnPrimary,
              children: "Read More"
            })
          })]
        }), jsx("div", {
          className: "flex-1 min-w-0 md:max-w-[60%] w-full",
          children: jsx("a", {
            href: "/help/news/the_mandatory_pool_safety_tips_that_we_all_must_follow",
            className: "block",
            children: jsx("img", {
              src: "https://d1tsi4dpgrrap2.cloudfront.net/resortifi_help/help_enter_images/image2-01.jpg",
              alt: "",
              className: "max-w-full w-full rounded-[15px] object-cover"
            })
          })
        })]
      })
    }), jsxs("div", {
      className: "w-[85%] mx-auto",
      children: [jsx("div", {
        className: "pb-8",
        children: jsx("h2", {
          className: "text-4xl font-semibold tracking-wide text-foreground",
          children: "Latest news"
        })
      }), jsx("div", {
        className: "flex flex-wrap gap-8",
        children: LatestNews.map(news => jsx(LatestNewsCard, {
          heading: news.heading,
          date: news.date,
          imageUrl: news.imageUrl,
          newsLink: news.newsLink
        }, news.newsLink))
      })]
    }), jsxs("div", {
      className: "bg-muted my-24 py-24",
      children: [jsxs("div", {
        className: "w-[85%] mx-auto",
        children: [jsx("h2", {
          className: "text-4xl font-semibold tracking-wide mb-2.5 text-foreground",
          children: "One-of-a-kind stays, only on Resortifi"
        }), jsx("p", {
          className: "w-full md:w-[30%] text-xl mb-8 text-muted-foreground",
          children: "Explore the unique, limited-time stays that give guests a rare glimpse into some of the most iconic places in pop culture."
        })]
      }), jsx(NewsCarousel, {
        news: stayNews
      })]
    }), jsx("div", {
      className: "w-[85%] mx-auto",
      children: jsxs("div", {
        className: "flex gap-8 items-center flex-wrap md:flex-nowrap",
        children: [jsxs("div", {
          children: [jsx("h2", {
            className: "text-[28px] font-medium mb-8 tracking-wide text-foreground",
            children: "Follow Resortifi for news and travel inspiration"
          }), jsxs("div", {
            className: "flex flex-wrap",
            children: [jsx("a", {
              href: "https://twitter.com/resortifi",
              target: "_blank",
              rel: "noreferrer",
              className: socialLink,
              "aria-label": "Twitter",
              children: jsx(RiTwitterLine, {
                className: "w-5 h-5"
              })
            }), jsx("a", {
              href: "https://www.facebook.com/Resortifi",
              target: "_blank",
              rel: "noreferrer",
              className: socialLink,
              "aria-label": "Facebook",
              children: jsx(RiFacebookFill, {
                className: "w-5 h-5"
              })
            }), jsx("a", {
              href: "https://www.instagram.com/resortifi.official/",
              target: "_blank",
              rel: "noreferrer",
              className: socialLink,
              "aria-label": "Instagram",
              children: jsx(ImInstagram, {
                className: "w-5 h-5"
              })
            })]
          })]
        }), jsx("div", {
          className: "hidden md:inline-block",
          children: jsx("img", {
            src: "https://d1tsi4dpgrrap2.cloudfront.net/resortifi_help/help_enter_images/girls-preparing-volleyball-field-01.jpg",
            alt: "",
            className: "rounded-lg h-[300px] w-auto object-cover"
          })
        }), jsx("div", {
          children: jsx("img", {
            src: "https://d1tsi4dpgrrap2.cloudfront.net/resortifi_help/help_enter_images/image2-01.jpg",
            alt: "",
            className: "rounded-lg h-[300px] w-auto object-cover"
          })
        }), jsxs("div", {
          children: [jsx("h2", {
            className: "text-[28px] font-medium mb-8 hover:underline text-foreground",
            children: "Hear more from Co\u2011founder and CEO"
          }), jsx("a", {
            href: "#",
            children: jsx("span", {
              className: btnOutline,
              children: "Learn More"
            })
          })]
        })]
      })
    }), jsxs("div", {
      className: "bg-muted my-24 py-24",
      children: [jsxs("div", {
        className: "w-[85%] mx-auto",
        children: [jsx("h2", {
          className: "text-4xl font-semibold tracking-wide mb-2.5 text-foreground",
          children: "The economic opportunities of hosting"
        }), jsx("p", {
          className: "w-full md:w-1/2 text-xl mb-8 text-muted-foreground",
          children: "More people are turning to hosting for the first time. From community stories, to the latest Host earnings data and trends, discover how it has never been easier to host and earn on Resortifi."
        })]
      }), jsx(NewsCarousel, {
        news: hostingNews
      })]
    }), jsx("div", {
      className: "my-5 mx-2.5 md:my-5 md:mx-36 h-full",
      children: jsxs("div", {
        className: "flex items-center gap-8 flex-wrap md:flex-nowrap",
        children: [jsxs("div", {
          className: "flex-1 min-w-0 md:max-w-[40%] w-full",
          children: [jsx("h1", {
            className: "text-4xl font-medium mb-8 hover:underline text-foreground",
            children: "What makes Resortifi, Resortifi"
          }), jsx("p", {
            className: "text-sm text-muted-foreground leading-tight mb-8",
            children: "A letter from our founders"
          }), jsx("a", {
            href: "/help/docs/frequent-questions-discover-more-with-resortifi",
            children: jsx("span", {
              className: btnOutline,
              children: "Read More"
            })
          })]
        }), jsx("div", {
          className: "flex-1 min-w-0 md:max-w-[60%] w-full",
          children: jsx("img", {
            src: "https://d1tsi4dpgrrap2.cloudfront.net/resortifi_help/help_enter_images/image1-01.jpg",
            alt: "",
            className: "max-w-full w-full rounded-[15px] object-cover"
          })
        })]
      })
    })]
  });
}export{News as default,links};//# sourceMappingURL=resortifi-news.js.map
