(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7301],{7984:function(e,t,n){Promise.resolve().then(n.bind(n,3865))},3865:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var r=n(7437),a=n(2172),s=n(7138),i=n(3003),o=n(6648),l=n(2265);function c(){let[e,t]=(0,l.useState)([]),[n,c]=(0,l.useState)(null),[d,m]=(0,l.useState)(0),[f,u]=(0,l.useState)(0),[x,h]=(0,l.useState)("left"),[p,g]=(0,l.useState)(!0);return(0,l.useEffect)(()=>{(async()=>{try{let e=await fetch("https://cms.rcbcollege.ca/google");if(!e.ok)throw Error("Network response was not ok: ".concat(e.statusText));let n=await e.json();if(console.log("Fetched data:",n),Array.isArray(n)){t(n),m(n.length);let e=n.reduce((e,t)=>e+t.rating,0)/n.length;c(e)}else console.error("Unexpected data format:",n),t([])}catch(e){console.error("Error fetching reviews:",e),t([])}})()},[]),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"small-banner relative top-0 flex w-full flex-col md:h-96",style:{backgroundImage:"url('/images/banner-image-3.png')",backgroundSize:"cover",backgroundPosition:"center",marginTop:"80px"},children:(0,r.jsx)("div",{className:"flex grow flex-col items-center justify-center",children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center p-4 lg:w-8/12 xl:w-6/12",children:[(0,r.jsx)("h1",{className:"typing-text mb-2 text-center font-semibold text-[#fff] xs:text-2xl md:text-4xl",children:"From Humble Beginnings to Calgary Leading Career Colleges"}),(0,r.jsx)("p",{className:"my-3 text-center text-base font-normal text-[#fff]",children:"We are a college that enables and empowers."})]})})}),(0,r.jsx)("div",{className:" flex flex-col items-center bg-[#f2f8ff] pb-20",children:(0,r.jsx)("div",{className:"mt-5",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-0 md:-mt-6 md:grid-cols-3",children:[(0,r.jsx)(a.Zb,{className:"z-10 mb-2 flex min-h-72 flex-col gap-0 rounded-none  border-0 border-none bg-[#002147]",children:(0,r.jsxs)("div",{className:"grow",children:[(0,r.jsx)("h3",{className:"mt-2 text-2xl font-semibold text-[#fff]",children:"Result oriented programs"}),(0,r.jsx)("p",{className:"mb-5 mt-2 text-sm text-[#fff]",children:"Our programs deliver fast-paced, hands-on training programs that equip learners with practical skills, ensuring they achieve successful employment and thrive in their careers."})]})}),(0,r.jsx)(a.Zb,{className:"z-10 mb-2 flex min-h-72 flex-col gap-0 rounded-none border-0 border-none bg-[#073060]",children:(0,r.jsxs)("div",{className:"grow",children:[(0,r.jsx)("h3",{className:"mt-2 text-2xl font-semibold text-[#fff]",children:"Employment-focused training"}),(0,r.jsx)("p",{className:"mb-5 mt-2 text-sm text-[#fff]",children:"We build and sustain strong industry partnerships to develop innovative, employment-focused training programs that enhance opportunities and career success for students"})]})}),(0,r.jsx)(a.Zb,{className:"z-10 mb-2 flex min-h-72 flex-col gap-0 rounded-none border-0 border-none bg-[#002147]",children:(0,r.jsxs)("div",{className:"grow",children:[(0,r.jsx)("h3",{className:"mt-2 text-2xl font-semibold text-[#fff]",children:"Career enhancing education"}),(0,r.jsx)("p",{className:"mb-5 mt-2 text-sm text-[#fff]",children:"For years, individuals from all backgrounds have trusted RCB College for diverse, employer-driven continuing education courses. We take pride in seeing our students confidently shape their futures."})]})})]})})}),(0,r.jsx)("div",{className:"flex flex-col items-center justify-center bg-[#f2f8ff]  xs:px-4 sm:px-4 md:px-16 lg:px-56",children:(0,r.jsx)("div",{className:"mt-5",children:(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("h2",{className:"text-xl font-semibold text-[#222222]",children:"About RCB College"}),(0,r.jsx)("p",{className:"my-3 w-11/12 text-justify text-sm font-normal text-[#222222]",children:"At RCB College, we believe in transforming dreams into reality. Founded by visionary educators who saw a gap in practical, career-focused education, our college is dedicated to providing high-quality programs that equip students with the skills and knowledge needed for success. Our approach is hands-on and industry-driven, ensuring our graduates are ready to excel in their chosen fields. We strive to create a supportive and inclusive environment where every student feels valued and empowered to reach their full potential."}),(0,r.jsxs)(s.default,{href:"/contact",className:"flex justify-start text-sm font-semibold text-[#002147]",children:["Contact us",(0,r.jsx)(i.MYp,{className:"ml-3 mt-1 font-bold"})]}),(0,r.jsx)(o.default,{src:"/images/about/about-2.png",className:"my-10 h-80 w-11/12 rounded-2xl object-cover"}),(0,r.jsx)("h2",{className:"text-xl font-semibold text-[#222222]",children:"Our Vision Behind Job-ready Training Programs"}),(0,r.jsx)("p",{className:"my-3 w-11/12 text-justify text-sm font-normal text-[#222222]",children:"Our vision is to be a leader in career-focused education, empowering students from diverse backgrounds to achieve their professional goals. From Medical Office Assistant course to Business Administration diploma, we aim to foster a dynamic learning environment that combines academic excellence with real-world experience, preparing our students to make a positive impact in their communities."}),(0,r.jsxs)(s.default,{href:"/programs",className:"flex justify-start text-sm font-semibold text-[#002147]",children:["Explore our programs",(0,r.jsx)(i.MYp,{className:"ml-3 mt-1 font-bold"})]})]})})}),(0,r.jsx)("div",{className:"flex flex-col items-center justify-center bg-[#f2f8ff] pb-20 xs:px-4 sm:px-4 md:px-16 lg:px-56",children:(0,r.jsx)("div",{className:"mt-5",children:(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("h2",{className:"text-xl font-semibold text-[#222222]",children:"We are on a Mission to Help Budding Learners with Accredited Online Courses"}),(0,r.jsx)("p",{className:"my-3 w-11/12 text-justify text-sm font-normal text-[#222222]",children:"A beacon of professional development courses, our mission at RCB College is to provide accessible, innovative, and practical education that meets the evolving needs of the job market. We are committed to continuous improvement and collaboration with industry partners to ensure our curriculum remains relevant and impactful. Through personalized support and experiential learning opportunities, our admission advisors are dedicated in fulfilling admission requirements for international students and turn them into confident, skilled professionals ready to succeed in their careers."}),(0,r.jsxs)(s.default,{href:"/programs",className:"flex justify-start text-sm font-semibold text-[#002147]",children:["Explore our programs",(0,r.jsx)(i.MYp,{className:"ml-3 mt-1 font-bold"})]}),(0,r.jsx)(o.default,{src:"/images/about/about-3.png",className:"my-10 h-80 w-11/12 rounded-2xl object-cover"})]})})})]})}n(1932),n(1942)},1932:function(e,t,n){"use strict";var r=n(2265),a=r&&"object"==typeof r&&"default"in r?r:{default:r};!function(e){if(!e||"undefined"==typeof window)return;let t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.rfm-marquee-container {\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  position: relative;\n  width: var(--width);\n  transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n  animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n  animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n  background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n  content: "";\n  height: 100%;\n  position: absolute;\n  width: var(--gradient-width);\n  z-index: 2;\n  pointer-events: none;\n  touch-action: none;\n}\n.rfm-overlay::after {\n  right: 0;\n  top: 0;\n  transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n  left: 0;\n  top: 0;\n}\n\n.rfm-marquee {\n  flex: 0 0 auto;\n  min-width: var(--min-width);\n  z-index: 1;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n  animation-play-state: var(--play);\n  animation-delay: var(--delay);\n  animation-direction: var(--direction);\n}\n@keyframes scroll {\n  0% {\n    transform: translateX(0%);\n  }\n  100% {\n    transform: translateX(-100%);\n  }\n}\n\n.rfm-initial-child-container {\n  flex: 0 0 auto;\n  display: flex;\n  min-width: auto;\n  flex-direction: row;\n  align-items: center;\n}\n\n.rfm-child {\n  transform: var(--transform);\n}');let s=r.forwardRef(function(e,t){let{style:n={},className:s="",autoFill:i=!1,play:o=!0,pauseOnHover:l=!1,pauseOnClick:c=!1,direction:d="left",speed:m=50,delay:f=0,loop:u=0,gradient:x=!1,gradientColor:h="white",gradientWidth:p=200,onFinish:g,onCycleComplete:v,onMount:b,children:y}=e,[w,j]=r.useState(0),[N,k]=r.useState(0),[C,E]=r.useState(1),[A,M]=r.useState(!1),q=r.useRef(null),O=t||q,R=r.useRef(null),S=r.useCallback(()=>{if(R.current&&O.current){let e=O.current.getBoundingClientRect(),t=R.current.getBoundingClientRect(),n=e.width,r=t.width;("up"===d||"down"===d)&&(n=e.height,r=t.height),i&&n&&r?E(r<n?Math.ceil(n/r):1):E(1),j(n),k(r)}},[i,O,d]);r.useEffect(()=>{if(A&&(S(),R.current&&O.current)){let e=new ResizeObserver(()=>S());return e.observe(O.current),e.observe(R.current),()=>{e&&e.disconnect()}}},[S,O,A]),r.useEffect(()=>{S()},[S,y]),r.useEffect(()=>{M(!0)},[]),r.useEffect(()=>{"function"==typeof b&&b()},[]);let B=r.useMemo(()=>i?N*C/m:N<w?w/m:N/m,[i,w,N,C,m]),z=r.useMemo(()=>Object.assign(Object.assign({},n),{"--pause-on-hover":!o||l?"paused":"running","--pause-on-click":!o||l&&!c||c?"paused":"running","--width":"up"===d||"down"===d?"100vh":"100%","--transform":"up"===d?"rotate(-90deg)":"down"===d?"rotate(90deg)":"none"}),[n,o,l,c,d]),F=r.useMemo(()=>({"--gradient-color":h,"--gradient-width":"number"==typeof p?"".concat(p,"px"):p}),[h,p]),W=r.useMemo(()=>({"--play":o?"running":"paused","--direction":"left"===d?"normal":"reverse","--duration":"".concat(B,"s"),"--delay":"".concat(f,"s"),"--iteration-count":u?"".concat(u):"infinite","--min-width":i?"auto":"100%"}),[o,d,B,f,u,i]),_=r.useMemo(()=>({"--transform":"up"===d?"rotate(90deg)":"down"===d?"rotate(-90deg)":"none"}),[d]),T=r.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,t)=>a.default.createElement(r.Fragment,{key:t},r.Children.map(y,e=>a.default.createElement("div",{style:_,className:"rfm-child"},e)))),[_,y]);return A?a.default.createElement("div",{ref:O,style:z,className:"rfm-marquee-container "+s},x&&a.default.createElement("div",{style:F,className:"rfm-overlay"}),a.default.createElement("div",{className:"rfm-marquee",style:W,onAnimationIteration:v,onAnimationEnd:g},a.default.createElement("div",{className:"rfm-initial-child-container",ref:R},r.Children.map(y,e=>a.default.createElement("div",{style:_,className:"rfm-child"},e))),T(C-1)),a.default.createElement("div",{className:"rfm-marquee",style:W},T(C))):null});t.Z=s}},function(e){e.O(0,[3972,327,1994,7699,3295,6853,6648,2971,7023,1744],function(){return e(e.s=7984)}),_N_E=e.O()}]);