@loafmarkets/ui 0.1.259 → 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.js CHANGED
@@ -14910,14 +14910,10 @@ function PropertyBuy({
14910
14910
  }
14911
14911
  }
14912
14912
  ),
14913
- /* @__PURE__ */ jsxRuntime.jsx("div", { style: { minWidth: 0, overflow: "hidden" }, children: /* @__PURE__ */ jsxRuntime.jsx(
14914
- PropertyTour,
14915
- {
14916
- title: propertyName,
14917
- src: "/properties/Musgrave/musgrave.mp4",
14918
- style: { maxWidth: "none", width: "100%", height: "100%", borderRadius: "8px" }
14919
- }
14920
- ) })
14913
+ /* @__PURE__ */ jsxRuntime.jsxs(VideoPanel, { children: [
14914
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "video-header", children: /* @__PURE__ */ jsxRuntime.jsx("h3", { children: propertyName }) }),
14915
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "video-frame", children: /* @__PURE__ */ jsxRuntime.jsx("video", { controls: true, loop: true, autoPlay: true, muted: true, playsInline: true, children: /* @__PURE__ */ jsxRuntime.jsx("source", { src: "/properties/Musgrave/musgrave.mp4", type: "video/mp4" }) }) })
14916
+ ] })
14921
14917
  ] }),
14922
14918
  /* @__PURE__ */ jsxRuntime.jsx(
14923
14919
  OrderConfirmationModal,
@@ -15027,21 +15023,18 @@ var NewsVideoRow = styled9__default.default.div`
15027
15023
  display: flex;
15028
15024
  gap: 1.5rem;
15029
15025
  margin-top: 1.5rem;
15030
- max-width: 1800px;
15031
- margin-left: auto;
15032
- margin-right: auto;
15033
15026
  height: 700px;
15027
+ align-items: stretch;
15034
15028
 
15035
15029
  & > *:first-child {
15036
15030
  flex: 0 0 420px;
15031
+ max-width: 420px;
15037
15032
  min-width: 0;
15038
- overflow: hidden;
15039
15033
  }
15040
15034
 
15041
15035
  & > *:last-child {
15042
- flex: 1 1 0;
15036
+ flex: 1 1 0%;
15043
15037
  min-width: 0;
15044
- overflow: hidden;
15045
15038
  }
15046
15039
 
15047
15040
  @media (max-width: 1024px) {
@@ -15051,6 +15044,7 @@ var NewsVideoRow = styled9__default.default.div`
15051
15044
 
15052
15045
  & > *:first-child {
15053
15046
  flex: none;
15047
+ max-width: none;
15054
15048
  width: 100%;
15055
15049
  }
15056
15050
 
@@ -15061,6 +15055,43 @@ var NewsVideoRow = styled9__default.default.div`
15061
15055
  }
15062
15056
  }
15063
15057
  `;
15058
+ var VideoPanel = styled9__default.default.div`
15059
+ background: #111111;
15060
+ border-radius: 8px;
15061
+ display: flex;
15062
+ flex-direction: column;
15063
+ overflow: hidden;
15064
+ width: 100%;
15065
+ height: 100%;
15066
+
15067
+ .video-header {
15068
+ padding: 1.25rem 1.5rem 0;
15069
+ h3 {
15070
+ font-size: 1.1rem;
15071
+ font-weight: 600;
15072
+ color: #fff;
15073
+ margin: 0 0 1rem;
15074
+ }
15075
+ }
15076
+
15077
+ .video-frame {
15078
+ flex: 1;
15079
+ position: relative;
15080
+ margin: 0 1.5rem 1.5rem;
15081
+ border-radius: 8px;
15082
+ overflow: hidden;
15083
+ background: #000;
15084
+
15085
+ video {
15086
+ position: absolute;
15087
+ top: 0;
15088
+ left: 0;
15089
+ width: 100%;
15090
+ height: 100%;
15091
+ object-fit: cover;
15092
+ }
15093
+ }
15094
+ `;
15064
15095
  var PaymentOption = styled9__default.default.div`
15065
15096
  display: flex;
15066
15097
  align-items: center;