@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.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,
@@ -15024,23 +15020,76 @@ var ActivityWrapper = styled9__default.default.div`
15024
15020
  }
15025
15021
  `;
15026
15022
  var NewsVideoRow = styled9__default.default.div`
15027
- display: grid;
15028
- grid-template-columns: minmax(380px, 520px) minmax(0, 1fr);
15023
+ display: flex;
15029
15024
  gap: 1.5rem;
15030
15025
  margin-top: 1.5rem;
15031
- max-width: 1800px;
15032
- margin-left: auto;
15033
- margin-right: auto;
15034
15026
  height: 700px;
15035
- overflow: hidden;
15027
+ align-items: stretch;
15028
+
15029
+ & > *:first-child {
15030
+ flex: 0 0 420px;
15031
+ max-width: 420px;
15032
+ min-width: 0;
15033
+ }
15034
+
15035
+ & > *:last-child {
15036
+ flex: 1 1 0%;
15037
+ min-width: 0;
15038
+ }
15039
+
15036
15040
  @media (max-width: 1024px) {
15037
- grid-template-columns: 1fr;
15041
+ flex-direction: column;
15038
15042
  height: auto;
15039
15043
  gap: 1rem;
15044
+
15045
+ & > *:first-child {
15046
+ flex: none;
15047
+ max-width: none;
15048
+ width: 100%;
15049
+ }
15050
+
15051
+ & > *:last-child {
15052
+ flex: none;
15053
+ width: 100%;
15054
+ min-height: 400px;
15055
+ }
15040
15056
  }
15041
- & > * {
15042
- min-width: 0;
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;
15043
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
+ }
15044
15093
  }
15045
15094
  `;
15046
15095
  var PaymentOption = styled9__default.default.div`