Skip to content

The Open Standard for Generative UI

16.0 KB
Raw Blame
import svgPaths from "./svg-xnl112irdr";
const hotelPlazaImg = "/images/home/706ccb488b69a5bdb06bdd002656a2fdfb017071.png";
const hotelGeorgeVImg = "/images/home/6dea3a71b902a0282d8518928f3b06373b617aba.png";
const hotelShangriLaImg = "/images/home/d781d9c958cc5cf8f3fc5fd61562ebcf0c7ba0a5.png";

function Frame12() {
  return (
    <div className="content-stretch flex flex-col gap-[4.71px] items-start not-italic relative shrink-0 w-full whitespace-pre-wrap">
      <p className="font-['Inter:Semi_Bold',sans-serif] font-semibold leading-[1.15] relative shrink-0 text-[14.129px] text-black tracking-[-0.4415px] w-full">
        Modern Hotels in Paris
      </p>
      <p className="font-['Inter:Regular',sans-serif] font-normal leading-[1.5] relative shrink-0 text-[9.419px] text-[rgba(0,0,0,0.4)] w-full">
        Showing 5 results
      </p>
    </div>
  );
}

function Frame() {
  return (
    <div className="aspect-[296/196] bg-[#ffb4b4] overflow-clip relative rounded-[7.065px] shrink-0 w-full">
      <div
        className="absolute h-[137.76px] left-[-4.71px] top-[-11.19px] w-[183.68px]"
        data-name="image 1"
      >
        <img
          alt=""
          className="absolute inset-0 max-w-none object-cover pointer-events-none size-full"
          src={hotelPlazaImg}
        />
      </div>
    </div>
  );
}

function Frame5() {
  return (
    <div className="content-stretch flex items-start relative shrink-0">
      <div
        className="bg-[rgba(13,160,94,0.1)] content-stretch flex gap-[2.355px] h-[18.839px] items-center px-[4.71px] py-[3.532px] relative rounded-[5.006px] shrink-0"
        data-name="Tag"
      >
        <div className="relative shrink-0 size-[8.242px]" data-name="Icon Container">
          <div className="absolute left-0 overflow-clip size-[8.242px] top-0" data-name="24 clover">
            <div className="absolute inset-[12.52%_12.52%_8.33%_8.33%]" data-name="Vector">
              <div className="absolute inset-[-4.51%]">
                <svg
                  className="block size-full"
                  fill="none"
                  preserveAspectRatio="none"
                  viewBox="0 0 7.11177 7.11176"
                >
                  <path
                    d={svgPaths.p19cc8d00}
                    id="Vector"
                    stroke="var(--stroke-0, #067647)"
                    strokeLinecap="round"
                    strokeLinejoin="round"
                    strokeWidth="0.588716"
                  />
                </svg>
              </div>
            </div>
          </div>
        </div>
        <p className="font-['Inter:Regular',sans-serif] font-normal leading-[1.2] not-italic relative shrink-0 text-[#067647] text-[8.24px]">
          Free Wifi
        </p>
      </div>
    </div>
  );
}

function Frame1() {
  return (
    <div className="content-stretch flex flex-col items-start leading-[1.5] not-italic relative shrink-0 text-[9.419px] w-full">
      <p className="font-['Inter:Medium',sans-serif] font-medium relative shrink-0 text-black">
        Hotel Plaza Athenee
      </p>
      <p className="font-['Inter:Regular',sans-serif] font-normal min-w-full relative shrink-0 text-[rgba(0,0,0,0.4)] w-[min-content] whitespace-pre-wrap">
        Haute couture suites; courtyard dining; Dior spa; near Champs-Élysées.
      </p>
    </div>
  );
}

