mario-core 3.0.45-es-test → 3.0.45-es-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-5q6N8KL8.cjs +1 -0
- package/dist/Dashboard-B0yC1_8E.js +186 -0
- package/dist/Dashboard-BQHj7b6h.js +186 -0
- package/dist/Dashboard-Bvgm_cDl.cjs +1 -0
- package/dist/Dashboard-C5sQvJRW.cjs +1 -0
- package/dist/Dashboard-CX8UNZxC.js +186 -0
- package/dist/Dashboard-CatbenIQ.js +186 -0
- package/dist/Dashboard-CckjoQBd.cjs +1 -0
- package/dist/Dashboard-Crdm2dXr.js +186 -0
- package/dist/Dashboard-DCsHWrzn.js +186 -0
- package/dist/Dashboard-DCtxNqmp.js +186 -0
- package/dist/Dashboard-DP_chWqJ.cjs +1 -0
- package/dist/Dashboard-Dq-3gVHL.cjs +1 -0
- package/dist/Dashboard-qpfCwccg.cjs +1 -0
- package/dist/EmailTemplateDetail-ASVGl0_w.js +437 -0
- package/dist/EmailTemplateDetail-B1LZMKcY.cjs +1 -0
- package/dist/EmailTemplateDetail-B7wWFR8d.js +437 -0
- package/dist/EmailTemplateDetail-BJALTUmm.cjs +1 -0
- package/dist/EmailTemplateDetail-BMtF86Cy.cjs +1 -0
- package/dist/EmailTemplateDetail-BSenfW-0.js +437 -0
- package/dist/EmailTemplateDetail-BaaXgAmQ.cjs +1 -0
- package/dist/EmailTemplateDetail-Bm589iWY.js +437 -0
- package/dist/EmailTemplateDetail-C-OVqevw.cjs +1 -0
- package/dist/EmailTemplateDetail-D-D0lzzm.js +437 -0
- package/dist/EmailTemplateDetail-D96S62q5.js +437 -0
- package/dist/EmailTemplateDetail-DPs-Ez_O.cjs +1 -0
- package/dist/EmailTemplateDetail-Dd36VjmM.cjs +1 -0
- package/dist/EmailTemplateDetail-qZvWKVgI.js +437 -0
- package/dist/EmailTemplateList-9WvucxpT.cjs +1 -0
- package/dist/EmailTemplateList-BSA4NLcQ.cjs +1 -0
- package/dist/EmailTemplateList-BWgI6f-C.cjs +1 -0
- package/dist/EmailTemplateList-C6KAscdD.cjs +1 -0
- package/dist/EmailTemplateList-C6gB4Zo0.js +174 -0
- package/dist/EmailTemplateList-CV8NV9SJ.js +174 -0
- package/dist/EmailTemplateList-CVLSgkh1.cjs +1 -0
- package/dist/EmailTemplateList-Cf9Y4X4R.js +174 -0
- package/dist/EmailTemplateList-Cn5djzRP.js +174 -0
- package/dist/EmailTemplateList-DlFRPZDk.js +174 -0
- package/dist/EmailTemplateList-Ds6UgZz0.cjs +1 -0
- package/dist/EmailTemplateList-DyD57ZDX.js +174 -0
- package/dist/EmailTemplateList-c_n1CaRg.cjs +1 -0
- package/dist/EmailTemplateList-fI04xk_i.js +174 -0
- package/dist/FaqList-0Ity86og.cjs +1 -0
- package/dist/FaqList-BEbJHbz0.cjs +1 -0
- package/dist/FaqList-BR5r6-F8.cjs +1 -0
- package/dist/FaqList-C4iWO4rv.cjs +1 -0
- package/dist/FaqList-CchRgV9g.js +320 -0
- package/dist/FaqList-CvrQWKPF.cjs +1 -0
- package/dist/FaqList-CzLsrp9E.js +320 -0
- package/dist/FaqList-D6Cm8NYY.js +320 -0
- package/dist/FaqList-DB0fTMnK.js +320 -0
- package/dist/FaqList-DILW1E57.js +320 -0
- package/dist/FaqList-D_5-FNyD.cjs +1 -0
- package/dist/FaqList-Dh8nH-Kc.js +320 -0
- package/dist/FaqList-DzjlBx06.cjs +1 -0
- package/dist/FaqList-HhsuI_il.js +320 -0
- package/dist/GalleryList-BQ6ZEAA-.js +53 -0
- package/dist/GalleryList-BxxYJT-q.js +53 -0
- package/dist/GalleryList-C-U2Ul35.cjs +1 -0
- package/dist/GalleryList-C8Aj_k1W.cjs +1 -0
- package/dist/GalleryList-CDPNdb2m.cjs +1 -0
- package/dist/GalleryList-CfFJkMEr.js +53 -0
- package/dist/GalleryList-DHFvlJbU.js +53 -0
- package/dist/GalleryList-DLyt8m7r.cjs +1 -0
- package/dist/GalleryList-DzkmGWNB.cjs +1 -0
- package/dist/GalleryList-OAztSQiR.js +53 -0
- package/dist/GalleryList-PpiNAQI4.cjs +1 -0
- package/dist/GalleryList-btDNkrgl.js +53 -0
- package/dist/GalleryList-n-TLxU1H.cjs +1 -0
- package/dist/GalleryList-zuPGIiU0.js +53 -0
- package/dist/Login-3wovg5pF.cjs +1 -0
- package/dist/Login-BCEgqTDw.js +973 -0
- package/dist/Login-BNfFZgoG.cjs +1 -0
- package/dist/Login-BSlY_EYB.js +897 -0
- package/dist/Login-CIPhjLx8.cjs +1 -0
- package/dist/Login-CJybJ8Na.js +902 -0
- package/dist/Login-CWmrZagj.js +973 -0
- package/dist/Login-CZDUBWkY.cjs +1 -0
- package/dist/Login-DJdGW1YW.js +902 -0
- package/dist/Login-Dc7EXL8c.cjs +1 -0
- package/dist/Login-Dmbowq8q.js +973 -0
- package/dist/Login-Dnm77Dtp.cjs +1 -0
- package/dist/Login-Tu8Tlgr2.js +973 -0
- package/dist/Login-_-N7Xo3h.cjs +1 -0
- package/dist/NotificationList-B8Lfbmtq.cjs +8 -0
- package/dist/NotificationList-BYZtKwgC.cjs +8 -0
- package/dist/NotificationList-BpcU7wF0.cjs +8 -0
- package/dist/NotificationList-BzorEZTG.js +3631 -0
- package/dist/NotificationList-CIXFUcyu.cjs +8 -0
- package/dist/NotificationList-CNe8Hqj8.cjs +8 -0
- package/dist/NotificationList-CPdEZnd3.js +3631 -0
- package/dist/NotificationList-CT7Tt6M9.cjs +8 -0
- package/dist/NotificationList-CvCgYrjm.js +3631 -0
- package/dist/NotificationList-Dh-B5oCh.js +3631 -0
- package/dist/NotificationList-FJsZ7yIJ.js +3631 -0
- package/dist/NotificationList-FM5_AIIF.js +3631 -0
- package/dist/NotificationList-akf9bfGm.js +3631 -0
- package/dist/NotificationList-l8zrvr-k.cjs +8 -0
- package/dist/SkillList-3JuiAPzN.cjs +1 -0
- package/dist/SkillList-BJjawvfo.cjs +1 -0
- package/dist/SkillList-BNqFmT-O.js +406 -0
- package/dist/SkillList-BVoEnTJx.cjs +1 -0
- package/dist/SkillList-BoM7DuuV.cjs +1 -0
- package/dist/SkillList-C5yZaQmG.cjs +1 -0
- package/dist/SkillList-CAmHEEjo.js +406 -0
- package/dist/SkillList-CQLFRbv2.js +406 -0
- package/dist/SkillList-CdGVj43z.js +406 -0
- package/dist/SkillList-Clghn3SV.js +406 -0
- package/dist/SkillList-CsFuzqo3.cjs +1 -0
- package/dist/SkillList-Di90sZ3_.js +406 -0
- package/dist/SkillList-DopwugS6.cjs +1 -0
- package/dist/SkillList-IojsUvg8.js +406 -0
- package/dist/TeacherSelector-6kTmhc1r.cjs +1 -0
- package/dist/TeacherSelector-B2IlCNEJ.cjs +1 -0
- package/dist/TeacherSelector-B2XA-Kdv.cjs +1 -0
- package/dist/TeacherSelector-B6z3LNuK.cjs +1 -0
- package/dist/TeacherSelector-B8jp_xxs.js +71 -0
- package/dist/TeacherSelector-BcxGeoBw.js +71 -0
- package/dist/TeacherSelector-ByfkcM4o.cjs +1 -0
- package/dist/TeacherSelector-CEnq3QlA.js +71 -0
- package/dist/TeacherSelector-C_zc78J-.cjs +1 -0
- package/dist/TeacherSelector-CzWhJ10n.js +71 -0
- package/dist/TeacherSelector-D6h3C7DI.js +71 -0
- package/dist/TeacherSelector-DaR-kbdy.js +71 -0
- package/dist/TeacherSelector-MT-WGUJv.js +71 -0
- package/dist/TeacherSelector-rPidrHlc.cjs +1 -0
- package/dist/TheContent-BSrvGZJi.cjs +1 -0
- package/dist/TheContent-BoeKh2vU.cjs +1 -0
- package/dist/TheContent-CZIsr3Z7.cjs +1 -0
- package/dist/TheContent-CrQgWHXl.cjs +1 -0
- package/dist/TheContent-CstPeFaQ.js +38 -0
- package/dist/TheContent-D1A1rPmB.js +38 -0
- package/dist/TheContent-DJSiBtTO.js +38 -0
- package/dist/TheContent-DSlfVcPr.js +38 -0
- package/dist/TheContent-DZdHFa9L.js +38 -0
- package/dist/TheContent-DvnXusqJ.js +38 -0
- package/dist/TheContent-RYhvbyne.cjs +1 -0
- package/dist/TheContent-_jkmxVUu.js +38 -0
- package/dist/TheContent-a1HFBDKx.cjs +1 -0
- package/dist/TheContent-a2ZKeKxS.cjs +1 -0
- package/dist/UserContainer-0WMaKlTx.cjs +1 -0
- package/dist/UserContainer-C6ENZuUq.js +2190 -0
- package/dist/UserContainer-CD0xIk5R.cjs +1 -0
- package/dist/UserContainer-CmGQvWr_.js +2190 -0
- package/dist/UserContainer-D4Swjytc.cjs +1 -0
- package/dist/UserContainer-DTKV2J_e.cjs +1 -0
- package/dist/UserContainer-DUSkUGBi.js +2337 -0
- package/dist/UserContainer-DfzjjFQd.js +2337 -0
- package/dist/UserContainer-RLHvzUAw.cjs +1 -0
- package/dist/UserContainer-WONSTHN9.cjs +1 -0
- package/dist/UserContainer-dUz79ZwR.js +2337 -0
- package/dist/UserContainer-jmzDSWqz.cjs +1 -0
- package/dist/UserContainer-nU2AL5y8.js +2190 -0
- package/dist/UserContainer-t_gg416Q.js +2190 -0
- package/dist/UserDetail-6GnxuMvh.js +665 -0
- package/dist/UserDetail-B-XoyRik.js +665 -0
- package/dist/UserDetail-BMIDbXJE.cjs +1 -0
- package/dist/UserDetail-BeIz6SeF.js +665 -0
- package/dist/UserDetail-Bh4CEKbh.cjs +1 -0
- package/dist/UserDetail-CHRYd0Jf.cjs +1 -0
- package/dist/UserDetail-CRV3QXwl.cjs +1 -0
- package/dist/UserDetail-Cpf_VTxS.cjs +1 -0
- package/dist/UserDetail-DGYcJ26u.js +665 -0
- package/dist/UserDetail-DOxikLDH.js +665 -0
- package/dist/UserDetail-DR0E4B9T.js +665 -0
- package/dist/UserDetail-DwVtwecf.cjs +1 -0
- package/dist/UserDetail-N2nSplPs.js +665 -0
- package/dist/UserDetail-hKlVXk-U.cjs +1 -0
- package/dist/constants-B4GxwG03.js +163 -0
- package/dist/constants-DvMQYipc.cjs +1 -0
- package/dist/containers/Login/hooks/useLogin.d.ts +3 -0
- package/dist/containers/Login/views/block/ModalSelectGrade.d.ts +8 -0
- package/dist/index-BY2ssotZ.js +18212 -0
- package/dist/index-BvsqiJb4.js +18216 -0
- package/dist/index-CU-AeWTp.cjs +29 -0
- package/dist/index-CUB9wCDI.js +18212 -0
- package/dist/index-Cim9CbfG.cjs +29 -0
- package/dist/index-CmFFNSfy.js +18208 -0
- package/dist/index-CwEz1s1w.cjs +29 -0
- package/dist/index-DEN4rbVN.js +18208 -0
- package/dist/index-DS2tn8pH.js +18208 -0
- package/dist/index-Dcc45PVH.cjs +29 -0
- package/dist/index-DmR_zd_1.cjs +29 -0
- package/dist/index-DmY9XfcB.cjs +29 -0
- package/dist/index-DwAabm-k.js +18216 -0
- package/dist/index-dxuJXnkU.cjs +29 -0
- package/dist/index.esm-0c3nlkaI.js +15 -0
- package/dist/index.esm-B1OQ11OY.cjs +1 -0
- package/dist/index.esm-B6Xk4jHp.js +15 -0
- package/dist/index.esm-C2G2T8Z0.cjs +1 -0
- package/dist/index.esm-CCekHKUg.js +15 -0
- package/dist/index.esm-CO6CbArW.cjs +1 -0
- package/dist/index.esm-CUFJyi3z.js +15 -0
- package/dist/index.esm-DHmJZYuZ.js +15 -0
- package/dist/index.esm-Du3Dz4v_.js +15 -0
- package/dist/index.esm-VZ2Ne7CN.js +15 -0
- package/dist/index.esm-aECNWk14.cjs +1 -0
- package/dist/index.esm-d6O8C7_R.cjs +1 -0
- package/dist/index.esm-dQ4WRyWe.cjs +1 -0
- package/dist/index.esm-lfoYTFu5.cjs +1 -0
- package/dist/index.js +1 -1
- package/dist/index.modern.js +38 -38
- package/dist/mailCategoryService-3wJW2xyt.js +10 -0
- package/dist/mailCategoryService-B6F_WGJB.js +10 -0
- package/dist/mailCategoryService-BRyHnziZ.js +10 -0
- package/dist/mailCategoryService-BXPn7s1X.js +10 -0
- package/dist/mailCategoryService-BmkcHo8U.cjs +1 -0
- package/dist/mailCategoryService-BqHuCwBI.js +10 -0
- package/dist/mailCategoryService-C3RPXFBy.js +10 -0
- package/dist/mailCategoryService-C86T8WPF.cjs +1 -0
- package/dist/mailCategoryService-CVxyfcHM.cjs +1 -0
- package/dist/mailCategoryService-DazWRKBr.js +10 -0
- package/dist/mailCategoryService-DjwJkhos.cjs +1 -0
- package/dist/mailCategoryService-IHU6n19h.cjs +1 -0
- package/dist/mailCategoryService-NTR1XGsJ.cjs +1 -0
- package/dist/mailCategoryService-_2v_p3A3.cjs +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),p=require("react-redux"),a=require("reactstrap"),s=require("./index-CU-AeWTp.cjs"),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:n})=>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:n}})]},n),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(a.Row,{className:`${s.styles["page-not-login"]}`,children:[e.jsx(a.Col,{md:12,children:e.jsx(j,{})}),e.jsx(a.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.content))})]}),N=10001,b=({data:t,duration:n=N})=>{const[c,m]=i.useState(t.length),r=i.useRef(null),d=i.useCallback(l=>l===c?`${s.styles.active} ${s.styles.show}`:"",[c]),h=i.useCallback(l=>c===0&&l===t.length-1||l===c-1?s.styles.behind:"",[c,t.length]),u=i.useCallback(()=>{r&&r.current&&clearInterval(r.current),r.current=setInterval(()=>{m(l=>l>=t.length-1?0:l+1)},n)},[n,t.length]);return i.useEffect(()=>(u(),()=>{r&&r.current&&clearInterval(r.current)}),[t.length,n]),e.jsx("div",{className:`${s.styles["bg-animate"]} position-absolute`,children:t.map((l,o)=>e.jsx("img",{alt:`Image ${o+1}`,className:`${h(o)} ${d(o)}`,src:s.getStaticFileUrl(l)},o))})};function f(t){return s.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(t)}const $="/admin/users/user-list",I="/home",k="/home",C="Dashboard",T="Mario Framework",S=["images/landing-page.jpg","images/landing-page2.jpg","images/landing-page3.jpg"],E=({version:t})=>{const n=p.useSelector(d=>d.common.user),[c,m]=i.useState(!1),r=()=>m(!c);return i.useEffect(()=>{n?document.title=C:document.title=T},[n]),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(b,{data:S}),e.jsxs("div",{className:`${s.styles["login-content"]}`,children:[e.jsxs(a.Navbar,{light:!0,expand:"md",children:[e.jsx(a.NavbarBrand,{href:"/",className:`${s.styles["logo-home"]}`,children:e.jsx("img",{src:s.getStaticFileUrl("/images/logo-white.svg"),alt:"mario"})}),e.jsx(f,{onClick:r,className:`${s.styles["hide-in-desktop"]} ${s.styles["hamburger-menu"]}`}),e.jsxs(a.Collapse,{isOpen:c,navbar:!0,className:`${s.styles["collapse-box"]}`,children:[e.jsxs(a.Nav,{className:`${s.styles["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,navbar:!0,children:[e.jsx(a.NavItem,{children:e.jsx(a.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"https://marioframework.com/software",target:"blank",children:"Learn More"})}),e.jsx(a.NavItem,{children:e.jsx(g.Link,{className:`${s.styles.contact} align-self-md-center`,to:"/contact",children:"Contact"})}),e.jsx(a.NavItem,{children:e.jsx(a.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:n?e.jsx(g.Link,{to:n.roles.includes("Admin")?$:n.roles.includes("Teacher")?I: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/STUDENT1.png"),alt:"icon"})})})]})]})};exports.default=E;
|
|
@@ -0,0 +1,186 @@
|
|
|
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 A, Nav as E, NavItem as g, NavLink as v } from "reactstrap";
|
|
5
|
+
import { h as n, m as i, G as w } from "./index-CUB9wCDI.js";
|
|
6
|
+
import { Link as p } from "react-router-dom";
|
|
7
|
+
const H = () => /* @__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
|
+
] }), M = ({ srcIcon: t, content: r }) => /* @__PURE__ */ a("div", { className: `${n["content-icon"]}`, children: [
|
|
24
|
+
/* @__PURE__ */ e("div", { className: `${n["title-icon"]}`, children: /* @__PURE__ */ e("img", { src: i(t), alt: "icon" }) }),
|
|
25
|
+
/* @__PURE__ */ e(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: `${n["descriptions-icon"]}`,
|
|
29
|
+
dangerouslySetInnerHTML: { __html: r }
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] }, r), 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(H, {}) }),
|
|
47
|
+
/* @__PURE__ */ e(u, { md: 12, className: `${n["box-content-home-page"]} d-flex align-items-center`, children: D.map((t) => /* @__PURE__ */ e(
|
|
48
|
+
M,
|
|
49
|
+
{
|
|
50
|
+
srcIcon: t.scrIcon,
|
|
51
|
+
content: t.content
|
|
52
|
+
},
|
|
53
|
+
t.content
|
|
54
|
+
)) })
|
|
55
|
+
] }), O = 10001, S = ({
|
|
56
|
+
data: t,
|
|
57
|
+
duration: r = O
|
|
58
|
+
}) => {
|
|
59
|
+
const [o, m] = N(t.length), s = I(null), d = h((c) => c === o ? `${n.active} ${n.show}` : "", [o]), $ = h((c) => o === 0 && c === t.length - 1 || c === o - 1 ? n.behind : "", [o, t.length]), b = h(() => {
|
|
60
|
+
s && s.current && clearInterval(s.current), s.current = setInterval(() => {
|
|
61
|
+
m((c) => c >= t.length - 1 ? 0 : c + 1);
|
|
62
|
+
}, r);
|
|
63
|
+
}, [r, t.length]);
|
|
64
|
+
return f(() => (b(), () => {
|
|
65
|
+
s && s.current && clearInterval(s.current);
|
|
66
|
+
}), [t.length, r]), /* @__PURE__ */ e("div", { className: `${n["bg-animate"]} position-absolute`, children: t.map((c, l) => /* @__PURE__ */ e(
|
|
67
|
+
"img",
|
|
68
|
+
{
|
|
69
|
+
alt: `Image ${l + 1}`,
|
|
70
|
+
className: `${$(l)} ${d(l)}`,
|
|
71
|
+
src: i(c)
|
|
72
|
+
},
|
|
73
|
+
l
|
|
74
|
+
)) });
|
|
75
|
+
};
|
|
76
|
+
function _(t) {
|
|
77
|
+
return w({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z" } }] })(t);
|
|
78
|
+
}
|
|
79
|
+
const j = "/admin/users/user-list", x = "/home", B = "/home", R = "Dashboard", U = "Mario Framework", z = [
|
|
80
|
+
"images/landing-page.jpg",
|
|
81
|
+
"images/landing-page2.jpg",
|
|
82
|
+
"images/landing-page3.jpg"
|
|
83
|
+
], J = ({ version: t }) => {
|
|
84
|
+
const r = k((d) => d.common.user), [o, m] = N(!1), s = () => m(!o);
|
|
85
|
+
return f(() => {
|
|
86
|
+
r ? document.title = R : document.title = U;
|
|
87
|
+
}, [r]), /* @__PURE__ */ a("div", { className: `${n.login} ${n["red-background"]} position-relative`, children: [
|
|
88
|
+
/* @__PURE__ */ e("span", { className: `${n["version-prod"]}`, children: `v ${t}` }),
|
|
89
|
+
/* @__PURE__ */ e(
|
|
90
|
+
S,
|
|
91
|
+
{
|
|
92
|
+
data: z
|
|
93
|
+
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ a("div", { className: `${n["login-content"]}`, children: [
|
|
96
|
+
/* @__PURE__ */ a(C, { light: !0, expand: "md", children: [
|
|
97
|
+
/* @__PURE__ */ e(y, { href: "/", className: `${n["logo-home"]}`, children: /* @__PURE__ */ e("img", { src: i("/images/logo-white.svg"), alt: "mario" }) }),
|
|
98
|
+
/* @__PURE__ */ e(
|
|
99
|
+
_,
|
|
100
|
+
{
|
|
101
|
+
onClick: s,
|
|
102
|
+
className: `${n["hide-in-desktop"]} ${n["hamburger-menu"]}`
|
|
103
|
+
}
|
|
104
|
+
),
|
|
105
|
+
/* @__PURE__ */ a(
|
|
106
|
+
A,
|
|
107
|
+
{
|
|
108
|
+
isOpen: o,
|
|
109
|
+
navbar: !0,
|
|
110
|
+
className: `${n["collapse-box"]}`,
|
|
111
|
+
children: [
|
|
112
|
+
/* @__PURE__ */ a(
|
|
113
|
+
E,
|
|
114
|
+
{
|
|
115
|
+
className: `${n["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,
|
|
116
|
+
navbar: !0,
|
|
117
|
+
children: [
|
|
118
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
119
|
+
v,
|
|
120
|
+
{
|
|
121
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
122
|
+
href: "https://marioframework.com/software",
|
|
123
|
+
target: "blank",
|
|
124
|
+
children: "Learn More"
|
|
125
|
+
}
|
|
126
|
+
) }),
|
|
127
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
128
|
+
p,
|
|
129
|
+
{
|
|
130
|
+
className: `${n.contact} align-self-md-center`,
|
|
131
|
+
to: "/contact",
|
|
132
|
+
children: "Contact"
|
|
133
|
+
}
|
|
134
|
+
) }),
|
|
135
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
136
|
+
v,
|
|
137
|
+
{
|
|
138
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
139
|
+
href: "/privacy-policy",
|
|
140
|
+
target: "blank",
|
|
141
|
+
children: "Privacy Policy"
|
|
142
|
+
}
|
|
143
|
+
) })
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
/* @__PURE__ */ e(
|
|
148
|
+
"div",
|
|
149
|
+
{
|
|
150
|
+
className: `${n["hide-in-mobile"]} d-flex justify-content-end`,
|
|
151
|
+
children: r ? /* @__PURE__ */ e(
|
|
152
|
+
p,
|
|
153
|
+
{
|
|
154
|
+
to: r.roles.includes("Admin") ? j : r.roles.includes("Teacher") ? x : B,
|
|
155
|
+
className: `${n["btn-trans-border"]}`,
|
|
156
|
+
children: "Dashboard"
|
|
157
|
+
}
|
|
158
|
+
) : /* @__PURE__ */ e(
|
|
159
|
+
p,
|
|
160
|
+
{
|
|
161
|
+
to: "/login",
|
|
162
|
+
className: `${n["btn-trans-border"]}`,
|
|
163
|
+
children: "Login"
|
|
164
|
+
}
|
|
165
|
+
)
|
|
166
|
+
}
|
|
167
|
+
)
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
)
|
|
171
|
+
] }),
|
|
172
|
+
/* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e(L, {}) }),
|
|
173
|
+
/* @__PURE__ */ e("div", { className: `${n["digital-privacy-icon"]}`, children: /* @__PURE__ */ e(
|
|
174
|
+
"a",
|
|
175
|
+
{
|
|
176
|
+
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
177
|
+
target: "blank",
|
|
178
|
+
children: /* @__PURE__ */ e("img", { src: i("/images/STUDENT1.png"), alt: "icon" })
|
|
179
|
+
}
|
|
180
|
+
) })
|
|
181
|
+
] })
|
|
182
|
+
] });
|
|
183
|
+
};
|
|
184
|
+
export {
|
|
185
|
+
J as default
|
|
186
|
+
};
|
|
@@ -0,0 +1,186 @@
|
|
|
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 A, Nav as E, NavItem as g, NavLink as v } from "reactstrap";
|
|
5
|
+
import { h as n, m as i, G as w } from "./index-DS2tn8pH.js";
|
|
6
|
+
import { Link as p } from "react-router-dom";
|
|
7
|
+
const H = () => /* @__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
|
+
] }), M = ({ srcIcon: t, content: r }) => /* @__PURE__ */ a("div", { className: `${n["content-icon"]}`, children: [
|
|
24
|
+
/* @__PURE__ */ e("div", { className: `${n["title-icon"]}`, children: /* @__PURE__ */ e("img", { src: i(t), alt: "icon" }) }),
|
|
25
|
+
/* @__PURE__ */ e(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: `${n["descriptions-icon"]}`,
|
|
29
|
+
dangerouslySetInnerHTML: { __html: r }
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] }, r), 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(H, {}) }),
|
|
47
|
+
/* @__PURE__ */ e(u, { md: 12, className: `${n["box-content-home-page"]} d-flex align-items-center`, children: D.map((t) => /* @__PURE__ */ e(
|
|
48
|
+
M,
|
|
49
|
+
{
|
|
50
|
+
srcIcon: t.scrIcon,
|
|
51
|
+
content: t.content
|
|
52
|
+
},
|
|
53
|
+
t.content
|
|
54
|
+
)) })
|
|
55
|
+
] }), O = 10001, S = ({
|
|
56
|
+
data: t,
|
|
57
|
+
duration: r = O
|
|
58
|
+
}) => {
|
|
59
|
+
const [o, m] = N(t.length), s = I(null), d = h((c) => c === o ? `${n.active} ${n.show}` : "", [o]), $ = h((c) => o === 0 && c === t.length - 1 || c === o - 1 ? n.behind : "", [o, t.length]), b = h(() => {
|
|
60
|
+
s && s.current && clearInterval(s.current), s.current = setInterval(() => {
|
|
61
|
+
m((c) => c >= t.length - 1 ? 0 : c + 1);
|
|
62
|
+
}, r);
|
|
63
|
+
}, [r, t.length]);
|
|
64
|
+
return f(() => (b(), () => {
|
|
65
|
+
s && s.current && clearInterval(s.current);
|
|
66
|
+
}), [t.length, r]), /* @__PURE__ */ e("div", { className: `${n["bg-animate"]} position-absolute`, children: t.map((c, l) => /* @__PURE__ */ e(
|
|
67
|
+
"img",
|
|
68
|
+
{
|
|
69
|
+
alt: `Image ${l + 1}`,
|
|
70
|
+
className: `${$(l)} ${d(l)}`,
|
|
71
|
+
src: i(c)
|
|
72
|
+
},
|
|
73
|
+
l
|
|
74
|
+
)) });
|
|
75
|
+
};
|
|
76
|
+
function _(t) {
|
|
77
|
+
return w({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z" } }] })(t);
|
|
78
|
+
}
|
|
79
|
+
const j = "/admin/users/user-list", x = "/home", B = "/home", R = "Dashboard", U = "Mario Framework", z = [
|
|
80
|
+
"images/landing-page.jpg",
|
|
81
|
+
"images/landing-page2.jpg",
|
|
82
|
+
"images/landing-page3.jpg"
|
|
83
|
+
], J = ({ version: t }) => {
|
|
84
|
+
const r = k((d) => d.common.user), [o, m] = N(!1), s = () => m(!o);
|
|
85
|
+
return f(() => {
|
|
86
|
+
r ? document.title = R : document.title = U;
|
|
87
|
+
}, [r]), /* @__PURE__ */ a("div", { className: `${n.login} ${n["red-background"]} position-relative`, children: [
|
|
88
|
+
/* @__PURE__ */ e("span", { className: `${n["version-prod"]}`, children: `v ${t}` }),
|
|
89
|
+
/* @__PURE__ */ e(
|
|
90
|
+
S,
|
|
91
|
+
{
|
|
92
|
+
data: z
|
|
93
|
+
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ a("div", { className: `${n["login-content"]}`, children: [
|
|
96
|
+
/* @__PURE__ */ a(C, { light: !0, expand: "md", children: [
|
|
97
|
+
/* @__PURE__ */ e(y, { href: "/", className: `${n["logo-home"]}`, children: /* @__PURE__ */ e("img", { src: i("/images/logo-white.svg"), alt: "mario" }) }),
|
|
98
|
+
/* @__PURE__ */ e(
|
|
99
|
+
_,
|
|
100
|
+
{
|
|
101
|
+
onClick: s,
|
|
102
|
+
className: `${n["hide-in-desktop"]} ${n["hamburger-menu"]}`
|
|
103
|
+
}
|
|
104
|
+
),
|
|
105
|
+
/* @__PURE__ */ a(
|
|
106
|
+
A,
|
|
107
|
+
{
|
|
108
|
+
isOpen: o,
|
|
109
|
+
navbar: !0,
|
|
110
|
+
className: `${n["collapse-box"]}`,
|
|
111
|
+
children: [
|
|
112
|
+
/* @__PURE__ */ a(
|
|
113
|
+
E,
|
|
114
|
+
{
|
|
115
|
+
className: `${n["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,
|
|
116
|
+
navbar: !0,
|
|
117
|
+
children: [
|
|
118
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
119
|
+
v,
|
|
120
|
+
{
|
|
121
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
122
|
+
href: "https://marioframework.com/software",
|
|
123
|
+
target: "blank",
|
|
124
|
+
children: "Learn More"
|
|
125
|
+
}
|
|
126
|
+
) }),
|
|
127
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
128
|
+
p,
|
|
129
|
+
{
|
|
130
|
+
className: `${n.contact} align-self-md-center`,
|
|
131
|
+
to: "/contact",
|
|
132
|
+
children: "Contact"
|
|
133
|
+
}
|
|
134
|
+
) }),
|
|
135
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
136
|
+
v,
|
|
137
|
+
{
|
|
138
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
139
|
+
href: "/privacy-policy",
|
|
140
|
+
target: "blank",
|
|
141
|
+
children: "Privacy Policy"
|
|
142
|
+
}
|
|
143
|
+
) })
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
/* @__PURE__ */ e(
|
|
148
|
+
"div",
|
|
149
|
+
{
|
|
150
|
+
className: `${n["hide-in-mobile"]} d-flex justify-content-end`,
|
|
151
|
+
children: r ? /* @__PURE__ */ e(
|
|
152
|
+
p,
|
|
153
|
+
{
|
|
154
|
+
to: r.roles.includes("Admin") ? j : r.roles.includes("Teacher") ? x : B,
|
|
155
|
+
className: `${n["btn-trans-border"]}`,
|
|
156
|
+
children: "Dashboard"
|
|
157
|
+
}
|
|
158
|
+
) : /* @__PURE__ */ e(
|
|
159
|
+
p,
|
|
160
|
+
{
|
|
161
|
+
to: "/login",
|
|
162
|
+
className: `${n["btn-trans-border"]}`,
|
|
163
|
+
children: "Login"
|
|
164
|
+
}
|
|
165
|
+
)
|
|
166
|
+
}
|
|
167
|
+
)
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
)
|
|
171
|
+
] }),
|
|
172
|
+
/* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e(L, {}) }),
|
|
173
|
+
/* @__PURE__ */ e("div", { className: `${n["digital-privacy-icon"]}`, children: /* @__PURE__ */ e(
|
|
174
|
+
"a",
|
|
175
|
+
{
|
|
176
|
+
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
177
|
+
target: "blank",
|
|
178
|
+
children: /* @__PURE__ */ e("img", { src: i("/images/STUDENT1.png"), alt: "icon" })
|
|
179
|
+
}
|
|
180
|
+
) })
|
|
181
|
+
] })
|
|
182
|
+
] });
|
|
183
|
+
};
|
|
184
|
+
export {
|
|
185
|
+
J as default
|
|
186
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),p=require("react-redux"),a=require("reactstrap"),s=require("./index-dxuJXnkU.cjs"),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:n})=>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:n}})]},n),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(a.Row,{className:`${s.styles["page-not-login"]}`,children:[e.jsx(a.Col,{md:12,children:e.jsx(j,{})}),e.jsx(a.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.content))})]}),N=10001,b=({data:t,duration:n=N})=>{const[c,m]=i.useState(t.length),r=i.useRef(null),d=i.useCallback(l=>l===c?`${s.styles.active} ${s.styles.show}`:"",[c]),h=i.useCallback(l=>c===0&&l===t.length-1||l===c-1?s.styles.behind:"",[c,t.length]),u=i.useCallback(()=>{r&&r.current&&clearInterval(r.current),r.current=setInterval(()=>{m(l=>l>=t.length-1?0:l+1)},n)},[n,t.length]);return i.useEffect(()=>(u(),()=>{r&&r.current&&clearInterval(r.current)}),[t.length,n]),e.jsx("div",{className:`${s.styles["bg-animate"]} position-absolute`,children:t.map((l,o)=>e.jsx("img",{alt:`Image ${o+1}`,className:`${h(o)} ${d(o)}`,src:s.getStaticFileUrl(l)},o))})};function f(t){return s.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(t)}const $="/admin/users/user-list",I="/home",k="/home",C="Dashboard",T="Mario Framework",S=["images/landing-page.jpg","images/landing-page2.jpg","images/landing-page3.jpg"],E=({version:t})=>{const n=p.useSelector(d=>d.common.user),[c,m]=i.useState(!1),r=()=>m(!c);return i.useEffect(()=>{n?document.title=C:document.title=T},[n]),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(b,{data:S}),e.jsxs("div",{className:`${s.styles["login-content"]}`,children:[e.jsxs(a.Navbar,{light:!0,expand:"md",children:[e.jsx(a.NavbarBrand,{href:"/",className:`${s.styles["logo-home"]}`,children:e.jsx("img",{src:s.getStaticFileUrl("/images/logo-white.svg"),alt:"mario"})}),e.jsx(f,{onClick:r,className:`${s.styles["hide-in-desktop"]} ${s.styles["hamburger-menu"]}`}),e.jsxs(a.Collapse,{isOpen:c,navbar:!0,className:`${s.styles["collapse-box"]}`,children:[e.jsxs(a.Nav,{className:`${s.styles["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,navbar:!0,children:[e.jsx(a.NavItem,{children:e.jsx(a.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"https://marioframework.com/software",target:"blank",children:"Learn More"})}),e.jsx(a.NavItem,{children:e.jsx(g.Link,{className:`${s.styles.contact} align-self-md-center`,to:"/contact",children:"Contact"})}),e.jsx(a.NavItem,{children:e.jsx(a.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:n?e.jsx(g.Link,{to:n.roles.includes("Admin")?$:n.roles.includes("Teacher")?I: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/STUDENT1.png"),alt:"icon"})})})]})]})};exports.default=E;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),p=require("react-redux"),a=require("reactstrap"),s=require("./index-DmY9XfcB.cjs"),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:n})=>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:n}})]},n),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(a.Row,{className:`${s.styles["page-not-login"]}`,children:[e.jsx(a.Col,{md:12,children:e.jsx(j,{})}),e.jsx(a.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.content))})]}),N=10001,b=({data:t,duration:n=N})=>{const[c,m]=i.useState(t.length),r=i.useRef(null),d=i.useCallback(l=>l===c?`${s.styles.active} ${s.styles.show}`:"",[c]),h=i.useCallback(l=>c===0&&l===t.length-1||l===c-1?s.styles.behind:"",[c,t.length]),u=i.useCallback(()=>{r&&r.current&&clearInterval(r.current),r.current=setInterval(()=>{m(l=>l>=t.length-1?0:l+1)},n)},[n,t.length]);return i.useEffect(()=>(u(),()=>{r&&r.current&&clearInterval(r.current)}),[t.length,n]),e.jsx("div",{className:`${s.styles["bg-animate"]} position-absolute`,children:t.map((l,o)=>e.jsx("img",{alt:`Image ${o+1}`,className:`${h(o)} ${d(o)}`,src:s.getStaticFileUrl(l)},o))})};function f(t){return s.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(t)}const $="/admin/users/user-list",I="/home",k="/home",C="Dashboard",T="Mario Framework",S=["images/landing-page.jpg","images/landing-page2.jpg","images/landing-page3.jpg"],E=({version:t})=>{const n=p.useSelector(d=>d.common.user),[c,m]=i.useState(!1),r=()=>m(!c);return i.useEffect(()=>{n?document.title=C:document.title=T},[n]),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(b,{data:S}),e.jsxs("div",{className:`${s.styles["login-content"]}`,children:[e.jsxs(a.Navbar,{light:!0,expand:"md",children:[e.jsx(a.NavbarBrand,{href:"/",className:`${s.styles["logo-home"]}`,children:e.jsx("img",{src:s.getStaticFileUrl("/images/logo-white.svg"),alt:"mario"})}),e.jsx(f,{onClick:r,className:`${s.styles["hide-in-desktop"]} ${s.styles["hamburger-menu"]}`}),e.jsxs(a.Collapse,{isOpen:c,navbar:!0,className:`${s.styles["collapse-box"]}`,children:[e.jsxs(a.Nav,{className:`${s.styles["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,navbar:!0,children:[e.jsx(a.NavItem,{children:e.jsx(a.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"https://marioframework.com/software",target:"blank",children:"Learn More"})}),e.jsx(a.NavItem,{children:e.jsx(g.Link,{className:`${s.styles.contact} align-self-md-center`,to:"/contact",children:"Contact"})}),e.jsx(a.NavItem,{children:e.jsx(a.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:n?e.jsx(g.Link,{to:n.roles.includes("Admin")?$:n.roles.includes("Teacher")?I: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/STUDENT1.png"),alt:"icon"})})})]})]})};exports.default=E;
|
|
@@ -0,0 +1,186 @@
|
|
|
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 A, Nav as E, NavItem as g, NavLink as v } from "reactstrap";
|
|
5
|
+
import { h as n, m as i, G as w } from "./index-DEN4rbVN.js";
|
|
6
|
+
import { Link as p } from "react-router-dom";
|
|
7
|
+
const H = () => /* @__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
|
+
] }), M = ({ srcIcon: t, content: r }) => /* @__PURE__ */ a("div", { className: `${n["content-icon"]}`, children: [
|
|
24
|
+
/* @__PURE__ */ e("div", { className: `${n["title-icon"]}`, children: /* @__PURE__ */ e("img", { src: i(t), alt: "icon" }) }),
|
|
25
|
+
/* @__PURE__ */ e(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: `${n["descriptions-icon"]}`,
|
|
29
|
+
dangerouslySetInnerHTML: { __html: r }
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] }, r), 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(H, {}) }),
|
|
47
|
+
/* @__PURE__ */ e(u, { md: 12, className: `${n["box-content-home-page"]} d-flex align-items-center`, children: D.map((t) => /* @__PURE__ */ e(
|
|
48
|
+
M,
|
|
49
|
+
{
|
|
50
|
+
srcIcon: t.scrIcon,
|
|
51
|
+
content: t.content
|
|
52
|
+
},
|
|
53
|
+
t.content
|
|
54
|
+
)) })
|
|
55
|
+
] }), O = 10001, S = ({
|
|
56
|
+
data: t,
|
|
57
|
+
duration: r = O
|
|
58
|
+
}) => {
|
|
59
|
+
const [o, m] = N(t.length), s = I(null), d = h((c) => c === o ? `${n.active} ${n.show}` : "", [o]), $ = h((c) => o === 0 && c === t.length - 1 || c === o - 1 ? n.behind : "", [o, t.length]), b = h(() => {
|
|
60
|
+
s && s.current && clearInterval(s.current), s.current = setInterval(() => {
|
|
61
|
+
m((c) => c >= t.length - 1 ? 0 : c + 1);
|
|
62
|
+
}, r);
|
|
63
|
+
}, [r, t.length]);
|
|
64
|
+
return f(() => (b(), () => {
|
|
65
|
+
s && s.current && clearInterval(s.current);
|
|
66
|
+
}), [t.length, r]), /* @__PURE__ */ e("div", { className: `${n["bg-animate"]} position-absolute`, children: t.map((c, l) => /* @__PURE__ */ e(
|
|
67
|
+
"img",
|
|
68
|
+
{
|
|
69
|
+
alt: `Image ${l + 1}`,
|
|
70
|
+
className: `${$(l)} ${d(l)}`,
|
|
71
|
+
src: i(c)
|
|
72
|
+
},
|
|
73
|
+
l
|
|
74
|
+
)) });
|
|
75
|
+
};
|
|
76
|
+
function _(t) {
|
|
77
|
+
return w({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z" } }] })(t);
|
|
78
|
+
}
|
|
79
|
+
const j = "/admin/users/user-list", x = "/home", B = "/home", R = "Dashboard", U = "Mario Framework", z = [
|
|
80
|
+
"images/landing-page.jpg",
|
|
81
|
+
"images/landing-page2.jpg",
|
|
82
|
+
"images/landing-page3.jpg"
|
|
83
|
+
], J = ({ version: t }) => {
|
|
84
|
+
const r = k((d) => d.common.user), [o, m] = N(!1), s = () => m(!o);
|
|
85
|
+
return f(() => {
|
|
86
|
+
r ? document.title = R : document.title = U;
|
|
87
|
+
}, [r]), /* @__PURE__ */ a("div", { className: `${n.login} ${n["red-background"]} position-relative`, children: [
|
|
88
|
+
/* @__PURE__ */ e("span", { className: `${n["version-prod"]}`, children: `v ${t}` }),
|
|
89
|
+
/* @__PURE__ */ e(
|
|
90
|
+
S,
|
|
91
|
+
{
|
|
92
|
+
data: z
|
|
93
|
+
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ a("div", { className: `${n["login-content"]}`, children: [
|
|
96
|
+
/* @__PURE__ */ a(C, { light: !0, expand: "md", children: [
|
|
97
|
+
/* @__PURE__ */ e(y, { href: "/", className: `${n["logo-home"]}`, children: /* @__PURE__ */ e("img", { src: i("/images/logo-white.svg"), alt: "mario" }) }),
|
|
98
|
+
/* @__PURE__ */ e(
|
|
99
|
+
_,
|
|
100
|
+
{
|
|
101
|
+
onClick: s,
|
|
102
|
+
className: `${n["hide-in-desktop"]} ${n["hamburger-menu"]}`
|
|
103
|
+
}
|
|
104
|
+
),
|
|
105
|
+
/* @__PURE__ */ a(
|
|
106
|
+
A,
|
|
107
|
+
{
|
|
108
|
+
isOpen: o,
|
|
109
|
+
navbar: !0,
|
|
110
|
+
className: `${n["collapse-box"]}`,
|
|
111
|
+
children: [
|
|
112
|
+
/* @__PURE__ */ a(
|
|
113
|
+
E,
|
|
114
|
+
{
|
|
115
|
+
className: `${n["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,
|
|
116
|
+
navbar: !0,
|
|
117
|
+
children: [
|
|
118
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
119
|
+
v,
|
|
120
|
+
{
|
|
121
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
122
|
+
href: "https://marioframework.com/software",
|
|
123
|
+
target: "blank",
|
|
124
|
+
children: "Learn More"
|
|
125
|
+
}
|
|
126
|
+
) }),
|
|
127
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
128
|
+
p,
|
|
129
|
+
{
|
|
130
|
+
className: `${n.contact} align-self-md-center`,
|
|
131
|
+
to: "/contact",
|
|
132
|
+
children: "Contact"
|
|
133
|
+
}
|
|
134
|
+
) }),
|
|
135
|
+
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
136
|
+
v,
|
|
137
|
+
{
|
|
138
|
+
className: `${n["learn-more"]} align-self-md-center`,
|
|
139
|
+
href: "/privacy-policy",
|
|
140
|
+
target: "blank",
|
|
141
|
+
children: "Privacy Policy"
|
|
142
|
+
}
|
|
143
|
+
) })
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
/* @__PURE__ */ e(
|
|
148
|
+
"div",
|
|
149
|
+
{
|
|
150
|
+
className: `${n["hide-in-mobile"]} d-flex justify-content-end`,
|
|
151
|
+
children: r ? /* @__PURE__ */ e(
|
|
152
|
+
p,
|
|
153
|
+
{
|
|
154
|
+
to: r.roles.includes("Admin") ? j : r.roles.includes("Teacher") ? x : B,
|
|
155
|
+
className: `${n["btn-trans-border"]}`,
|
|
156
|
+
children: "Dashboard"
|
|
157
|
+
}
|
|
158
|
+
) : /* @__PURE__ */ e(
|
|
159
|
+
p,
|
|
160
|
+
{
|
|
161
|
+
to: "/login",
|
|
162
|
+
className: `${n["btn-trans-border"]}`,
|
|
163
|
+
children: "Login"
|
|
164
|
+
}
|
|
165
|
+
)
|
|
166
|
+
}
|
|
167
|
+
)
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
)
|
|
171
|
+
] }),
|
|
172
|
+
/* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e(L, {}) }),
|
|
173
|
+
/* @__PURE__ */ e("div", { className: `${n["digital-privacy-icon"]}`, children: /* @__PURE__ */ e(
|
|
174
|
+
"a",
|
|
175
|
+
{
|
|
176
|
+
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
177
|
+
target: "blank",
|
|
178
|
+
children: /* @__PURE__ */ e("img", { src: i("/images/STUDENT1.png"), alt: "icon" })
|
|
179
|
+
}
|
|
180
|
+
) })
|
|
181
|
+
] })
|
|
182
|
+
] });
|
|
183
|
+
};
|
|
184
|
+
export {
|
|
185
|
+
J as default
|
|
186
|
+
};
|