Root Zanli
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
o5t6x7pgljbm
/
public_html
/
_next
/
static
/
chunks
/
Filename :
8871-1f97758f4a17d698.js
back
Copy
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8871],{71400:function(e,i){"use strict";i.Z={src:"/_next/static/media/cfc-logo-dark.5d8ce35e.svg",height:48,width:474,blurWidth:0,blurHeight:0}},61343:function(e,i,n){"use strict";n.d(i,{i:function(){return m}});var r=n(85893),s=n(1954),t=n(99226),l=n(86886),o=n(15861),a=n(31536),c=n(25675),d=n.n(c),h=n(41664),x=n.n(h),g={src:"/_next/static/media/cfc-logo.726511cb.svg",height:42,width:395,blurWidth:0,blurHeight:0},p={src:"/_next/static/media/footer-arrow.34e19a36.svg",height:31,width:32,blurWidth:0,blurHeight:0},f=n(53373),u=n.n(f);function m(){return(0,r.jsx)(t.Z,{style:{background:"#f5f7fd"},children:(0,r.jsxs)(t.Z,{className:"container",style:{padding:"4rem 1rem",position:"relative"},children:[(0,r.jsx)(d(),{alt:"image",src:p,style:{width:"32px",height:"auto",position:"absolute",right:"1rem",top:"-16px"}}),(0,r.jsxs)(l.ZP,{container:!0,spacing:8,children:[(0,r.jsxs)(l.ZP,{item:!0,xs:12,children:[(0,r.jsx)(d(),{alt:"cfc-logo",src:g,style:{maxWidth:"300px",width:"100%"}}),(0,r.jsx)(o.Z,{children:"A new way for K-12 parents to access college funding."})]}),(0,r.jsx)(l.ZP,{item:!0,xs:12,sm:6,md:4,children:(0,r.jsxs)(a.Z,{spacing:2,children:[(0,r.jsx)(o.Z,{fontWeight:"bold",children:"Company"}),(0,r.jsx)(x(),{href:"/terms-and-conditions",className:u().link,children:"Terms & Conditions"}),(0,r.jsx)(x(),{href:"/privacy-policy",className:u().link,children:"Privacy Policy"}),(0,r.jsx)(x(),{href:"/faq",className:u().link,children:"FAQs"})]})}),(0,r.jsx)(l.ZP,{item:!0,xs:12,sm:6,md:4,children:(0,r.jsxs)(a.Z,{spacing:2,children:[(0,r.jsx)(o.Z,{fontWeight:"bold",children:"Quick Links"}),(0,r.jsx)(x(),{href:"/",className:u().link,children:"About Us"}),(0,r.jsx)(x(),{href:"/login",className:u().link,children:"Student Login"}),(0,r.jsx)(x(),{href:"/school-access",className:u().link,children:"Approaching School Districts"})]})}),(0,r.jsx)(l.ZP,{item:!0,xs:12,sm:12,md:4,children:(0,r.jsxs)(a.Z,{spacing:2,children:[(0,r.jsx)(o.Z,{fontWeight:"bold",children:"Contact Us"}),(0,r.jsxs)(t.Z,{style:{display:"flex",alignItems:"center",gap:4},children:[(0,r.jsx)(s.JO,{icon:"carbon:phone",fontSize:"large"}),(0,r.jsx)(o.Z,{children:"+1 877-700-7807"})]}),(0,r.jsxs)(t.Z,{style:{display:"flex",alignItems:"center",gap:4},children:[(0,r.jsx)(s.JO,{icon:"carbon:email",fontSize:"large"}),(0,r.jsx)(x(),{href:"mailto:info@coinsforcollege.org",children:"info@coinsforcollege.org"})]})]})}),(0,r.jsx)(l.ZP,{item:!0,xs:12,children:(0,r.jsx)(t.Z,{sx:{borderTop:"1px solid #00335033",borderBottom:"1px solid #00335033",padding:"2rem 0"},children:(0,r.jsxs)(l.ZP,{container:!0,spacing:4,children:[(0,r.jsx)(l.ZP,{item:!0,xs:12,sm:6,md:4,children:(0,r.jsxs)(x(),{href:"/user/me",className:u().link,style:{display:"flex",alignItems:"center",gap:2},children:[(0,r.jsx)(o.Z,{fontWeight:"bold",children:"Learning Dashboard"}),(0,r.jsx)(s.JO,{icon:"uil:enter",rotate:90,fontSize:"large"})]})}),(0,r.jsx)(l.ZP,{item:!0,xs:12,sm:6,md:4,children:(0,r.jsxs)(a.Z,{direction:"row",spacing:2,alignItems:"center",children:[(0,r.jsx)(o.Z,{children:"Connect with us"}),(0,r.jsx)("a",{href:"https://www.linkedin.com/company/77714936",target:"_blank",rel:"noreferrer",style:{color:"inherit",display:"flex"},children:(0,r.jsx)(s.JO,{icon:"akar-icons:linkedin-fill",fontSize:"large"})}),(0,r.jsx)("a",{href:"https://twitter.com/Coins_4_College",target:"_blank",rel:"noreferrer",style:{color:"inherit",display:"flex"},children:(0,r.jsx)(s.JO,{icon:"akar-icons:twitter-fill",fontSize:"large"})}),(0,r.jsx)("a",{href:"https://www.facebook.com/Coinsforcollege",target:"_blank",rel:"noreferrer",style:{color:"inherit",display:"flex"},children:(0,r.jsx)(s.JO,{icon:"akar-icons:facebook-fill",fontSize:"large"})}),(0,r.jsx)("a",{href:"https://www.instagram.com/coins_for_college",target:"_blank",rel:"noreferrer",style:{color:"inherit",display:"flex"},children:(0,r.jsx)(s.JO,{icon:"akar-icons:instagram-fill",fontSize:"large"})})]})})]})})}),(0,r.jsx)(l.ZP,{item:!0,xs:12,children:(0,r.jsxs)(o.Z,{fontSize:"12px",align:"center",children:["Copyright \xa9 ",new Date().getFullYear()," Coins for College. All rights reserved."]})})]})]})})}},54994:function(e,i,n){"use strict";n.d(i,{g:function(){return H}});var r=n(85893),s=n(59054),t=n(83180),l=n(54151),o=n(29462),a=n(48833),c=n(59164),d=n(2734),h=n(98396),x=n(99226),g=n(31536),p=n(93946),f=n(77533),u=n(15861),m=n(83321),j=n(69661),k=n(44347),b=n(67720),Z=n(18972),w=n(48885),y=n(9008),v=n.n(y),_=n(25675),C=n.n(_),S=n(41664),z=n.n(S),I=n(11163),N=n.n(I),P=n(67294),A=n(58329),W={src:"/_next/static/media/cfc-logo.400139c3.svg",height:182,width:1687,blurWidth:0,blurHeight:0},J=n(71400),O=n(4730),q=n(74910),T=n(93561),D=n(16637),F=n(38887),L=n(1162),U=n.n(L);function H(e){var i,n,y;let _=(0,d.Z)(),{setSwitchModal:S}=(0,q.T)(),I=(0,h.Z)(()=>_.breakpoints.up("sm")),L=(0,O.G)(),{setToken:H}=(0,T.L)(),{user:B}=P.useContext(A.V),[E,M]=P.useState(!1),[R,K]=P.useState(null),Q=()=>{K(null)};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v(),{children:(0,r.jsx)("title",{children:"".concat(e.title," - Coins for College")})}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.Z,{sx:{position:"sticky",top:0,zIndex:999,backgroundAttachment:"fixed",background:e.backgroundImage?void 0:null!==(n=e.background)&&void 0!==n?n:"#ffffff",backgroundImage:e.backgroundImage,backgroundSize:"cover"},children:(0,r.jsx)(x.Z,{className:"container",sx:{"&.container":{padding:"0.5rem 1rem"}},children:(0,r.jsxs)(g.Z,{direction:"row",justifyContent:"space-between",children:[(0,r.jsxs)(x.Z,{sx:{display:"flex",gap:2,alignContent:"center",alignItems:"center"},children:[(0,r.jsx)(x.Z,{sx:{display:"none",[_.breakpoints.down("md")]:{display:"flex"}},children:(0,r.jsxs)(P.Fragment,{children:[(0,r.jsx)(p.Z,{onClick:()=>M(!0),sx:{color:e.white?"white":void 0},children:(0,r.jsx)(a.Z,{})}),(0,r.jsx)(f.ZP,{anchor:"bottom",open:E,onClose:()=>M(!1),PaperProps:{sx:{borderRadius:"8px 8px 0 0",margin:"0 8px",background:"white"}},children:(0,r.jsx)(g.Z,{spacing:4,sx:{padding:"8vw",textAlign:"center",background:"linear-gradient(180deg, #e8eafa 0%, rgba(239, 249, 250, 0) 100%)"},children:(0,r.jsx)(z(),{href:"/about-us",className:"btn-style-primary",onClick:()=>M(!1),children:"About Us"})})})]})}),(0,r.jsx)(x.Z,{sx:{display:"flex"},children:(0,r.jsx)(C(),{onClick:()=>N().push("/"),alt:"cfc-logo",src:e.white?W:J.Z,style:{width:"100%",maxWidth:"200px",height:"auto",cursor:"pointer"}})})]}),(0,r.jsx)(x.Z,{alignSelf:"center",children:(0,r.jsxs)(g.Z,{direction:"row",spacing:2,alignItems:"center",children:[(0,r.jsx)(x.Z,{sx:{[_.breakpoints.down("md")]:{display:"none"}},children:(0,r.jsx)(z(),{href:"/about-us",className:U().link,style:{color:e.white?"white":void 0},children:(0,r.jsx)(u.Z,{children:"About Us"})})}),!B&&(0,r.jsx)(x.Z,{sx:{minHeight:"46px",display:"flex"},children:(0,r.jsx)(m.Z,{variant:"contained",onClick:()=>N().push("/login"),sx:{"&.MuiButton-contained":{alignSelf:"center",background:e.white?"linear-gradient(142.33deg, #14A9FF -1.04%, #1C5DC8 170.82%)":void 0}},children:I?"Sign In / Register":"Sign In"})}),B&&(0,r.jsxs)(x.Z,{sx:{display:"flex"},children:[(0,r.jsx)(p.Z,{onClick:e=>{K(e.currentTarget)},sx:{alignSelf:"center"},children:(0,r.jsx)(j.Z,{src:"",alt:B.firstName,sx:{width:36,height:36,bgcolor:"#14a9ff"},children:null===(i=B.firstName.at(0))||void 0===i?void 0:i.toUpperCase()})}),(0,r.jsxs)(k.Z,{anchorEl:R,id:"account-menu",open:!!R,onClose:Q,onClick:Q,PaperProps:{elevation:0,sx:{overflow:"visible",filter:"drop-shadow(0px 2px 8px rgba(0,0,0,0.32))",mt:1.5,"& .MuiAvatar-root":{width:36,height:36,ml:-.5,mr:1},"&:before":{content:'""',display:"block",position:"absolute",top:0,right:14,width:10,height:10,bgcolor:"background.paper",transform:"translateY(-50%) rotate(45deg)",zIndex:0}}},transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},children:[(0,r.jsx)(x.Z,{padding:"10px 20px",children:(0,r.jsxs)(u.Z,{sx:{textTransform:"capitalize"},children:[B.firstName," ",B.lastName]})}),(0,r.jsx)(b.Z,{}),(0,r.jsxs)(Z.Z,{onClick:()=>N().push(B.type===D.pq.parent?"/user/me":"/learning/dashboard"),children:[(0,r.jsx)(w.Z,{children:(0,r.jsx)(t.Z,{fontSize:"small"})}),"Dashboard"]}),B.type===D.pq.parent&&(0,r.jsxs)(Z.Z,{onClick:()=>N().push("/user/lti"),children:[(0,r.jsx)(w.Z,{children:(0,r.jsx)(s.Z,{fontSize:"small"})}),"LTI Apps"]}),(0,r.jsxs)(Z.Z,{onClick:()=>N().push(B.type===D.pq.parent?"/user/settings":"/learning/profile/view/".concat(B.id)),children:[(0,r.jsx)(w.Z,{children:(0,r.jsx)(o.Z,{fontSize:"small"})}),"Manage"]}),(0,r.jsxs)(Z.Z,{onClick:()=>S(!0),children:[(0,r.jsx)(w.Z,{children:(0,r.jsx)(c.Z,{fontSize:"small"})}),"Switch Account"]}),(0,r.jsxs)(Z.Z,{onClick:()=>{if(!B){H(null);return}F.R.user.post(B.type===D.pq.parent?"/api/account/logout":"/api/profile/logout").then(e=>{L.show(e.data.message,"success"),H(null),N().push("/")}).catch(e=>{var i,n,r;L.show(null!==(r=null===(n=e.response)||void 0===n?void 0:null===(i=n.data)||void 0===i?void 0:i.message)&&void 0!==r?r:"Unknown error, please try again","error")})},children:[(0,r.jsx)(w.Z,{children:(0,r.jsx)(l.Z,{fontSize:"small"})}),"Logout"]})]})]})]})})]})})}),e.showTitle&&(0,r.jsx)(u.Z,{textAlign:"center",paddingTop:"4rem",paddingBottom:"4rem",variant:"h4",fontWeight:500,sx:{color:e.white?"white":"undefined",backgroundAttachment:"fixed",background:e.backgroundImage?void 0:null!==(y=e.background)&&void 0!==y?y:"#ffffff",backgroundImage:e.backgroundImage,backgroundSize:"cover"},children:e.title})]})]})}},53373:function(e){e.exports={"link-main":"footer_link-main__vp_o8",link:"footer_link__KqJj_"}},1162:function(e){e.exports={link:"header_link__h_qnq","link-active":"header_link-active__0JrCZ",heading:"header_heading__SDDJ4","link-sub":"header_link-sub__vt5O6"}}}]);