function Frame4() {
  return (
    <div className="bg-white content-stretch flex flex-col gap-[7.065px] items-start p-[7.065px] relative rounded-[13.35px] shrink-0 w-[188.389px]">
      <div
        aria-hidden="true"
        className="absolute border-[#e4e4e4] border-[0.834px] border-solid inset-0 pointer-events-none rounded-[13.35px] shadow-[3.338px_3.338px_6.675px_0px_rgba(174,174,192,0.4)]"
      />
      <Frame />
      <Frame5 />
      <Frame1 />
      <div
        className="bg-black content-stretch flex h-[21.194px] items-center justify-between px-[7.065px] py-[4.71px] relative rounded-[6.675px] shrink-0 w-[174.26px]"
        data-name="Primary Button"
      >
        <div
          aria-hidden="true"
          className="absolute border-[0.589px] border-[rgba(255,255,255,0.08)] border-solid inset-0 pointer-events-none rounded-[6.675px]"
        />
        <p className="font-['Inter:Regular',sans-serif] font-normal leading-[1.5] not-italic relative shrink-0 text-[9.42px] text-white">
          Book
        </p>
        <div className="relative shrink-0 size-[9.419px]" data-name="Icon Container">
          <div
            className="absolute left-0 overflow-clip size-[9.419px] top-0"
            data-name="16 arrow-right"
          >
            <div className="absolute inset-[20.83%]" data-name="Vector">
              <div className="absolute inset-[-5.36%]">
                <svg
                  className="block size-full"
                  fill="none"
                  preserveAspectRatio="none"
                  viewBox="0 0 6.0834 6.0834"
                >
                  <path
                    d={svgPaths.p35141f00}
                    id="Vector"
                    stroke="var(--stroke-0, white)"
                    strokeLinecap="round"
                    strokeLinejoin="round"
                    strokeWidth="0.588716"
                  />
                </svg>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  );
}

function Frame2() {
  return (
    <div className="aspect-[296/196] bg-[#ffb4b4] overflow-clip relative rounded-[7.065px] shrink-0 w-full">
      <div
        className="absolute h-[124.219px] left-[-27.67px] top-[-0.59px] w-[230.391px]"
        data-name="image 2"
      >
        <img
          alt=""
          className="absolute inset-0 max-w-none object-cover pointer-events-none size-full"
          src={hotelGeorgeVImg}
        />
      </div>
    </div>
  );
}

function Frame6() {
  return (
    <div className="content-stretch flex items-start relative shrink-0">
      <div
        className="bg-[rgba(203,63,73,0.1)] content-stretch flex gap-[2.355px] h-[18.839px] items-center px-[4.71px] py-[3.532px] relative rounded-[5.006px] shrink-0"
        data-name="Tag"
      >
        <div className="relative shrink-0 size-[8.242px]" data-name="Icon Container">
          <div className="absolute left-0 overflow-clip size-[8.242px] top-0" data-name="16 heart">
            <div className="absolute inset-[12.5%_8.33%]" data-name="Vector">
              <div className="absolute inset-[-4.76%_-4.29%]">
                <svg
                  className="block size-full"
                  fill="none"
                  preserveAspectRatio="none"
                  viewBox="0 0 7.45708 6.77024"
                >
                  <path
                    d={svgPaths.p1cbd5b00}
                    id="Vector"
                    stroke="var(--stroke-0, #E94852)"
                    strokeLinecap="round"
                    strokeLinejoin="round"
                    strokeWidth="0.588716"
                  />
                </svg>
              </div>
            </div>
          </div>
        </div>
        <p className="font-['Inter:Regular',sans-serif] font-normal leading-[1.2] not-italic relative shrink-0 text-[#e94852] text-[8.24px]">
          Family-friendly
        </p>
      </div>
    </div>
  );
}

function Frame7() {
  return (
    <div className="content-stretch flex flex-col items-start leading-[1.5] not-italic relative shrink-0 text-[9.419px] w-full">
      <p className="font-['Inter:Medium',sans-serif] font-medium relative shrink-0 text-black">
        Four Seasons George V
      </p>
      <p className="font-['Inter:Regular',sans-serif] font-normal min-w-full relative shrink-0 text-[rgba(0,0,0,0.4)] w-[min-content] whitespace-pre-wrap">
        Landmark hotel with opulent rooms, Michelin dining, and a lavish spa.
      </p>
    </div>
  );
}

