mayak-common-library 0.0.13 → 0.0.14
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.css +0 -497
- package/dist/index.d.mts +45 -2
- package/dist/index.d.ts +45 -2
- package/dist/index.js +470 -9
- package/dist/index.mjs +463 -9
- package/package.json +3 -1
- package/tailwind.config.js +8 -0
package/dist/index.js
CHANGED
|
@@ -60,23 +60,30 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
60
60
|
var src_exports = {};
|
|
61
61
|
__export(src_exports, {
|
|
62
62
|
AppBar: () => AppBar_default,
|
|
63
|
+
ArticleCard: () => ArticleCard_default,
|
|
63
64
|
Avatar: () => Avatar_default,
|
|
64
65
|
Badge: () => Badge_default,
|
|
65
66
|
Button: () => Button_default,
|
|
67
|
+
CategoryCard: () => CategoryCard_default,
|
|
66
68
|
Chip: () => Chip_default,
|
|
67
69
|
FromToInput: () => FromToInput_default,
|
|
68
70
|
Greet: () => Greet,
|
|
69
71
|
IconButton: () => IconButton_default,
|
|
72
|
+
ImageContainer: () => ImageContainer_default,
|
|
70
73
|
Input: () => Input_default,
|
|
74
|
+
JobCard: () => JobCard_default,
|
|
71
75
|
MenuItem: () => MenuItem_default,
|
|
72
76
|
PhoneInput: () => PhoneInput_default,
|
|
73
77
|
Providers: () => Providers_default,
|
|
74
78
|
Radio: () => Radio_default,
|
|
75
79
|
RadioGroup: () => RadioGroup_default,
|
|
80
|
+
RealtorCard: () => RealtorCard_default,
|
|
81
|
+
RealtyCard: () => RealtyCard_default,
|
|
76
82
|
Select: () => Select_default,
|
|
77
83
|
SelectPro: () => SelectPro_default,
|
|
78
84
|
Slider: () => Slider_default,
|
|
79
85
|
Switch: () => Switch_default,
|
|
86
|
+
TeamPersonCard: () => TeamPersonCard_default,
|
|
80
87
|
Text: () => Text_default
|
|
81
88
|
});
|
|
82
89
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -160,7 +167,7 @@ var IconButton_default = IconButton;
|
|
|
160
167
|
var import_react = require("react");
|
|
161
168
|
var import_material3 = require("@mui/material");
|
|
162
169
|
|
|
163
|
-
// src/
|
|
170
|
+
// src/icons/dropdown-arrow.svg
|
|
164
171
|
var dropdown_arrow_default = "./dropdown-arrow-CDZAF5GJ.svg";
|
|
165
172
|
|
|
166
173
|
// src/components/Select/Select.tsx
|
|
@@ -248,14 +255,14 @@ var CustomSelect = (props) => {
|
|
|
248
255
|
};
|
|
249
256
|
var Select_default = CustomSelect;
|
|
250
257
|
|
|
251
|
-
// src/
|
|
258
|
+
// src/icons/search.svg
|
|
252
259
|
var search_default = "./search-HJGCO2DZ.svg";
|
|
253
260
|
|
|
254
261
|
// src/components/Select/SelectPro.tsx
|
|
255
262
|
var import_react2 = require("react");
|
|
256
263
|
var import_material4 = require("@mui/material");
|
|
257
264
|
|
|
258
|
-
// src/
|
|
265
|
+
// src/icons/close.svg
|
|
259
266
|
var close_default = "./close-4XJDSDVO.svg";
|
|
260
267
|
|
|
261
268
|
// src/components/Select/SelectPro.tsx
|
|
@@ -609,8 +616,46 @@ var import_ThemeProvider = __toESM(require("@mui/material/styles/ThemeProvider")
|
|
|
609
616
|
var import_createTheme = __toESM(require("@mui/material/styles/createTheme"));
|
|
610
617
|
var import_CssBaseline = __toESM(require("@mui/material/CssBaseline"));
|
|
611
618
|
var import_stylis = require("stylis");
|
|
619
|
+
|
|
620
|
+
// src/styles/assets.ts
|
|
621
|
+
var WINDOW_SIZE = {
|
|
622
|
+
xs: 0,
|
|
623
|
+
sm: 400,
|
|
624
|
+
md: 700,
|
|
625
|
+
lg: 1200,
|
|
626
|
+
xl: 1620
|
|
627
|
+
};
|
|
628
|
+
var _theme = {
|
|
629
|
+
typography: {
|
|
630
|
+
fontFamily: ["RockStar", "sans-serif"].join(","),
|
|
631
|
+
body1: {
|
|
632
|
+
fontSize: 14,
|
|
633
|
+
lineHeight: "22px"
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
breakpoints: {
|
|
637
|
+
values: {
|
|
638
|
+
xs: WINDOW_SIZE.xs,
|
|
639
|
+
sm: WINDOW_SIZE.sm,
|
|
640
|
+
md: WINDOW_SIZE.md,
|
|
641
|
+
lg: WINDOW_SIZE.lg,
|
|
642
|
+
xl: WINDOW_SIZE.xl
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
components: {
|
|
646
|
+
MuiButton: {
|
|
647
|
+
styleOverrides: {
|
|
648
|
+
root: {
|
|
649
|
+
fontFamily: "RockStar, sans-serif"
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
};
|
|
655
|
+
|
|
656
|
+
// src/theme/index.tsx
|
|
612
657
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
613
|
-
var theme = (0, import_createTheme.default)({});
|
|
658
|
+
var theme = (0, import_createTheme.default)(__spreadValues({}, _theme));
|
|
614
659
|
function ThemeRegistry(props) {
|
|
615
660
|
const { children } = props;
|
|
616
661
|
const [{ cache, flush }] = (0, import_react4.useState)(() => {
|
|
@@ -637,9 +682,7 @@ function ThemeRegistry(props) {
|
|
|
637
682
|
});
|
|
638
683
|
(0, import_navigation.useServerInsertedHTML)(() => {
|
|
639
684
|
const names = flush();
|
|
640
|
-
if (names.length === 0)
|
|
641
|
-
return null;
|
|
642
|
-
}
|
|
685
|
+
if (names.length === 0) return null;
|
|
643
686
|
let styles = "";
|
|
644
687
|
for (const name of names) {
|
|
645
688
|
styles += cache.inserted[name];
|
|
@@ -661,6 +704,225 @@ function ThemeRegistry(props) {
|
|
|
661
704
|
] }) });
|
|
662
705
|
}
|
|
663
706
|
|
|
707
|
+
// src/styles/globals.scss
|
|
708
|
+
var import_lit_element = require("lit-element/lit-element.js");
|
|
709
|
+
var globals_default = import_lit_element.css`@tailwind base;
|
|
710
|
+
@tailwind components;
|
|
711
|
+
@tailwind utilities;
|
|
712
|
+
.button {
|
|
713
|
+
width: fit-content;
|
|
714
|
+
padding: 12px 30px;
|
|
715
|
+
text-transform: unset;
|
|
716
|
+
border-radius: 0;
|
|
717
|
+
min-width: 145px;
|
|
718
|
+
font-size: 14px;
|
|
719
|
+
line-height: 16px;
|
|
720
|
+
box-shadow: none;
|
|
721
|
+
}
|
|
722
|
+
.button_dark {
|
|
723
|
+
background-color: #343434;
|
|
724
|
+
color: #fff;
|
|
725
|
+
}
|
|
726
|
+
.button_dark:hover {
|
|
727
|
+
background-color: #343434;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.border-gray {
|
|
731
|
+
border-color: #757575;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.border-dark {
|
|
735
|
+
border-color: #343434;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.border-gold {
|
|
739
|
+
border-color: #C8BCA1;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.border-gold2 {
|
|
743
|
+
border-color: #99835F;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.text-100 {
|
|
747
|
+
font-size: 100px;
|
|
748
|
+
line-height: 110px;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.text-40 {
|
|
752
|
+
font-size: 40px;
|
|
753
|
+
line-height: 48px;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.text-34 {
|
|
757
|
+
font-size: 34px;
|
|
758
|
+
line-height: 38px;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.text-10 {
|
|
762
|
+
font-size: 10px;
|
|
763
|
+
line-height: 12px;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.text-12 {
|
|
767
|
+
font-size: 12px;
|
|
768
|
+
line-height: 16px;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.text-16 {
|
|
772
|
+
font-size: 16px;
|
|
773
|
+
line-height: 19px;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.text-18 {
|
|
777
|
+
font-size: 18px;
|
|
778
|
+
line-height: 19px;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.text-light {
|
|
782
|
+
color: #fff;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.text-dark {
|
|
786
|
+
color: #343434;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.text-gold {
|
|
790
|
+
color: #C8BCA1;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.text-gray {
|
|
794
|
+
color: #757575;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.text-gray-light {
|
|
798
|
+
color: #F5F5F5;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.bg-gray-light {
|
|
802
|
+
background-color: #F5F5F5;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
.bg-gray-medium {
|
|
806
|
+
background-color: #D0CED2;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.bg-gray {
|
|
810
|
+
background-color: #757575;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.bg-dark {
|
|
814
|
+
background-color: #343434;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.bg-light {
|
|
818
|
+
background-color: #fff;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.bg-gold {
|
|
822
|
+
background-color: #C8BCA1;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.customImage {
|
|
826
|
+
position: relative;
|
|
827
|
+
}
|
|
828
|
+
.customImage img {
|
|
829
|
+
object-position: center;
|
|
830
|
+
object-fit: cover;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
@layer components {
|
|
834
|
+
.white-block-snack {
|
|
835
|
+
@apply bg-white px-[10px] py-[2px] w-fit font-extrabold text-12;
|
|
836
|
+
}
|
|
837
|
+
.black-block-snack {
|
|
838
|
+
@apply bg-dark py-[6px] px-[16px] w-fit text-white font-extrabold text-12;
|
|
839
|
+
}
|
|
840
|
+
.gray-block-snack {
|
|
841
|
+
@apply bg-gray-light px-[10px] w-fit;
|
|
842
|
+
}
|
|
843
|
+
.border-block-snack {
|
|
844
|
+
@apply px-[10px] py-[2px] text-12 border-[1px] border-dark w-fit;
|
|
845
|
+
}
|
|
846
|
+
.border-gold-block-snack {
|
|
847
|
+
@apply w-fit px-[10px] py-[2px] text-gray border-[1px] border-gold font-extrabold text-12 group-hover/card:text-white group-hover/card:bg-gold;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
@layer components {
|
|
851
|
+
.nav-item.active {
|
|
852
|
+
@apply text-accent-beige;
|
|
853
|
+
}
|
|
854
|
+
.nav-item {
|
|
855
|
+
@apply p-2 text-accent-dark;
|
|
856
|
+
text-decoration: none;
|
|
857
|
+
cursor: pointer;
|
|
858
|
+
font-weight: 800;
|
|
859
|
+
font-size: 12px;
|
|
860
|
+
text-transform: uppercase;
|
|
861
|
+
}
|
|
862
|
+
.nav-indicator {
|
|
863
|
+
@apply absolute top-0 rounded-full bg-accent-beige;
|
|
864
|
+
width: 7px;
|
|
865
|
+
height: 7px;
|
|
866
|
+
transition: transform 0.3s ease-out;
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
@font-face {
|
|
870
|
+
font-family: RockStar;
|
|
871
|
+
src: url("fonts/RockStar/Rock Star_Regular_Web.woff2");
|
|
872
|
+
font-weight: 400;
|
|
873
|
+
}
|
|
874
|
+
@font-face {
|
|
875
|
+
font-family: RockStar;
|
|
876
|
+
src: url("fonts/RockStar/Rock Star_Extra Bold_Web.woff2");
|
|
877
|
+
font-weight: 800;
|
|
878
|
+
}
|
|
879
|
+
body {
|
|
880
|
+
max-width: 100vw;
|
|
881
|
+
overflow-x: hidden;
|
|
882
|
+
margin: 0;
|
|
883
|
+
display: flex;
|
|
884
|
+
flex-direction: column;
|
|
885
|
+
min-height: 100vh;
|
|
886
|
+
color: #343434;
|
|
887
|
+
background-color: #F5F5F5;
|
|
888
|
+
font-size: 14px;
|
|
889
|
+
line-height: 20px;
|
|
890
|
+
font-weight: 400;
|
|
891
|
+
font-family: RockStar, sans-serif;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
main {
|
|
895
|
+
flex-grow: 1;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
a {
|
|
899
|
+
color: inherit;
|
|
900
|
+
text-decoration: none;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
*:focus-visible {
|
|
904
|
+
outline: none;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
@media screen and (min-width: 1200px) {
|
|
908
|
+
.MuiContainer-root {
|
|
909
|
+
padding-left: 0;
|
|
910
|
+
padding-right: 0;
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
@media screen and (max-width: 1200px) {
|
|
914
|
+
.MuiContainer-root {
|
|
915
|
+
padding-left: 40px;
|
|
916
|
+
padding-right: 40px;
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
@media screen and (max-width: 700px) {
|
|
920
|
+
.MuiContainer-root {
|
|
921
|
+
padding-left: 20px;
|
|
922
|
+
padding-right: 20px;
|
|
923
|
+
}
|
|
924
|
+
}`;
|
|
925
|
+
|
|
664
926
|
// src/providers/Providers.tsx
|
|
665
927
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
666
928
|
var Providers = ({ children }) => {
|
|
@@ -698,8 +960,8 @@ var AppBar = ({ links }) => {
|
|
|
698
960
|
ref: (el) => {
|
|
699
961
|
navItemsRef.current[index] = el;
|
|
700
962
|
},
|
|
701
|
-
href: link.
|
|
702
|
-
className: `nav-item ${index === activeIndex ? "active" : ""}`,
|
|
963
|
+
href: link.path,
|
|
964
|
+
className: `nav-item ${index === activeIndex ? "active" : ""} hover:text-accent-beige`,
|
|
703
965
|
onClick: () => handleClick(index),
|
|
704
966
|
children: link.title
|
|
705
967
|
},
|
|
@@ -708,25 +970,224 @@ var AppBar = ({ links }) => {
|
|
|
708
970
|
] });
|
|
709
971
|
};
|
|
710
972
|
var AppBar_default = AppBar;
|
|
973
|
+
|
|
974
|
+
// src/components/Image/ImageContainer.tsx
|
|
975
|
+
var import_material13 = require("@mui/material");
|
|
976
|
+
var import_image = __toESM(require("next/image"));
|
|
977
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
978
|
+
var ImageContainer = (props) => {
|
|
979
|
+
const {
|
|
980
|
+
src,
|
|
981
|
+
alt,
|
|
982
|
+
width = "w-full",
|
|
983
|
+
height = "h-full",
|
|
984
|
+
contentful = true,
|
|
985
|
+
priority = false,
|
|
986
|
+
loading = "lazy",
|
|
987
|
+
objectFit = "object-cover"
|
|
988
|
+
} = props;
|
|
989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_material13.Box, { className: `relative ${width} ${height}`, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
990
|
+
import_image.default,
|
|
991
|
+
{
|
|
992
|
+
className: `${objectFit} object-center`,
|
|
993
|
+
src: contentful ? `https:${src}` : src,
|
|
994
|
+
alt,
|
|
995
|
+
fill: true,
|
|
996
|
+
loading,
|
|
997
|
+
sizes: "(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",
|
|
998
|
+
priority
|
|
999
|
+
}
|
|
1000
|
+
) });
|
|
1001
|
+
};
|
|
1002
|
+
var ImageContainer_default = ImageContainer;
|
|
1003
|
+
|
|
1004
|
+
// src/components/Card/CategoryCard.tsx
|
|
1005
|
+
var import_material14 = require("@mui/material");
|
|
1006
|
+
var import_link2 = __toESM(require("next/link"));
|
|
1007
|
+
|
|
1008
|
+
// src/lib/assets.ts
|
|
1009
|
+
var NO_IMAGE = "/images/no-photo.svg";
|
|
1010
|
+
|
|
1011
|
+
// src/components/Card/CategoryCard.tsx
|
|
1012
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1013
|
+
var CategoryCard = (props) => {
|
|
1014
|
+
const { link, text, title, image_url = NO_IMAGE } = props;
|
|
1015
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_link2.default, { href: link, className: "group/card", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_material14.Box, { className: "flex flex-col gap-[20px]", children: [
|
|
1016
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ImageContainer_default, { src: image_url, alt: title, height: "h-[300px]" }),
|
|
1017
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_material14.Box, { className: "flex flex-col px-[16px]", children: [
|
|
1018
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1019
|
+
import_material14.Typography,
|
|
1020
|
+
{
|
|
1021
|
+
component: "span",
|
|
1022
|
+
className: "font-extrabold text-16 group-hover/card:text-gold2",
|
|
1023
|
+
children: title
|
|
1024
|
+
}
|
|
1025
|
+
),
|
|
1026
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_material14.Typography, { component: "span", className: "group-hover/card:text-gold2", children: text })
|
|
1027
|
+
] })
|
|
1028
|
+
] }) });
|
|
1029
|
+
};
|
|
1030
|
+
var CategoryCard_default = CategoryCard;
|
|
1031
|
+
|
|
1032
|
+
// src/components/Card/ArticleCard.tsx
|
|
1033
|
+
var import_link3 = __toESM(require("next/link"));
|
|
1034
|
+
var import_material15 = require("@mui/material");
|
|
1035
|
+
var import_Typography5 = __toESM(require("@mui/material/Typography"));
|
|
1036
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1037
|
+
var ArticleCard = (props) => {
|
|
1038
|
+
const { image_src = NO_IMAGE } = props;
|
|
1039
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_link3.default, { href: "/", className: "group/card bg-gray-light", children: [
|
|
1040
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1041
|
+
ImageContainer_default,
|
|
1042
|
+
{
|
|
1043
|
+
src: image_src,
|
|
1044
|
+
alt: "test",
|
|
1045
|
+
contentful: false,
|
|
1046
|
+
height: "h-[220px]"
|
|
1047
|
+
}
|
|
1048
|
+
),
|
|
1049
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_material15.Box, { className: "pt-[24px] pl-[16px] pr-[50px] pb-[10px] flex flex-col gap-[6px]", children: [
|
|
1050
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1051
|
+
import_Typography5.default,
|
|
1052
|
+
{
|
|
1053
|
+
component: "span",
|
|
1054
|
+
className: "text-16 font-extrabold group-hover/card:text-gold2",
|
|
1055
|
+
children: "\u041E\u0441\u043E\u0431\u043B\u0438\u0432\u043E\u0441\u0442\u0456 \u043A\u0443\u043F\u0456\u0432\u043B\u0456 \u0433\u043E\u0442\u0435\u043B\u044E"
|
|
1056
|
+
}
|
|
1057
|
+
),
|
|
1058
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1059
|
+
import_Typography5.default,
|
|
1060
|
+
{
|
|
1061
|
+
component: "span",
|
|
1062
|
+
className: "text-gray group-hover/card:text-gold2",
|
|
1063
|
+
children: "We have built a strong network in Dubai since 2009, which allows us to source the best deal for"
|
|
1064
|
+
}
|
|
1065
|
+
),
|
|
1066
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_Typography5.default, { component: "span", className: "border-gold-block-snack", children: "\u0422\u0435\u0433-\u043D\u0430\u0437\u0432\u0430" })
|
|
1067
|
+
] })
|
|
1068
|
+
] });
|
|
1069
|
+
};
|
|
1070
|
+
var ArticleCard_default = ArticleCard;
|
|
1071
|
+
|
|
1072
|
+
// src/components/Card/JobCard.tsx
|
|
1073
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
1074
|
+
var JobCard = () => {
|
|
1075
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, {});
|
|
1076
|
+
};
|
|
1077
|
+
var JobCard_default = JobCard;
|
|
1078
|
+
|
|
1079
|
+
// src/components/Card/RealtorCard.tsx
|
|
1080
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1081
|
+
var RealtorCard = () => {
|
|
1082
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx_runtime25.Fragment, {});
|
|
1083
|
+
};
|
|
1084
|
+
var RealtorCard_default = RealtorCard;
|
|
1085
|
+
|
|
1086
|
+
// src/components/Card/RealtyCard.tsx
|
|
1087
|
+
var import_material16 = require("@mui/material");
|
|
1088
|
+
var import_link4 = __toESM(require("next/link"));
|
|
1089
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1090
|
+
var RealtyCard = () => {
|
|
1091
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_link4.default, { href: "/", className: "relative", children: [
|
|
1092
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material16.Box, { className: "absolute left-[16px] top-[16px] flex flex-col gap-[9px] z-[1]", children: [
|
|
1093
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "white", label: "id: 00154" }),
|
|
1094
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "white", label: "\u0416\u041A: \u0421\u0443\u0447\u0430\u0441\u043D\u0438\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B4" })
|
|
1095
|
+
] }),
|
|
1096
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1097
|
+
ImageContainer_default,
|
|
1098
|
+
{
|
|
1099
|
+
src: "/images/test.png",
|
|
1100
|
+
alt: "test",
|
|
1101
|
+
height: "h-[260px]",
|
|
1102
|
+
contentful: false
|
|
1103
|
+
}
|
|
1104
|
+
),
|
|
1105
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material16.Box, { className: "bg-white py-[20px] px-[16px] flex flex-col gap-[6px]", children: [
|
|
1106
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "black", label: "120 000 \u20B4/\u043C\u0456\u0441\u044F\u0446\u044C" }),
|
|
1107
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material16.Typography, { component: "span", className: "font-extrabold", children: "\u0432\u0443\u043B. \u0414\u0440\u0430\u0433\u043E\u043C\u0438\u0440\u043E\u0432\u0430 25" }),
|
|
1108
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material16.Typography, { component: "span", className: "text-12", children: "\u041F\u0435\u0447\u0435\u0440\u0441\u044C\u043A\u0438\u0439 \u0440-\u043D" }),
|
|
1109
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1110
|
+
Chip_default,
|
|
1111
|
+
{
|
|
1112
|
+
view: "silver",
|
|
1113
|
+
label: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material16.Stack, { direction: "row", spacing: 1, children: [
|
|
1114
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material16.Typography, { children: "\u043C\u0435\u0442\u0440\u043E:" }),
|
|
1115
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material16.Typography, { className: "font-extrabold", children: "\u041B\u0438\u0431\u0456\u0434\u0441\u044C\u043A\u0430" })
|
|
1116
|
+
] })
|
|
1117
|
+
}
|
|
1118
|
+
),
|
|
1119
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material16.Box, { className: "flex flex-wrap gap-[6px] mt-[6px]", children: [
|
|
1120
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "line", label: "2 \u043A\u0456\u043C\u043D" }),
|
|
1121
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "line", label: "60 \u043C\xB2" }),
|
|
1122
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "line", label: "\u043F\u043E\u0432\u0435\u0440\u0445: 3/24" })
|
|
1123
|
+
] })
|
|
1124
|
+
] })
|
|
1125
|
+
] });
|
|
1126
|
+
};
|
|
1127
|
+
var RealtyCard_default = RealtyCard;
|
|
1128
|
+
|
|
1129
|
+
// src/components/Card/TeamPersonCard.tsx
|
|
1130
|
+
var import_material17 = require("@mui/material");
|
|
1131
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1132
|
+
var TeamPersonCard = (props) => {
|
|
1133
|
+
const { image_url = NO_IMAGE, name, position, text } = props;
|
|
1134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material17.Box, { className: "group/card", children: [
|
|
1135
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material17.Box, { className: "relative h-[300px]", children: [
|
|
1136
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material17.Box, { className: "w-full h-full bg-gray-medium group-hover/card:brightness-[50%]", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1137
|
+
ImageContainer_default,
|
|
1138
|
+
{
|
|
1139
|
+
contentful: false,
|
|
1140
|
+
src: image_url,
|
|
1141
|
+
alt: name,
|
|
1142
|
+
objectFit: "object-contain"
|
|
1143
|
+
}
|
|
1144
|
+
) }),
|
|
1145
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material17.Box, { className: "hidden absolute top-[110px] left-[30px] right-[30px] group-hover/card:flex flex-col text-white", children: [
|
|
1146
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material17.Typography, { component: "span", className: "text-16 font-extrabold", children: position }),
|
|
1147
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material17.Typography, { component: "span", className: "mt-[4px]", children: name }),
|
|
1148
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1149
|
+
import_material17.Typography,
|
|
1150
|
+
{
|
|
1151
|
+
component: "span",
|
|
1152
|
+
className: "mt-[11px] text-12 !leading-[16px]",
|
|
1153
|
+
children: text
|
|
1154
|
+
}
|
|
1155
|
+
)
|
|
1156
|
+
] })
|
|
1157
|
+
] }),
|
|
1158
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material17.Box, { className: "mt-[20px] text-center mx-auto flex flex-col w-10/12", children: [
|
|
1159
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material17.Typography, { component: "span", className: "text-16 font-extrabold", children: position }),
|
|
1160
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material17.Typography, { component: "span", className: "text-gray", children: name })
|
|
1161
|
+
] })
|
|
1162
|
+
] });
|
|
1163
|
+
};
|
|
1164
|
+
var TeamPersonCard_default = TeamPersonCard;
|
|
711
1165
|
// Annotate the CommonJS export names for ESM import in node:
|
|
712
1166
|
0 && (module.exports = {
|
|
713
1167
|
AppBar,
|
|
1168
|
+
ArticleCard,
|
|
714
1169
|
Avatar,
|
|
715
1170
|
Badge,
|
|
716
1171
|
Button,
|
|
1172
|
+
CategoryCard,
|
|
717
1173
|
Chip,
|
|
718
1174
|
FromToInput,
|
|
719
1175
|
Greet,
|
|
720
1176
|
IconButton,
|
|
1177
|
+
ImageContainer,
|
|
721
1178
|
Input,
|
|
1179
|
+
JobCard,
|
|
722
1180
|
MenuItem,
|
|
723
1181
|
PhoneInput,
|
|
724
1182
|
Providers,
|
|
725
1183
|
Radio,
|
|
726
1184
|
RadioGroup,
|
|
1185
|
+
RealtorCard,
|
|
1186
|
+
RealtyCard,
|
|
727
1187
|
Select,
|
|
728
1188
|
SelectPro,
|
|
729
1189
|
Slider,
|
|
730
1190
|
Switch,
|
|
1191
|
+
TeamPersonCard,
|
|
731
1192
|
Text
|
|
732
1193
|
});
|