@loafmarkets/ui 0.1.258 → 0.1.260

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -14884,14 +14884,10 @@ function PropertyBuy({
14884
14884
  }
14885
14885
  }
14886
14886
  ),
14887
- /* @__PURE__ */ jsx("div", { style: { minWidth: 0, overflow: "hidden" }, children: /* @__PURE__ */ jsx(
14888
- PropertyTour,
14889
- {
14890
- title: propertyName,
14891
- src: "/properties/Musgrave/musgrave.mp4",
14892
- style: { maxWidth: "none", width: "100%", height: "100%", borderRadius: "8px" }
14893
- }
14894
- ) })
14887
+ /* @__PURE__ */ jsxs(VideoPanel, { children: [
14888
+ /* @__PURE__ */ jsx("div", { className: "video-header", children: /* @__PURE__ */ jsx("h3", { children: propertyName }) }),
14889
+ /* @__PURE__ */ jsx("div", { className: "video-frame", children: /* @__PURE__ */ jsx("video", { controls: true, loop: true, autoPlay: true, muted: true, playsInline: true, children: /* @__PURE__ */ jsx("source", { src: "/properties/Musgrave/musgrave.mp4", type: "video/mp4" }) }) })
14890
+ ] })
14895
14891
  ] }),
14896
14892
  /* @__PURE__ */ jsx(
14897
14893
  OrderConfirmationModal,
@@ -14998,23 +14994,76 @@ var ActivityWrapper = styled9.div`
14998
14994
  }
14999
14995
  `;
15000
14996
  var NewsVideoRow = styled9.div`
15001
- display: grid;
15002
- grid-template-columns: minmax(380px, 520px) minmax(0, 1fr);
14997
+ display: flex;
15003
14998
  gap: 1.5rem;
15004
14999
  margin-top: 1.5rem;
15005
- max-width: 1800px;
15006
- margin-left: auto;
15007
- margin-right: auto;
15008
15000
  height: 700px;
15009
- overflow: hidden;
15001
+ align-items: stretch;
15002
+
15003
+ & > *:first-child {
15004
+ flex: 0 0 420px;
15005
+ max-width: 420px;
15006
+ min-width: 0;
15007
+ }
15008
+
15009
+ & > *:last-child {
15010
+ flex: 1 1 0%;
15011
+ min-width: 0;
15012
+ }
15013
+
15010
15014
  @media (max-width: 1024px) {
15011
- grid-template-columns: 1fr;
15015
+ flex-direction: column;
15012
15016
  height: auto;
15013
15017
  gap: 1rem;
15018
+
15019
+ & > *:first-child {
15020
+ flex: none;
15021
+ max-width: none;
15022
+ width: 100%;
15023
+ }
15024
+
15025
+ & > *:last-child {
15026
+ flex: none;
15027
+ width: 100%;
15028
+ min-height: 400px;
15029
+ }
15014
15030
  }
15015
- & > * {
15016
- min-width: 0;
15031
+ `;
15032
+ var VideoPanel = styled9.div`
15033
+ background: #111111;
15034
+ border-radius: 8px;
15035
+ display: flex;
15036
+ flex-direction: column;
15037
+ overflow: hidden;
15038
+ width: 100%;
15039
+ height: 100%;
15040
+
15041
+ .video-header {
15042
+ padding: 1.25rem 1.5rem 0;
15043
+ h3 {
15044
+ font-size: 1.1rem;
15045
+ font-weight: 600;
15046
+ color: #fff;
15047
+ margin: 0 0 1rem;
15048
+ }
15049
+ }
15050
+
15051
+ .video-frame {
15052
+ flex: 1;
15053
+ position: relative;
15054
+ margin: 0 1.5rem 1.5rem;
15055
+ border-radius: 8px;
15017
15056
  overflow: hidden;
15057
+ background: #000;
15058
+
15059
+ video {
15060
+ position: absolute;
15061
+ top: 0;
15062
+ left: 0;
15063
+ width: 100%;
15064
+ height: 100%;
15065
+ object-fit: cover;
15066
+ }
15018
15067
  }
15019
15068
  `;
15020
15069
  var PaymentOption = styled9.div`