function Frame3() {
  return (
    <div className="bg-white relative rounded-[13.35px] shrink-0 w-[188.389px]">
      <div className="content-stretch flex flex-col gap-[7.065px] items-start overflow-clip p-[7.065px] relative rounded-[inherit] w-full">
        <Frame2 />
        <Frame6 />
        <Frame7 />
        <div
          className="bg-black content-stretch flex h-[21.194px] items-center justify-between px-[7.065px] py-[4.71px] relative rounded-[6.675px] shrink-0 w-[174.26px]"
          data-name="Primary Button"
        >
          <div
            aria-hidden="true"
            className="absolute border-[0.589px] border-[rgba(255,255,255,0.08)] border-solid inset-0 pointer-events-none rounded-[6.675px]"
          />
          <p className="font-['Inter:Regular',sans-serif] font-normal leading-[1.5] not-italic relative shrink-0 text-[9.42px] text-white">
            Book
          </p>
          <div className="relative shrink-0 size-[9.419px]" data-name="Icon Container">
            <div
              className="absolute left-0 overflow-clip size-[9.419px] top-0"
              data-name="16 arrow-right"
            >
              <div className="absolute inset-[20.83%]" data-name="Vector">
                <div className="absolute inset-[-5.36%]">
                  <svg
                    className="block size-full"
                    fill="none"
                    preserveAspectRatio="none"
                    viewBox="0 0 6.0834 6.0834"
                  >
                    <path
                      d={svgPaths.p35141f00}
                      id="Vector"
                      stroke="var(--stroke-0, white)"
                      strokeLinecap="round"
                      strokeLinejoin="round"
                      strokeWidth="0.588716"
                    />
                  </svg>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div
        aria-hidden="true"
        className="absolute border-[#e4e4e4] border-[0.834px] border-solid inset-0 pointer-events-none rounded-[13.35px] shadow-[3.338px_3.338px_6.675px_0px_rgba(174,174,192,0.4)]"
      />
    </div>
  );
}

function Frame9() {
  return (
    <div className="aspect-[296/196] bg-[#ffb4b4] overflow-clip relative rounded-[7.065px] shrink-0 w-full">
      <img
        alt=""
        className="absolute inset-0 max-w-none object-cover pointer-events-none size-full"
        src={hotelShangriLaImg}
      />
    </div>
  );
}

function Frame10() {
  return (
    <div className="content-stretch flex items-start relative shrink-0">
      <div
        className="bg-[rgba(0,0,0,0.06)] content-stretch flex gap-[2.355px] h-[18.839px] items-center px-[4.71px] py-[3.532px] relative rounded-[5.006px] shrink-0"
        data-name="Tag"
      >
        <div className="relative shrink-0 size-[8.242px]" data-name="Icon Container">
          <div className="absolute left-0 overflow-clip size-[8.242px] top-0" data-name="14 star">
            <div className="absolute inset-[8.33%_8.33%_12.2%_8.33%]" data-name="Vector">
              <div className="absolute inset-[-4.49%_-4.29%]">
                <svg
                  className="block size-full"
                  fill="none"
                  preserveAspectRatio="none"
                  viewBox="0 0 7.4577 7.13841"
                >
                  <path
                    d={svgPaths.p1b97b000}
                    id="Vector"
                    stroke="var(--stroke-0, black)"
                    strokeLinecap="round"
                    strokeLinejoin="round"
                    strokeWidth="0.588716"
                  />
                </svg>
              </div>
            </div>
          </div>
        </div>
        <p className="font-['Inter:Regular',sans-serif] font-normal leading-[1.2] not-italic relative shrink-0 text-[8.24px] text-black">
          Elite
        </p>
      </div>
    </div>
  );
}

function Frame11() {
  return (
    <div className="content-stretch flex flex-col items-start leading-[1.5] not-italic relative shrink-0 text-[9.419px] w-full">
      <p className="font-['Inter:Medium',sans-serif] font-medium relative shrink-0 text-black">
        Shangri-La Hotel
      </p>
      <p className="font-['Inter:Regular',sans-serif] font-normal min-w-full relative shrink-0 text-[rgba(0,0,0,0.4)] w-[min-content] whitespace-pre-wrap">
        Stunning Eiffel Tower views; Michelin-starred Cantonese cuisine; serene spa.
      </p>
    </div>
  );
}

