mario-core 2.0.206-staging → 2.0.208-staging
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/Dashboard-BNSXRqNv.mjs +206 -0
- package/dist/Dashboard-BTCfivMF.js +1 -0
- package/dist/Dashboard-C1zW85ui.mjs +206 -0
- package/dist/Dashboard-CJ3o7DkE.js +1 -0
- package/dist/Dashboard-CWhYQovD.mjs +206 -0
- package/dist/Dashboard-D1hlBGlO.js +1 -0
- package/dist/Dashboard-DF5CQpAs.js +1 -0
- package/dist/Dashboard-DdhMO4ue.js +1 -0
- package/dist/Dashboard-DgMGm7UF.mjs +206 -0
- package/dist/Dashboard-Q9CuFOhC.mjs +206 -0
- package/dist/Dashboard-VPXPfklW.mjs +206 -0
- package/dist/Dashboard-nqCEhiRZ.js +1 -0
- package/dist/EmailTemplateDetail-B-NInIUS.js +1 -0
- package/dist/EmailTemplateDetail-BClIcleP.js +1 -0
- package/dist/EmailTemplateDetail-BpMexvC_.js +1 -0
- package/dist/EmailTemplateDetail-C6ekVEKF.mjs +443 -0
- package/dist/EmailTemplateDetail-CGVsJ802.mjs +443 -0
- package/dist/EmailTemplateDetail-CP_35uCm.mjs +443 -0
- package/dist/EmailTemplateDetail-CigFz6NH.mjs +443 -0
- package/dist/EmailTemplateDetail-Cp-tuaHG.mjs +443 -0
- package/dist/EmailTemplateDetail-D53jZ28C.js +1 -0
- package/dist/EmailTemplateDetail-DLWUmAfj.js +1 -0
- package/dist/EmailTemplateDetail-DTvZr8XY.mjs +443 -0
- package/dist/EmailTemplateDetail-tR-IN-qS.js +1 -0
- package/dist/EmailTemplateList-B2LSgWcg.mjs +170 -0
- package/dist/EmailTemplateList-BME6Jv6E.js +1 -0
- package/dist/EmailTemplateList-CG2fy5-F.mjs +170 -0
- package/dist/EmailTemplateList-D7eKROH3.mjs +170 -0
- package/dist/EmailTemplateList-DKAa0XiX.js +1 -0
- package/dist/EmailTemplateList-DPj3B7uV.js +1 -0
- package/dist/EmailTemplateList-DRsTpY97.js +1 -0
- package/dist/EmailTemplateList-Dfu2Pjsg.mjs +170 -0
- package/dist/EmailTemplateList-VTQ3ssX3.mjs +170 -0
- package/dist/EmailTemplateList-fjEQuvD8.mjs +170 -0
- package/dist/EmailTemplateList-iY_Nlue7.js +1 -0
- package/dist/EmailTemplateList-z_yEzhSR.js +1 -0
- package/dist/GalleryList-BB7bepuF.js +1 -0
- package/dist/GalleryList-BN3Dt05C.js +1 -0
- package/dist/GalleryList-BRM_Ef_0.mjs +329 -0
- package/dist/GalleryList-BU7RFjTw.js +1 -0
- package/dist/GalleryList-BYpqOylm.mjs +329 -0
- package/dist/GalleryList-C9uUllg8.js +1 -0
- package/dist/GalleryList-CQ7huqkO.mjs +329 -0
- package/dist/GalleryList-D5mnB-Mh.js +1 -0
- package/dist/GalleryList-DTWkRdrf.mjs +329 -0
- package/dist/GalleryList-DmVkbtIT.mjs +329 -0
- package/dist/GalleryList-DwaOZJLL.js +1 -0
- package/dist/GalleryList-N5moEkwh.mjs +329 -0
- package/dist/Login-BNjZvNkb.js +1 -0
- package/dist/Login-BrVazC2p.js +1 -0
- package/dist/Login-Bs_JIFQV.js +1 -0
- package/dist/Login-CUc-bk-c.js +1 -0
- package/dist/Login-CaXYJyoo.mjs +1697 -0
- package/dist/Login-CoyIh6sc.mjs +1699 -0
- package/dist/Login-DDJ9Vw-b.mjs +1697 -0
- package/dist/Login-DZEnUx5H.mjs +1699 -0
- package/dist/Login-DyOJVogI.mjs +1699 -0
- package/dist/Login-KdJ847m9.js +1 -0
- package/dist/Login-QGx_4EzA.mjs +1699 -0
- package/dist/Login-p-nTT2WD.js +1 -0
- package/dist/NotificationList-4C-rwoV-.js +2 -0
- package/dist/NotificationList-B1Y1hCpE.js +2 -0
- package/dist/NotificationList-BLecLIUN.mjs +3982 -0
- package/dist/NotificationList-BpReOur1.js +2 -0
- package/dist/NotificationList-CHpQdN4l.js +2 -0
- package/dist/NotificationList-CI6jCYi_.js +2 -0
- package/dist/NotificationList-D7W3ICB6.mjs +3982 -0
- package/dist/NotificationList-DETg97HM.mjs +3982 -0
- package/dist/NotificationList-DFBkUk64.mjs +3982 -0
- package/dist/NotificationList-DIJ4fj6U.js +2 -0
- package/dist/NotificationList-Dot86Ho9.mjs +3982 -0
- package/dist/NotificationList-TjVw3PcP.mjs +3982 -0
- package/dist/SkillList-B0jlFWbt.mjs +386 -0
- package/dist/SkillList-BPDINJot.js +1 -0
- package/dist/SkillList-BUM3vRI8.js +1 -0
- package/dist/SkillList-BtE_LUNG.mjs +386 -0
- package/dist/SkillList-C3fuazrG.mjs +386 -0
- package/dist/SkillList-C3wx7dd-.js +1 -0
- package/dist/SkillList-CeNI7lYS.js +1 -0
- package/dist/SkillList-CwX0nXqc.js +1 -0
- package/dist/SkillList-D5ss2XVH.mjs +386 -0
- package/dist/SkillList-DTkMRBo3.mjs +386 -0
- package/dist/SkillList-VjwX17a3.js +1 -0
- package/dist/SkillList-tIz0-TBP.mjs +386 -0
- package/dist/TeacherSelector-ADcWooNV.js +1 -0
- package/dist/TeacherSelector-B0ff3Hjf.js +1 -0
- package/dist/TeacherSelector-B1COoBS-.js +1 -0
- package/dist/TeacherSelector-BFLPysn8.mjs +30 -0
- package/dist/TeacherSelector-BTfflUVT.mjs +30 -0
- package/dist/TeacherSelector-C3oEYfSS.mjs +30 -0
- package/dist/TeacherSelector-C3sPeeY3.js +1 -0
- package/dist/TeacherSelector-CIveCaG7.mjs +30 -0
- package/dist/TeacherSelector-Cfikj-8i.mjs +30 -0
- package/dist/TeacherSelector-D9OTMXN-.mjs +30 -0
- package/dist/TeacherSelector-DJUhgWjw.js +1 -0
- package/dist/TeacherSelector-DKNEFTk4.js +1 -0
- package/dist/TheContent-BD0P-RJi.js +1 -0
- package/dist/TheContent-BRs63ZJg.mjs +38 -0
- package/dist/TheContent-ByErCYxk.mjs +38 -0
- package/dist/TheContent-C2QLFK5P.mjs +38 -0
- package/dist/TheContent-C72yrX9_.js +1 -0
- package/dist/TheContent-CJZt80ge.mjs +38 -0
- package/dist/TheContent-CVUdm5OG.js +1 -0
- package/dist/TheContent-DeJwZAfE.js +1 -0
- package/dist/TheContent-Dl4Cg6yj.js +1 -0
- package/dist/TheContent-DzEY_UCe.mjs +38 -0
- package/dist/TheContent-cA4LylWE.js +1 -0
- package/dist/TheContent-cF8eajM_.mjs +38 -0
- package/dist/UserContainer-2yzTSp2v.js +5 -0
- package/dist/UserContainer-BFddKc-8.js +5 -0
- package/dist/UserContainer-BRfHi1dB.mjs +2747 -0
- package/dist/UserContainer-CFd91rKo.mjs +2747 -0
- package/dist/UserContainer-CT0rf76S.mjs +2747 -0
- package/dist/UserContainer-DHl5KL2P.mjs +2747 -0
- package/dist/UserContainer-DO_1xl6t.js +5 -0
- package/dist/UserContainer-DWTdpoma.js +5 -0
- package/dist/UserContainer-Hj4eiQmW.mjs +2747 -0
- package/dist/UserContainer-KK6WcKdJ.js +5 -0
- package/dist/UserContainer-yuT3y-jA.mjs +2747 -0
- package/dist/UserContainer-z1rjYx3p.js +5 -0
- package/dist/UserDetail-7Y5Hv8KO.mjs +918 -0
- package/dist/UserDetail-BT2V_Cs4.mjs +912 -0
- package/dist/UserDetail-BVDmAsfx.js +1 -0
- package/dist/UserDetail-Bj9Pei76.js +1 -0
- package/dist/UserDetail-CYLhgEaC.mjs +912 -0
- package/dist/UserDetail-CcKq6lBg.mjs +912 -0
- package/dist/UserDetail-Cn_N-cgA.js +1 -0
- package/dist/UserDetail-DTnkHbJh.js +1 -0
- package/dist/UserDetail-Di5JdHTg.js +1 -0
- package/dist/UserDetail-DmgwAJ2I.mjs +912 -0
- package/dist/UserDetail-HlsnmoFa.mjs +912 -0
- package/dist/UserDetail-ZeSTnK7X.js +1 -0
- package/dist/UserList-87pcPov0.mjs +1440 -0
- package/dist/UserList-BD3qbJjj.js +7 -0
- package/dist/UserList-BGwIxav-.js +7 -0
- package/dist/UserList-BKrjy05m.js +7 -0
- package/dist/UserList-C598e7sW.mjs +1440 -0
- package/dist/UserList-CTBXLpQ4.mjs +1440 -0
- package/dist/UserList-ChFRKdJ5.js +7 -0
- package/dist/UserList-Ct5Zx48J.mjs +1438 -0
- package/dist/UserList-CuV0yjMK.js +7 -0
- package/dist/UserList-Di07N6Ha.js +7 -0
- package/dist/UserList-wdswZy6P.mjs +1440 -0
- package/dist/UserList-y7U3bVXg.mjs +1440 -0
- package/dist/constants-BOcG7fz9.js +1 -0
- package/dist/constants-BUm4KstT.mjs +238 -0
- package/dist/constants-BocFum_r.js +1 -0
- package/dist/constants-BrsSQiQC.js +1 -0
- package/dist/constants-CWydyzE5.js +1 -0
- package/dist/constants-Cg_eAWIr.mjs +238 -0
- package/dist/constants-D1kXGkT2.mjs +238 -0
- package/dist/constants-Dkd4gx7X.mjs +238 -0
- package/dist/constants-EkLPzUeh.js +1 -0
- package/dist/constants-k6OoVAlW.mjs +238 -0
- package/dist/constants-lWQudSGn.js +1 -0
- package/dist/constants-xSWs9w2T.mjs +238 -0
- package/dist/containers/User/hooks/useUserDetail.d.ts +5 -0
- package/dist/index-BLi5Qeg2.mjs +19565 -0
- package/dist/index-BUS0fTix.js +15 -0
- package/dist/index-Bx9Gl519.mjs +19561 -0
- package/dist/index-CCQUir_w.mjs +19565 -0
- package/dist/index-D2anvBIK.js +15 -0
- package/dist/index-DB8ip-9t.js +15 -0
- package/dist/index-DgWO0Lf6.js +15 -0
- package/dist/index-Dn3fenFe.mjs +19561 -0
- package/dist/index-DoEePdW9.mjs +19561 -0
- package/dist/index-HZ2eAS7d.js +15 -0
- package/dist/index-I_5hYS12.js +15 -0
- package/dist/index-hPo1dHlF.mjs +19565 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.modern.js +89 -88
- package/dist/mailCategoryService-B-T-xSPm.mjs +11 -0
- package/dist/mailCategoryService-B0UnIo7W.js +1 -0
- package/dist/mailCategoryService-BM0I8IGk.js +1 -0
- package/dist/mailCategoryService-BU_lXRoD.mjs +11 -0
- package/dist/mailCategoryService-BYO5yjJL.mjs +11 -0
- package/dist/mailCategoryService-BYO8rsGM.mjs +11 -0
- package/dist/mailCategoryService-BtofqUDc.js +1 -0
- package/dist/mailCategoryService-C6jyTOl0.mjs +11 -0
- package/dist/mailCategoryService-CT_vAjM1.js +1 -0
- package/dist/mailCategoryService-DwOBIWnx.js +1 -0
- package/dist/mailCategoryService-RtQSLJnr.mjs +11 -0
- package/dist/mailCategoryService-c1mzJRks.js +1 -0
- package/dist/userService-8Soc5_L7.js +1 -0
- package/dist/userService-B1Unl8mQ.mjs +47 -0
- package/dist/userService-B2ic0cpr.mjs +47 -0
- package/dist/userService-BGzxeo6y.mjs +47 -0
- package/dist/userService-BIpb2Nzo.js +1 -0
- package/dist/userService-BPfAbgM1.mjs +47 -0
- package/dist/userService-BZH2T1zD.mjs +47 -0
- package/dist/userService-BnUFC1ru.js +1 -0
- package/dist/userService-CNMpV3ho.js +1 -0
- package/dist/userService-C_7cUsZF.js +1 -0
- package/dist/userService-DdVwpKC9.js +1 -0
- package/dist/userService-lB3p6lJD.mjs +47 -0
- package/dist/utils/constants.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as N, useRef as I, useCallback as h, useEffect as f } from "react";
|
|
3
|
+
import { useSelector as k } from "react-redux";
|
|
4
|
+
import { Row as T, Col as u, Navbar as C, NavbarBrand as y, Collapse as E, Nav as A, NavItem as g, NavLink as p } from "reactstrap";
|
|
5
|
+
import { s as n, h as m, H } from "./index-Dn3fenFe.mjs";
|
|
6
|
+
import { Link as v } from "react-router-dom";
|
|
7
|
+
const M = () => /* @__PURE__ */ a("div", { className: `${n["content-quote"]}`, children: [
|
|
8
|
+
/* @__PURE__ */ a("div", { className: `${n["title-quote"]} d-block`, children: [
|
|
9
|
+
/* @__PURE__ */ e("p", { children: "Powerful" }),
|
|
10
|
+
/* @__PURE__ */ e("p", { children: "Personalized" }),
|
|
11
|
+
/* @__PURE__ */ e("p", { children: "Learning" })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ a(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: `${n["descriptions-quote"]} d-block`,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ e("p", { children: "Focus on what matters most to you and" }),
|
|
19
|
+
/* @__PURE__ */ e("p", { children: "make learning meaningful." })
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
] }), w = ({ srcIcon: r, content: t }) => /* @__PURE__ */ a("div", { className: `${n["content-icon"]}`, children: [
|
|
24
|
+
/* @__PURE__ */ e("div", { className: `${n["title-icon"]}`, children: /* @__PURE__ */ e("img", { src: m(r), alt: "icon" }) }),
|
|
25
|
+
/* @__PURE__ */ e(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: `${n["descriptions-icon"]}`,
|
|
29
|
+
dangerouslySetInnerHTML: { __html: t }
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] }, t), D = [
|
|
33
|
+
{
|
|
34
|
+
scrIcon: "/images/ChatsTeardrop.svg",
|
|
35
|
+
content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
scrIcon: "/images/Student.svg",
|
|
39
|
+
content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
scrIcon: "/images/Confetti.svg",
|
|
43
|
+
content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
|
|
44
|
+
}
|
|
45
|
+
], L = ({}) => /* @__PURE__ */ a(T, { className: `${n["page-not-login"]}`, children: [
|
|
46
|
+
/* @__PURE__ */ e(u, { md: 12, children: /* @__PURE__ */ e(M, {}) }),
|
|
47
|
+
/* @__PURE__ */ e(u, { md: 12, className: `${n["box-content-home-page"]} d-flex align-items-center`, children: D.map((r) => /* @__PURE__ */ e(
|
|
48
|
+
w,
|
|
49
|
+
{
|
|
50
|
+
srcIcon: r.scrIcon,
|
|
51
|
+
content: r.content
|
|
52
|
+
},
|
|
53
|
+
r.scrIcon
|
|
54
|
+
)) })
|
|
55
|
+
] });
|
|
56
|
+
function O(r) {
|
|
57
|
+
return H({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z" } }] })(r);
|
|
58
|
+
}
|
|
59
|
+
const S = 1e4, _ = ({
|
|
60
|
+
data: r,
|
|
61
|
+
duration: t = S
|
|
62
|
+
}) => {
|
|
63
|
+
const [o, l] = N(r.length), s = I(null), d = h((c) => c === o ? `${n.active} ${n.show}` : "", [o]), $ = h((c) => o === 0 && c === r.length - 1 || c === o - 1 ? n.behind : "", [o, r.length]), b = h(() => {
|
|
64
|
+
s && s.current && clearInterval(s.current), s.current = setInterval(() => {
|
|
65
|
+
l((c) => c >= r.length - 1 ? 0 : c + 1);
|
|
66
|
+
}, t);
|
|
67
|
+
}, [t, r.length]);
|
|
68
|
+
return f(() => (b(), () => {
|
|
69
|
+
s && s.current && clearInterval(s.current);
|
|
70
|
+
}), [r.length, t]), /* @__PURE__ */ e("div", { className: `${n["bg-animate"]} position-absolute`, children: r.map((c, i) => /* @__PURE__ */ e(
|
|
71
|
+
"img",
|
|
72
|
+
{
|
|
73
|
+
alt: `Image ${i + 1}`,
|
|
74
|
+
className: `${$(i)} ${d(i)}`,
|
|
75
|
+
src: m(c)
|
|
76
|
+
},
|
|
77
|
+
i
|
|
78
|
+
)) });
|
|
79
|
+
}, j = "/admin/users/user-list", x = "/home", B = "/home", R = "Dashboard", U = "Mario Education", z = [
|
|
80
|
+
"images/landing-page.jpg",
|
|
81
|
+
"images/landing-page2.jpg",
|
|
82
|
+
"images/landing-page3.jpg"
|
|
83
|
+
], J = ({ version: r }) => {
|
|
84
|
+
const [t, o] = N(!1), l = k((d) => d.common.user), s = () => o(!t);
|
|
85
|
+
return f(() => {
|
|
86
|
+
l ? document.title = R : document.title = U;
|
|
87
|
+
}, [l]), /* @__PURE__ */ a(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
className: `${n.login} ${n["red-background"]} position-relative`,
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ e(
|
|
93
|
+
"span",
|
|
94
|
+
{
|
|
95
|
+
className: `${n["version-prod"]}`,
|
|
96
|
+
children: `v ${r}`
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
/* @__PURE__ */ e(_, { data: z }),
|
|
100
|
+
/* @__PURE__ */ a("div", { className: `${n["login-content"]}`, children: [
|
|
101
|
+
/* @__PURE__ */ a(C, { light: !0, expand: "md", children: [
|
|
102
|
+
/* @__PURE__ */ e(y, { href: "/", className: `${n["logo-home"]}`, children: /* @__PURE__ */ e(
|
|
103
|
+
"img",
|
|
104
|
+
{
|
|
105
|
+
src: m("/images/logo-white.svg"),
|
|
106
|
+
alt: "mario"
|
|
107
|
+
}
|
|
108
|
+
) }),
|
|
109
|
+
/* @__PURE__ */ e(
|
|
110
|
+
O,
|
|
111
|
+
{
|
|
112
|
+
onClick: s,
|
|
113
|
+
className: `${n["hide-in-desktop"]} ${n["hamburger-menu"]}`
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
/* @__PURE__ */ a(
|
|
117
|
+
E,
|
|
118
|
+
{
|
|
119
|
+
isOpen: t,
|
|
120
|
+
navbar: !0,
|
|
121
|
+
className: `${n["collapse-box"]}`,
|
|
122
|
+
children: [
|
|
123
|
+
/* @__PURE__ */ a(
|
|
124
|
+
A,
|
|
125
|
+
{
|
|
126
|
+
className: `${n["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,
|
|
127
|
+
navbar: !0,
|
|
128
|
+
children: [
|
|
129
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
130
|
+
p,
|
|
131
|
+
{
|
|
132
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
133
|
+
href: "https://marioframework.com/software",
|
|
134
|
+
target: "blank",
|
|
135
|
+
children: "Learn More"
|
|
136
|
+
}
|
|
137
|
+
) }),
|
|
138
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
139
|
+
p,
|
|
140
|
+
{
|
|
141
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
142
|
+
href: "mailto: Info@marioeducation.com",
|
|
143
|
+
target: "blank",
|
|
144
|
+
children: "Contact"
|
|
145
|
+
}
|
|
146
|
+
) }),
|
|
147
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
148
|
+
p,
|
|
149
|
+
{
|
|
150
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
151
|
+
href: "/privacy-policy",
|
|
152
|
+
target: "blank",
|
|
153
|
+
children: "Privacy Policy"
|
|
154
|
+
}
|
|
155
|
+
) })
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
),
|
|
159
|
+
/* @__PURE__ */ e(
|
|
160
|
+
"div",
|
|
161
|
+
{
|
|
162
|
+
className: `${n["hide-in-mobile"]} d-flex justify-content-end`,
|
|
163
|
+
children: l ? /* @__PURE__ */ e(
|
|
164
|
+
v,
|
|
165
|
+
{
|
|
166
|
+
to: l.roles.includes("Admin") ? j : l.roles.includes("Teacher") ? x : B,
|
|
167
|
+
className: `${n["btn-trans-border"]}`,
|
|
168
|
+
children: "Dashboard"
|
|
169
|
+
}
|
|
170
|
+
) : /* @__PURE__ */ e(
|
|
171
|
+
v,
|
|
172
|
+
{
|
|
173
|
+
to: "/login",
|
|
174
|
+
className: `${n["btn-trans-border"]}`,
|
|
175
|
+
children: "Login"
|
|
176
|
+
}
|
|
177
|
+
)
|
|
178
|
+
}
|
|
179
|
+
)
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
)
|
|
183
|
+
] }),
|
|
184
|
+
/* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e(L, {}) }),
|
|
185
|
+
/* @__PURE__ */ e("div", { className: `${n["digital-privacy-icon"]}`, children: /* @__PURE__ */ e(
|
|
186
|
+
"a",
|
|
187
|
+
{
|
|
188
|
+
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
189
|
+
target: "blank",
|
|
190
|
+
children: /* @__PURE__ */ e(
|
|
191
|
+
"img",
|
|
192
|
+
{
|
|
193
|
+
src: m("/images/STUDENT.png"),
|
|
194
|
+
alt: "icon"
|
|
195
|
+
}
|
|
196
|
+
)
|
|
197
|
+
}
|
|
198
|
+
) })
|
|
199
|
+
] })
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
};
|
|
204
|
+
export {
|
|
205
|
+
J as default
|
|
206
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),p=require("react-redux"),n=require("reactstrap"),s=require("./index-D2anvBIK.js"),g=require("react-router-dom"),j=()=>e.jsxs("div",{className:`${s.styles["content-quote"]}`,children:[e.jsxs("div",{className:`${s.styles["title-quote"]} d-block`,children:[e.jsx("p",{children:"Powerful"}),e.jsx("p",{children:"Personalized"}),e.jsx("p",{children:"Learning"})]}),e.jsxs("div",{className:`${s.styles["descriptions-quote"]} d-block`,children:[e.jsx("p",{children:"Focus on what matters most to you and"}),e.jsx("p",{children:"make learning meaningful."})]})]}),x=({srcIcon:t,content:a})=>e.jsxs("div",{className:`${s.styles["content-icon"]}`,children:[e.jsx("div",{className:`${s.styles["title-icon"]}`,children:e.jsx("img",{src:s.getStaticFileUrl(t),alt:"icon"})}),e.jsx("div",{className:`${s.styles["descriptions-icon"]}`,dangerouslySetInnerHTML:{__html:a}})]},a),v=[{scrIcon:"/images/ChatsTeardrop.svg",content:"<p>Understand yourself better through <span>helpful feedback</span>.</p>"},{scrIcon:"/images/Student.svg",content:"<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"},{scrIcon:"/images/Confetti.svg",content:"<p>Set, monitor, and achieve <span>your goals</span>.</p>"}],y=({})=>e.jsxs(n.Row,{className:`${s.styles["page-not-login"]}`,children:[e.jsx(n.Col,{md:12,children:e.jsx(j,{})}),e.jsx(n.Col,{md:12,className:`${s.styles["box-content-home-page"]} d-flex align-items-center`,children:v.map(t=>e.jsx(x,{srcIcon:t.scrIcon,content:t.content},t.scrIcon))})]});function N(t){return s.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(t)}const b=1e4,f=({data:t,duration:a=b})=>{const[i,o]=c.useState(t.length),r=c.useRef(null),d=c.useCallback(l=>l===i?`${s.styles.active} ${s.styles.show}`:"",[i]),h=c.useCallback(l=>i===0&&l===t.length-1||l===i-1?s.styles.behind:"",[i,t.length]),u=c.useCallback(()=>{r&&r.current&&clearInterval(r.current),r.current=setInterval(()=>{o(l=>l>=t.length-1?0:l+1)},a)},[a,t.length]);return c.useEffect(()=>(u(),()=>{r&&r.current&&clearInterval(r.current)}),[t.length,a]),e.jsx("div",{className:`${s.styles["bg-animate"]} position-absolute`,children:t.map((l,m)=>e.jsx("img",{alt:`Image ${m+1}`,className:`${h(m)} ${d(m)}`,src:s.getStaticFileUrl(l)},m))})},I="/admin/users/user-list",$="/home",k="/home",C="Dashboard",T="Mario Education",S=["images/landing-page.jpg","images/landing-page2.jpg","images/landing-page3.jpg"],E=({version:t})=>{const[a,i]=c.useState(!1),o=p.useSelector(d=>d.common.user),r=()=>i(!a);return c.useEffect(()=>{o?document.title=C:document.title=T},[o]),e.jsxs("div",{className:`${s.styles.login} ${s.styles["red-background"]} position-relative`,children:[e.jsx("span",{className:`${s.styles["version-prod"]}`,children:`v ${t}`}),e.jsx(f,{data:S}),e.jsxs("div",{className:`${s.styles["login-content"]}`,children:[e.jsxs(n.Navbar,{light:!0,expand:"md",children:[e.jsx(n.NavbarBrand,{href:"/",className:`${s.styles["logo-home"]}`,children:e.jsx("img",{src:s.getStaticFileUrl("/images/logo-white.svg"),alt:"mario"})}),e.jsx(N,{onClick:r,className:`${s.styles["hide-in-desktop"]} ${s.styles["hamburger-menu"]}`}),e.jsxs(n.Collapse,{isOpen:a,navbar:!0,className:`${s.styles["collapse-box"]}`,children:[e.jsxs(n.Nav,{className:`${s.styles["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,navbar:!0,children:[e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"https://marioframework.com/software",target:"blank",children:"Learn More"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"mailto: Info@marioeducation.com",target:"blank",children:"Contact"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"/privacy-policy",target:"blank",children:"Privacy Policy"})})]}),e.jsx("div",{className:`${s.styles["hide-in-mobile"]} d-flex justify-content-end`,children:o?e.jsx(g.Link,{to:o.roles.includes("Admin")?I:o.roles.includes("Teacher")?$:k,className:`${s.styles["btn-trans-border"]}`,children:"Dashboard"}):e.jsx(g.Link,{to:"/login",className:`${s.styles["btn-trans-border"]}`,children:"Login"})})]})]}),e.jsx("div",{className:"",children:e.jsx(y,{})}),e.jsx("div",{className:`${s.styles["digital-privacy-icon"]}`,children:e.jsx("a",{href:"https://cert.privo.com/#/companies/marioFrameworkLlc",target:"blank",children:e.jsx("img",{src:s.getStaticFileUrl("/images/STUDENT.png"),alt:"icon"})})})]})]})};exports.default=E;
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as N, useRef as I, useCallback as h, useEffect as f } from "react";
|
|
3
|
+
import { useSelector as k } from "react-redux";
|
|
4
|
+
import { Row as T, Col as u, Navbar as C, NavbarBrand as y, Collapse as E, Nav as A, NavItem as g, NavLink as p } from "reactstrap";
|
|
5
|
+
import { s as n, h as m, H } from "./index-DoEePdW9.mjs";
|
|
6
|
+
import { Link as v } from "react-router-dom";
|
|
7
|
+
const M = () => /* @__PURE__ */ a("div", { className: `${n["content-quote"]}`, children: [
|
|
8
|
+
/* @__PURE__ */ a("div", { className: `${n["title-quote"]} d-block`, children: [
|
|
9
|
+
/* @__PURE__ */ e("p", { children: "Powerful" }),
|
|
10
|
+
/* @__PURE__ */ e("p", { children: "Personalized" }),
|
|
11
|
+
/* @__PURE__ */ e("p", { children: "Learning" })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ a(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: `${n["descriptions-quote"]} d-block`,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ e("p", { children: "Focus on what matters most to you and" }),
|
|
19
|
+
/* @__PURE__ */ e("p", { children: "make learning meaningful." })
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
] }), w = ({ srcIcon: r, content: t }) => /* @__PURE__ */ a("div", { className: `${n["content-icon"]}`, children: [
|
|
24
|
+
/* @__PURE__ */ e("div", { className: `${n["title-icon"]}`, children: /* @__PURE__ */ e("img", { src: m(r), alt: "icon" }) }),
|
|
25
|
+
/* @__PURE__ */ e(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: `${n["descriptions-icon"]}`,
|
|
29
|
+
dangerouslySetInnerHTML: { __html: t }
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] }, t), D = [
|
|
33
|
+
{
|
|
34
|
+
scrIcon: "/images/ChatsTeardrop.svg",
|
|
35
|
+
content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
scrIcon: "/images/Student.svg",
|
|
39
|
+
content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
scrIcon: "/images/Confetti.svg",
|
|
43
|
+
content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
|
|
44
|
+
}
|
|
45
|
+
], L = ({}) => /* @__PURE__ */ a(T, { className: `${n["page-not-login"]}`, children: [
|
|
46
|
+
/* @__PURE__ */ e(u, { md: 12, children: /* @__PURE__ */ e(M, {}) }),
|
|
47
|
+
/* @__PURE__ */ e(u, { md: 12, className: `${n["box-content-home-page"]} d-flex align-items-center`, children: D.map((r) => /* @__PURE__ */ e(
|
|
48
|
+
w,
|
|
49
|
+
{
|
|
50
|
+
srcIcon: r.scrIcon,
|
|
51
|
+
content: r.content
|
|
52
|
+
},
|
|
53
|
+
r.scrIcon
|
|
54
|
+
)) })
|
|
55
|
+
] });
|
|
56
|
+
function O(r) {
|
|
57
|
+
return H({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z" } }] })(r);
|
|
58
|
+
}
|
|
59
|
+
const S = 1e4, _ = ({
|
|
60
|
+
data: r,
|
|
61
|
+
duration: t = S
|
|
62
|
+
}) => {
|
|
63
|
+
const [o, l] = N(r.length), s = I(null), d = h((c) => c === o ? `${n.active} ${n.show}` : "", [o]), $ = h((c) => o === 0 && c === r.length - 1 || c === o - 1 ? n.behind : "", [o, r.length]), b = h(() => {
|
|
64
|
+
s && s.current && clearInterval(s.current), s.current = setInterval(() => {
|
|
65
|
+
l((c) => c >= r.length - 1 ? 0 : c + 1);
|
|
66
|
+
}, t);
|
|
67
|
+
}, [t, r.length]);
|
|
68
|
+
return f(() => (b(), () => {
|
|
69
|
+
s && s.current && clearInterval(s.current);
|
|
70
|
+
}), [r.length, t]), /* @__PURE__ */ e("div", { className: `${n["bg-animate"]} position-absolute`, children: r.map((c, i) => /* @__PURE__ */ e(
|
|
71
|
+
"img",
|
|
72
|
+
{
|
|
73
|
+
alt: `Image ${i + 1}`,
|
|
74
|
+
className: `${$(i)} ${d(i)}`,
|
|
75
|
+
src: m(c)
|
|
76
|
+
},
|
|
77
|
+
i
|
|
78
|
+
)) });
|
|
79
|
+
}, j = "/admin/users/user-list", x = "/home", B = "/home", R = "Dashboard", U = "Mario Education", z = [
|
|
80
|
+
"images/landing-page.jpg",
|
|
81
|
+
"images/landing-page2.jpg",
|
|
82
|
+
"images/landing-page3.jpg"
|
|
83
|
+
], J = ({ version: r }) => {
|
|
84
|
+
const [t, o] = N(!1), l = k((d) => d.common.user), s = () => o(!t);
|
|
85
|
+
return f(() => {
|
|
86
|
+
l ? document.title = R : document.title = U;
|
|
87
|
+
}, [l]), /* @__PURE__ */ a(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
className: `${n.login} ${n["red-background"]} position-relative`,
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ e(
|
|
93
|
+
"span",
|
|
94
|
+
{
|
|
95
|
+
className: `${n["version-prod"]}`,
|
|
96
|
+
children: `v ${r}`
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
/* @__PURE__ */ e(_, { data: z }),
|
|
100
|
+
/* @__PURE__ */ a("div", { className: `${n["login-content"]}`, children: [
|
|
101
|
+
/* @__PURE__ */ a(C, { light: !0, expand: "md", children: [
|
|
102
|
+
/* @__PURE__ */ e(y, { href: "/", className: `${n["logo-home"]}`, children: /* @__PURE__ */ e(
|
|
103
|
+
"img",
|
|
104
|
+
{
|
|
105
|
+
src: m("/images/logo-white.svg"),
|
|
106
|
+
alt: "mario"
|
|
107
|
+
}
|
|
108
|
+
) }),
|
|
109
|
+
/* @__PURE__ */ e(
|
|
110
|
+
O,
|
|
111
|
+
{
|
|
112
|
+
onClick: s,
|
|
113
|
+
className: `${n["hide-in-desktop"]} ${n["hamburger-menu"]}`
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
/* @__PURE__ */ a(
|
|
117
|
+
E,
|
|
118
|
+
{
|
|
119
|
+
isOpen: t,
|
|
120
|
+
navbar: !0,
|
|
121
|
+
className: `${n["collapse-box"]}`,
|
|
122
|
+
children: [
|
|
123
|
+
/* @__PURE__ */ a(
|
|
124
|
+
A,
|
|
125
|
+
{
|
|
126
|
+
className: `${n["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,
|
|
127
|
+
navbar: !0,
|
|
128
|
+
children: [
|
|
129
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
130
|
+
p,
|
|
131
|
+
{
|
|
132
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
133
|
+
href: "https://marioframework.com/software",
|
|
134
|
+
target: "blank",
|
|
135
|
+
children: "Learn More"
|
|
136
|
+
}
|
|
137
|
+
) }),
|
|
138
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
139
|
+
p,
|
|
140
|
+
{
|
|
141
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
142
|
+
href: "mailto: Info@marioeducation.com",
|
|
143
|
+
target: "blank",
|
|
144
|
+
children: "Contact"
|
|
145
|
+
}
|
|
146
|
+
) }),
|
|
147
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
148
|
+
p,
|
|
149
|
+
{
|
|
150
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
151
|
+
href: "/privacy-policy",
|
|
152
|
+
target: "blank",
|
|
153
|
+
children: "Privacy Policy"
|
|
154
|
+
}
|
|
155
|
+
) })
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
),
|
|
159
|
+
/* @__PURE__ */ e(
|
|
160
|
+
"div",
|
|
161
|
+
{
|
|
162
|
+
className: `${n["hide-in-mobile"]} d-flex justify-content-end`,
|
|
163
|
+
children: l ? /* @__PURE__ */ e(
|
|
164
|
+
v,
|
|
165
|
+
{
|
|
166
|
+
to: l.roles.includes("Admin") ? j : l.roles.includes("Teacher") ? x : B,
|
|
167
|
+
className: `${n["btn-trans-border"]}`,
|
|
168
|
+
children: "Dashboard"
|
|
169
|
+
}
|
|
170
|
+
) : /* @__PURE__ */ e(
|
|
171
|
+
v,
|
|
172
|
+
{
|
|
173
|
+
to: "/login",
|
|
174
|
+
className: `${n["btn-trans-border"]}`,
|
|
175
|
+
children: "Login"
|
|
176
|
+
}
|
|
177
|
+
)
|
|
178
|
+
}
|
|
179
|
+
)
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
)
|
|
183
|
+
] }),
|
|
184
|
+
/* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e(L, {}) }),
|
|
185
|
+
/* @__PURE__ */ e("div", { className: `${n["digital-privacy-icon"]}`, children: /* @__PURE__ */ e(
|
|
186
|
+
"a",
|
|
187
|
+
{
|
|
188
|
+
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
189
|
+
target: "blank",
|
|
190
|
+
children: /* @__PURE__ */ e(
|
|
191
|
+
"img",
|
|
192
|
+
{
|
|
193
|
+
src: m("/images/STUDENT.png"),
|
|
194
|
+
alt: "icon"
|
|
195
|
+
}
|
|
196
|
+
)
|
|
197
|
+
}
|
|
198
|
+
) })
|
|
199
|
+
] })
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
};
|
|
204
|
+
export {
|
|
205
|
+
J as default
|
|
206
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),p=require("react-redux"),n=require("reactstrap"),s=require("./index-DgWO0Lf6.js"),g=require("react-router-dom"),j=()=>e.jsxs("div",{className:`${s.styles["content-quote"]}`,children:[e.jsxs("div",{className:`${s.styles["title-quote"]} d-block`,children:[e.jsx("p",{children:"Powerful"}),e.jsx("p",{children:"Personalized"}),e.jsx("p",{children:"Learning"})]}),e.jsxs("div",{className:`${s.styles["descriptions-quote"]} d-block`,children:[e.jsx("p",{children:"Focus on what matters most to you and"}),e.jsx("p",{children:"make learning meaningful."})]})]}),x=({srcIcon:t,content:a})=>e.jsxs("div",{className:`${s.styles["content-icon"]}`,children:[e.jsx("div",{className:`${s.styles["title-icon"]}`,children:e.jsx("img",{src:s.getStaticFileUrl(t),alt:"icon"})}),e.jsx("div",{className:`${s.styles["descriptions-icon"]}`,dangerouslySetInnerHTML:{__html:a}})]},a),v=[{scrIcon:"/images/ChatsTeardrop.svg",content:"<p>Understand yourself better through <span>helpful feedback</span>.</p>"},{scrIcon:"/images/Student.svg",content:"<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"},{scrIcon:"/images/Confetti.svg",content:"<p>Set, monitor, and achieve <span>your goals</span>.</p>"}],y=({})=>e.jsxs(n.Row,{className:`${s.styles["page-not-login"]}`,children:[e.jsx(n.Col,{md:12,children:e.jsx(j,{})}),e.jsx(n.Col,{md:12,className:`${s.styles["box-content-home-page"]} d-flex align-items-center`,children:v.map(t=>e.jsx(x,{srcIcon:t.scrIcon,content:t.content},t.scrIcon))})]});function N(t){return s.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(t)}const b=1e4,f=({data:t,duration:a=b})=>{const[i,o]=c.useState(t.length),r=c.useRef(null),d=c.useCallback(l=>l===i?`${s.styles.active} ${s.styles.show}`:"",[i]),h=c.useCallback(l=>i===0&&l===t.length-1||l===i-1?s.styles.behind:"",[i,t.length]),u=c.useCallback(()=>{r&&r.current&&clearInterval(r.current),r.current=setInterval(()=>{o(l=>l>=t.length-1?0:l+1)},a)},[a,t.length]);return c.useEffect(()=>(u(),()=>{r&&r.current&&clearInterval(r.current)}),[t.length,a]),e.jsx("div",{className:`${s.styles["bg-animate"]} position-absolute`,children:t.map((l,m)=>e.jsx("img",{alt:`Image ${m+1}`,className:`${h(m)} ${d(m)}`,src:s.getStaticFileUrl(l)},m))})},I="/admin/users/user-list",$="/home",k="/home",C="Dashboard",T="Mario Education",S=["images/landing-page.jpg","images/landing-page2.jpg","images/landing-page3.jpg"],E=({version:t})=>{const[a,i]=c.useState(!1),o=p.useSelector(d=>d.common.user),r=()=>i(!a);return c.useEffect(()=>{o?document.title=C:document.title=T},[o]),e.jsxs("div",{className:`${s.styles.login} ${s.styles["red-background"]} position-relative`,children:[e.jsx("span",{className:`${s.styles["version-prod"]}`,children:`v ${t}`}),e.jsx(f,{data:S}),e.jsxs("div",{className:`${s.styles["login-content"]}`,children:[e.jsxs(n.Navbar,{light:!0,expand:"md",children:[e.jsx(n.NavbarBrand,{href:"/",className:`${s.styles["logo-home"]}`,children:e.jsx("img",{src:s.getStaticFileUrl("/images/logo-white.svg"),alt:"mario"})}),e.jsx(N,{onClick:r,className:`${s.styles["hide-in-desktop"]} ${s.styles["hamburger-menu"]}`}),e.jsxs(n.Collapse,{isOpen:a,navbar:!0,className:`${s.styles["collapse-box"]}`,children:[e.jsxs(n.Nav,{className:`${s.styles["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,navbar:!0,children:[e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"https://marioframework.com/software",target:"blank",children:"Learn More"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"mailto: Info@marioeducation.com",target:"blank",children:"Contact"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"/privacy-policy",target:"blank",children:"Privacy Policy"})})]}),e.jsx("div",{className:`${s.styles["hide-in-mobile"]} d-flex justify-content-end`,children:o?e.jsx(g.Link,{to:o.roles.includes("Admin")?I:o.roles.includes("Teacher")?$:k,className:`${s.styles["btn-trans-border"]}`,children:"Dashboard"}):e.jsx(g.Link,{to:"/login",className:`${s.styles["btn-trans-border"]}`,children:"Login"})})]})]}),e.jsx("div",{className:"",children:e.jsx(y,{})}),e.jsx("div",{className:`${s.styles["digital-privacy-icon"]}`,children:e.jsx("a",{href:"https://cert.privo.com/#/companies/marioFrameworkLlc",target:"blank",children:e.jsx("img",{src:s.getStaticFileUrl("/images/STUDENT.png"),alt:"icon"})})})]})]})};exports.default=E;
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as N, useRef as I, useCallback as h, useEffect as f } from "react";
|
|
3
|
+
import { useSelector as k } from "react-redux";
|
|
4
|
+
import { Row as T, Col as u, Navbar as C, NavbarBrand as y, Collapse as E, Nav as A, NavItem as g, NavLink as p } from "reactstrap";
|
|
5
|
+
import { s as n, h as m, H } from "./index-Bx9Gl519.mjs";
|
|
6
|
+
import { Link as v } from "react-router-dom";
|
|
7
|
+
const M = () => /* @__PURE__ */ a("div", { className: `${n["content-quote"]}`, children: [
|
|
8
|
+
/* @__PURE__ */ a("div", { className: `${n["title-quote"]} d-block`, children: [
|
|
9
|
+
/* @__PURE__ */ e("p", { children: "Powerful" }),
|
|
10
|
+
/* @__PURE__ */ e("p", { children: "Personalized" }),
|
|
11
|
+
/* @__PURE__ */ e("p", { children: "Learning" })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ a(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: `${n["descriptions-quote"]} d-block`,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ e("p", { children: "Focus on what matters most to you and" }),
|
|
19
|
+
/* @__PURE__ */ e("p", { children: "make learning meaningful." })
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
] }), w = ({ srcIcon: r, content: t }) => /* @__PURE__ */ a("div", { className: `${n["content-icon"]}`, children: [
|
|
24
|
+
/* @__PURE__ */ e("div", { className: `${n["title-icon"]}`, children: /* @__PURE__ */ e("img", { src: m(r), alt: "icon" }) }),
|
|
25
|
+
/* @__PURE__ */ e(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: `${n["descriptions-icon"]}`,
|
|
29
|
+
dangerouslySetInnerHTML: { __html: t }
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] }, t), D = [
|
|
33
|
+
{
|
|
34
|
+
scrIcon: "/images/ChatsTeardrop.svg",
|
|
35
|
+
content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
scrIcon: "/images/Student.svg",
|
|
39
|
+
content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
scrIcon: "/images/Confetti.svg",
|
|
43
|
+
content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
|
|
44
|
+
}
|
|
45
|
+
], L = ({}) => /* @__PURE__ */ a(T, { className: `${n["page-not-login"]}`, children: [
|
|
46
|
+
/* @__PURE__ */ e(u, { md: 12, children: /* @__PURE__ */ e(M, {}) }),
|
|
47
|
+
/* @__PURE__ */ e(u, { md: 12, className: `${n["box-content-home-page"]} d-flex align-items-center`, children: D.map((r) => /* @__PURE__ */ e(
|
|
48
|
+
w,
|
|
49
|
+
{
|
|
50
|
+
srcIcon: r.scrIcon,
|
|
51
|
+
content: r.content
|
|
52
|
+
},
|
|
53
|
+
r.scrIcon
|
|
54
|
+
)) })
|
|
55
|
+
] });
|
|
56
|
+
function O(r) {
|
|
57
|
+
return H({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z" } }] })(r);
|
|
58
|
+
}
|
|
59
|
+
const S = 1e4, _ = ({
|
|
60
|
+
data: r,
|
|
61
|
+
duration: t = S
|
|
62
|
+
}) => {
|
|
63
|
+
const [o, l] = N(r.length), s = I(null), d = h((c) => c === o ? `${n.active} ${n.show}` : "", [o]), $ = h((c) => o === 0 && c === r.length - 1 || c === o - 1 ? n.behind : "", [o, r.length]), b = h(() => {
|
|
64
|
+
s && s.current && clearInterval(s.current), s.current = setInterval(() => {
|
|
65
|
+
l((c) => c >= r.length - 1 ? 0 : c + 1);
|
|
66
|
+
}, t);
|
|
67
|
+
}, [t, r.length]);
|
|
68
|
+
return f(() => (b(), () => {
|
|
69
|
+
s && s.current && clearInterval(s.current);
|
|
70
|
+
}), [r.length, t]), /* @__PURE__ */ e("div", { className: `${n["bg-animate"]} position-absolute`, children: r.map((c, i) => /* @__PURE__ */ e(
|
|
71
|
+
"img",
|
|
72
|
+
{
|
|
73
|
+
alt: `Image ${i + 1}`,
|
|
74
|
+
className: `${$(i)} ${d(i)}`,
|
|
75
|
+
src: m(c)
|
|
76
|
+
},
|
|
77
|
+
i
|
|
78
|
+
)) });
|
|
79
|
+
}, j = "/admin/users/user-list", x = "/home", B = "/home", R = "Dashboard", U = "Mario Education", z = [
|
|
80
|
+
"images/landing-page.jpg",
|
|
81
|
+
"images/landing-page2.jpg",
|
|
82
|
+
"images/landing-page3.jpg"
|
|
83
|
+
], J = ({ version: r }) => {
|
|
84
|
+
const [t, o] = N(!1), l = k((d) => d.common.user), s = () => o(!t);
|
|
85
|
+
return f(() => {
|
|
86
|
+
l ? document.title = R : document.title = U;
|
|
87
|
+
}, [l]), /* @__PURE__ */ a(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
className: `${n.login} ${n["red-background"]} position-relative`,
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ e(
|
|
93
|
+
"span",
|
|
94
|
+
{
|
|
95
|
+
className: `${n["version-prod"]}`,
|
|
96
|
+
children: `v ${r}`
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
/* @__PURE__ */ e(_, { data: z }),
|
|
100
|
+
/* @__PURE__ */ a("div", { className: `${n["login-content"]}`, children: [
|
|
101
|
+
/* @__PURE__ */ a(C, { light: !0, expand: "md", children: [
|
|
102
|
+
/* @__PURE__ */ e(y, { href: "/", className: `${n["logo-home"]}`, children: /* @__PURE__ */ e(
|
|
103
|
+
"img",
|
|
104
|
+
{
|
|
105
|
+
src: m("/images/logo-white.svg"),
|
|
106
|
+
alt: "mario"
|
|
107
|
+
}
|
|
108
|
+
) }),
|
|
109
|
+
/* @__PURE__ */ e(
|
|
110
|
+
O,
|
|
111
|
+
{
|
|
112
|
+
onClick: s,
|
|
113
|
+
className: `${n["hide-in-desktop"]} ${n["hamburger-menu"]}`
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
/* @__PURE__ */ a(
|
|
117
|
+
E,
|
|
118
|
+
{
|
|
119
|
+
isOpen: t,
|
|
120
|
+
navbar: !0,
|
|
121
|
+
className: `${n["collapse-box"]}`,
|
|
122
|
+
children: [
|
|
123
|
+
/* @__PURE__ */ a(
|
|
124
|
+
A,
|
|
125
|
+
{
|
|
126
|
+
className: `${n["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,
|
|
127
|
+
navbar: !0,
|
|
128
|
+
children: [
|
|
129
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
130
|
+
p,
|
|
131
|
+
{
|
|
132
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
133
|
+
href: "https://marioframework.com/software",
|
|
134
|
+
target: "blank",
|
|
135
|
+
children: "Learn More"
|
|
136
|
+
}
|
|
137
|
+
) }),
|
|
138
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
139
|
+
p,
|
|
140
|
+
{
|
|
141
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
142
|
+
href: "mailto: Info@marioeducation.com",
|
|
143
|
+
target: "blank",
|
|
144
|
+
children: "Contact"
|
|
145
|
+
}
|
|
146
|
+
) }),
|
|
147
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
148
|
+
p,
|
|
149
|
+
{
|
|
150
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
151
|
+
href: "/privacy-policy",
|
|
152
|
+
target: "blank",
|
|
153
|
+
children: "Privacy Policy"
|
|
154
|
+
}
|
|
155
|
+
) })
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
),
|
|
159
|
+
/* @__PURE__ */ e(
|
|
160
|
+
"div",
|
|
161
|
+
{
|
|
162
|
+
className: `${n["hide-in-mobile"]} d-flex justify-content-end`,
|
|
163
|
+
children: l ? /* @__PURE__ */ e(
|
|
164
|
+
v,
|
|
165
|
+
{
|
|
166
|
+
to: l.roles.includes("Admin") ? j : l.roles.includes("Teacher") ? x : B,
|
|
167
|
+
className: `${n["btn-trans-border"]}`,
|
|
168
|
+
children: "Dashboard"
|
|
169
|
+
}
|
|
170
|
+
) : /* @__PURE__ */ e(
|
|
171
|
+
v,
|
|
172
|
+
{
|
|
173
|
+
to: "/login",
|
|
174
|
+
className: `${n["btn-trans-border"]}`,
|
|
175
|
+
children: "Login"
|
|
176
|
+
}
|
|
177
|
+
)
|
|
178
|
+
}
|
|
179
|
+
)
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
)
|
|
183
|
+
] }),
|
|
184
|
+
/* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e(L, {}) }),
|
|
185
|
+
/* @__PURE__ */ e("div", { className: `${n["digital-privacy-icon"]}`, children: /* @__PURE__ */ e(
|
|
186
|
+
"a",
|
|
187
|
+
{
|
|
188
|
+
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
189
|
+
target: "blank",
|
|
190
|
+
children: /* @__PURE__ */ e(
|
|
191
|
+
"img",
|
|
192
|
+
{
|
|
193
|
+
src: m("/images/STUDENT.png"),
|
|
194
|
+
alt: "icon"
|
|
195
|
+
}
|
|
196
|
+
)
|
|
197
|
+
}
|
|
198
|
+
) })
|
|
199
|
+
] })
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
};
|
|
204
|
+
export {
|
|
205
|
+
J as default
|
|
206
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),p=require("react-redux"),n=require("reactstrap"),s=require("./index-I_5hYS12.js"),g=require("react-router-dom"),j=()=>e.jsxs("div",{className:`${s.styles["content-quote"]}`,children:[e.jsxs("div",{className:`${s.styles["title-quote"]} d-block`,children:[e.jsx("p",{children:"Powerful"}),e.jsx("p",{children:"Personalized"}),e.jsx("p",{children:"Learning"})]}),e.jsxs("div",{className:`${s.styles["descriptions-quote"]} d-block`,children:[e.jsx("p",{children:"Focus on what matters most to you and"}),e.jsx("p",{children:"make learning meaningful."})]})]}),x=({srcIcon:t,content:a})=>e.jsxs("div",{className:`${s.styles["content-icon"]}`,children:[e.jsx("div",{className:`${s.styles["title-icon"]}`,children:e.jsx("img",{src:s.getStaticFileUrl(t),alt:"icon"})}),e.jsx("div",{className:`${s.styles["descriptions-icon"]}`,dangerouslySetInnerHTML:{__html:a}})]},a),v=[{scrIcon:"/images/ChatsTeardrop.svg",content:"<p>Understand yourself better through <span>helpful feedback</span>.</p>"},{scrIcon:"/images/Student.svg",content:"<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"},{scrIcon:"/images/Confetti.svg",content:"<p>Set, monitor, and achieve <span>your goals</span>.</p>"}],y=({})=>e.jsxs(n.Row,{className:`${s.styles["page-not-login"]}`,children:[e.jsx(n.Col,{md:12,children:e.jsx(j,{})}),e.jsx(n.Col,{md:12,className:`${s.styles["box-content-home-page"]} d-flex align-items-center`,children:v.map(t=>e.jsx(x,{srcIcon:t.scrIcon,content:t.content},t.scrIcon))})]});function N(t){return s.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(t)}const b=1e4,f=({data:t,duration:a=b})=>{const[i,o]=c.useState(t.length),r=c.useRef(null),d=c.useCallback(l=>l===i?`${s.styles.active} ${s.styles.show}`:"",[i]),h=c.useCallback(l=>i===0&&l===t.length-1||l===i-1?s.styles.behind:"",[i,t.length]),u=c.useCallback(()=>{r&&r.current&&clearInterval(r.current),r.current=setInterval(()=>{o(l=>l>=t.length-1?0:l+1)},a)},[a,t.length]);return c.useEffect(()=>(u(),()=>{r&&r.current&&clearInterval(r.current)}),[t.length,a]),e.jsx("div",{className:`${s.styles["bg-animate"]} position-absolute`,children:t.map((l,m)=>e.jsx("img",{alt:`Image ${m+1}`,className:`${h(m)} ${d(m)}`,src:s.getStaticFileUrl(l)},m))})},I="/admin/users/user-list",$="/home",k="/home",C="Dashboard",T="Mario Education",S=["images/landing-page.jpg","images/landing-page2.jpg","images/landing-page3.jpg"],E=({version:t})=>{const[a,i]=c.useState(!1),o=p.useSelector(d=>d.common.user),r=()=>i(!a);return c.useEffect(()=>{o?document.title=C:document.title=T},[o]),e.jsxs("div",{className:`${s.styles.login} ${s.styles["red-background"]} position-relative`,children:[e.jsx("span",{className:`${s.styles["version-prod"]}`,children:`v ${t}`}),e.jsx(f,{data:S}),e.jsxs("div",{className:`${s.styles["login-content"]}`,children:[e.jsxs(n.Navbar,{light:!0,expand:"md",children:[e.jsx(n.NavbarBrand,{href:"/",className:`${s.styles["logo-home"]}`,children:e.jsx("img",{src:s.getStaticFileUrl("/images/logo-white.svg"),alt:"mario"})}),e.jsx(N,{onClick:r,className:`${s.styles["hide-in-desktop"]} ${s.styles["hamburger-menu"]}`}),e.jsxs(n.Collapse,{isOpen:a,navbar:!0,className:`${s.styles["collapse-box"]}`,children:[e.jsxs(n.Nav,{className:`${s.styles["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,navbar:!0,children:[e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"https://marioframework.com/software",target:"blank",children:"Learn More"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"mailto: Info@marioeducation.com",target:"blank",children:"Contact"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"/privacy-policy",target:"blank",children:"Privacy Policy"})})]}),e.jsx("div",{className:`${s.styles["hide-in-mobile"]} d-flex justify-content-end`,children:o?e.jsx(g.Link,{to:o.roles.includes("Admin")?I:o.roles.includes("Teacher")?$:k,className:`${s.styles["btn-trans-border"]}`,children:"Dashboard"}):e.jsx(g.Link,{to:"/login",className:`${s.styles["btn-trans-border"]}`,children:"Login"})})]})]}),e.jsx("div",{className:"",children:e.jsx(y,{})}),e.jsx("div",{className:`${s.styles["digital-privacy-icon"]}`,children:e.jsx("a",{href:"https://cert.privo.com/#/companies/marioFrameworkLlc",target:"blank",children:e.jsx("img",{src:s.getStaticFileUrl("/images/STUDENT.png"),alt:"icon"})})})]})]})};exports.default=E;
|