function Frame8() {
  return (
    <div className="bg-white relative rounded-[13.35px] shrink-0 w-[188.389px]">
      <div className="content-stretch flex flex-col gap-[7.065px] items-start overflow-clip p-[7.065px] relative rounded-[inherit] w-full">
        <Frame9 />
        <Frame10 />
        <Frame11 />
        <div
          className="bg-black content-stretch flex h-[21.194px] items-center justify-between px-[7.065px] py-[4.71px] relative rounded-[6.675px] shrink-0 w-[174.26px]"
          data-name="Primary Button"
        >
          <div
            aria-hidden="true"
            className="absolute border-[0.589px] border-[rgba(255,255,255,0.08)] border-solid inset-0 pointer-events-none rounded-[6.675px]"
          />
          <p className="font-['Inter:Regular',sans-serif] font-normal leading-[1.5] not-italic relative shrink-0 text-[9.42px] text-white">
            Book
          </p>
          <div className="relative shrink-0 size-[9.419px]" data-name="Icon Container">
            <div
              className="absolute left-0 overflow-clip size-[9.419px] top-0"
              data-name="16 square-square"
            >
              <div className="absolute inset-[12.5%]" data-name="Vector">
                <div className="absolute inset-[-4.17%]">
                  <svg
                    className="block size-full"
                    fill="none"
                    preserveAspectRatio="none"
                    viewBox="0 0 7.65331 7.65331"
                  >
                    <g id="Vector">
                      <path
                        d={svgPaths.p139804f2}
                        stroke="var(--stroke-0, white)"
                        strokeLinecap="round"
                        strokeLinejoin="round"
                        strokeWidth="0.588716"
                      />
                      <path
                        d={svgPaths.p205e4e00}
                        stroke="var(--stroke-0, white)"
                        strokeLinecap="round"
                        strokeLinejoin="round"
                        strokeWidth="0.588716"
                      />
                    </g>
                  </svg>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div
        aria-hidden="true"
        className="absolute border-[#e4e4e4] border-[0.834px] border-solid inset-0 pointer-events-none rounded-[13.35px] shadow-[3.338px_3.338px_6.675px_0px_rgba(174,174,192,0.4)]"
      />
    </div>
  );
}

function Carousel() {
  return (
    <div
      className="content-stretch flex gap-[10.597px] items-center relative rounded-[9.419px] shrink-0"
      data-name="Carousel"
    >
      <Frame4 />
      <Frame3 />
      <Frame8 />
      <div className="absolute bg-gradient-to-l from-[#f4f4f4] h-[209px] left-[437.23px] to-[rgba(244,244,244,0)] top-[-4.26px] w-[34px]" />
      <div className="absolute flex h-[20px] items-center justify-center left-[437.23px] top-[225.74px] w-[34px]">
        <div className="-scale-y-100 flex-none">
          <div className="bg-gradient-to-l from-[#f4f4f4] h-[20px] to-[rgba(244,244,244,0)] w-[34px]" />
        </div>
      </div>
    </div>
  );
}

function Frame13() {
  return (
    <div className="-translate-x-1/2 absolute bg-[#f4f4f4] left-[calc(50%-2.5px)] rounded-[11.774px] top-[16px] w-[489px]">
      <div className="content-stretch flex flex-col gap-[11.774px] items-start overflow-clip p-[20px] relative rounded-[inherit] w-full">
        <Frame12 />
        <Carousel />
      </div>
      <div
        aria-hidden="true"
        className="absolute border-[0.589px] border-[rgba(0,0,0,0.06)] border-solid inset-0 pointer-events-none rounded-[11.774px]"
      />
    </div>
  );
}

export default function OpenUiRendererRendersIt() {
  return (
    <div
      className="overflow-clip relative rounded-[16px] size-full"
      data-name="OpenUI renderer renders it"
    >
      <Frame13 />
    </div>
  );
}