PageSourceSearch

https://trytita.com/_next/static/chunks/pages/contact-us-c5fe76b77b18d552.js

js trytita.com collected 2026-10-02 01:47:17 UTC 11,352 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[455],{976:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n=r(2833);r(7294);var o=r(7842),i=r(661),a=r(899),s=r(9020),c=r(5675),l=r.n(c),d=r(5893),p=(0,i.zo)(o.$0).withConfig({componentId:"sc-1im2tc5-0"})(['background:url("/landing/app-tutorial-bg.png"),'," no-repeat;background-size:cover;","{padding-top:48px;padding-bottom:48px;display:flex;gap:80px;flex-direction:column;@media ","{flex-direction:row;gap:17px;align-items:center;}}"],function(e){return e.theme.colors.primary},o.fV,a.Uh.md),u=i.zo.div.withConfig({componentId:"sc-1im2tc5-1"})(["flex:1;","{color:",";max-width:550px;@media ","{max-width:768px;}}","{margin-top:40px;svg{width:20px;height:20px;path{stroke:",";stroke-width:1.5;}}}"],o.M$,function(e){return e.theme.colors.white},a.Uh.md,n.Z,function(e){return e.theme.colors.black}),h=i.zo.div.withConfig({componentId:"sc-1im2tc5-2"})(["width:100%;@media ","{width:400px;}@media ","{width:500px;}img{width:100%;height:400px;border-radius:8px;}"],a.Uh.md,a.Uh.lg);function m(){return(0,d.jsx)(p,{children:(0,d.jsxs)(o.fV,{children:[(0,d.jsxs)(u,{children:[(0,d.jsx)(o.M$,{children:"Need help using Tita?"}),(0,d.jsx)("p",{style:{fontSize:"24px"},children:"Explore our application tutorials here."}),(0,d.jsxs)(n.Z,{as:"a",href:"https://www.youtube.com/@titaafrica2558",variant:"secondary",size:"large",target:"_blank",children:["See how it works ",(0,d.jsx)(s.Z,{})]})]}),(0,d.jsx)(h,{children:(0,d.jsx)(l(),{alt:"Need help using Tita? Check out our application tutorials here",width:500,height:500,src:"/landing/app-tutorial.png"})})]})})}function f(e){var t=e.children;return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(o.PQ,{children:[t,(0,d.jsx)(m,{})]})})}},1182:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return X}});var n=r(3940),o=r(976),i=r(5758),a=r(29),s=r(2640),c=r(7794),l=r.n(c),d=r(2833),p=r(9499),u=r(4730),h=r(7294),m=r(7842),f=r(661),x=r(899),g=r(5893),b=["className","label","name","onChange","value","placeholder","error"];function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var j=f.ZP.div.withConfig({componentId:"sc-1b91van-0"})(["width:100%;label{margin-bottom:6px;font-size:14px;width:fit-content;font-family:CG-Medium;}"]),v=f.ZP.input.withConfig({componentId:"sc-1b91van-1"})(["display:block;height:48px;width:100%;border-radius:8px;border:1px solid ",";background-color:",";padding:12px 16px;font-size:16px;box-shadow:0px 1px 2px 0px rgba(16,24,40,0.05);&::placeholder{color:",";}"],function(e){return e.$isInvalid?"#EE4B2B":"#d0d5dd"},function(e){return e.theme.colors.white},function(e){return e.theme.colors.subtext});function y(e){var t=e.className,r=e.label,n=e.name,o=e.onChange,i=e.value,a=e.placeholder,s=e.error,c=(0,u.Z)(e,b);return(0,g.jsxs)(j,{className:t,children:[r&&(0,g.jsx)("label",{htmlFor:n,children:r}),(0,g.jsx)(v,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){(0,p.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({name:n,placeholder:a,id:n,onChange:o,value:i,$isInvalid:s},c)),s&&(0,g.jsx)(m.CV,{children:s})]})}var O=["className","label","name","onChange","value","placeholder","error"];function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var C=f.ZP.div.withConfig({componentId:"sc-rq1ony-0"})(["width:100%;label{margin-bottom:6px;font-size:14px;width:fit-content;font-family:CG-Medium;}"]),k=f.ZP.textarea.withConfig({componentId:"sc-rq1ony-1"})(["display:block;height:128px;width:100%;border-radius:8px;border:1px solid ",";background-color:",";padding:10px 14px;font-size:16px;box-shadow:0px 1px 2px 0px rgba(16,24,40,0.05);resize:none;&::placeholder{color:",";}"],function(e){return e.$isInvalid?"#EE4B2B":"#d0d5dd"},function(e){return e.theme.colors.white},function(e){return e.theme.colors.subtext});function Z(e){var t=e.className,r=e.label,n=e.name,o=e.onChange,i=e.value,a=e.placeholder,s=e.error,c=(0,u.Z)(e,O);return(0,g.jsxs)(C,{className:t,children:[r&&(0,g.jsx)("label",{htmlFor:n,children:r}),(0,g.jsx)(k,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?P(Object(r),!0).forEach(function(t){(0,p.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({name:n,placeholder:a,id:n,onChange:o,value:i,$isInvalid:s},c)),s&&(0,g.jsx)(m.CV,{children:s})]})}var N=r(1826);r(5516);var E=["value","onChange","placeholder","label","name","error"];function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var z=f.zo.div.withConfig({componentId:"sc-jvgw0g-0"})(["width:100%;label{margin-bottom:6px;font-size:14px;width:fit-content;font-family:CG-Medium;}.PhoneInput{background-color:",";border:1px solid ",";border-radius:8px;box-shadow:0px 1px 2px 0px rgba(16,24,40,0.05);height:48px;input{&::placeholder{color:",";}}}.PhoneInputCountry{padding:16px 12px 12px;align-items:flex-start;}.PhoneInputCountryIcon--border{background-color:transparent;border:none;}.PhoneInputCountrySelectArrow{width:10px;height:10px;border-color:#667085;opacity:1;}"],function(e){return e.theme.colors.white},function(e){return e.$isInvalid?"#EE4B2B":"#d0d5dd"},function(e){return e.theme.colors.subtext});function _(e){var t=e.value,r=e.onChange,n=e.placeholder,o=e.label,i=e.name,a=e.error,s=(0,u.Z)(e,E);return(0,g.jsxs)(z,{$isInvalid:a,children:[o&&(0,g.jsx)("label",{htmlFor:i,children:o}),(0,g.jsx)(N.ZP,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach(function(t){(0,p.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({defaultCountry:"NG",placeholder:void 0===n?"+234 (800) 000-0000":n,value:t,onChange:r,id:i},s)),a&&(0,g.jsx)(m.CV,{children:a})]})}var S=r(5675),U=r.n(S),D=r(6310),q=r(2175),$=f.zo.div.withConfig({componentId:"sc-1wz7c1y-0"})(["width:fit-content;.loader,.loader:after{border-radius:50%;width:20px;height:20px;}.loader{margin:60px auto;font-size:3px;position:relative;text-indent:-9999em;border-top:1.1em solid rgba(255,255,255,0.2);border-right:1.1em solid rgba(255,255,255,0.2);border-bottom:1.1em solid rgba(255,255,255,0.2);border-left:1.1em solid #ffffff;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear;}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg);}}"]);function B(){return(0,g.jsx)($,{children:(0,g.jsx)("div",{className:"loader"})})}var V=r(2920),M=r(3032),T=r(2729).Z.create({baseURL:"https://api.titaqube.com/"}),F=(0,f.zo)(m.$0).withConfig({componentId:"sc-1svefwo-0"})(["background-color:",";","{padding-top:48px;padding-bottom:72px;display:flex;flex-direction:column;gap:27px;@media ","{flex-direction:row;padding-top:64px;padding-bottom:100px;gap:66px;}}"],function(e){return e.theme.colors.white},m.fV,x.Uh.lg),G=f.zo.div.withConfig({componentId:"sc-1svefwo-1"})(["width:100%;@media ","{max-width:600px;}@media ","{width:443px;max-width:unset;}@media ","{width:50%;}img{width:100%;height:auto;border-radius:8px;max-height:394px;@media ","{max-height:450px;}@media ","{max-height:667px;}}"],x.Uh.sm,x.Uh.lg,x.Uh.xl,x.Uh.sm,x.Uh.lg),A=f.zo.div.withConfig({componentId:"sc-1svefwo-2"})(["flex:1;","{@media ","{line-height:60px;}}","{line-height:30px;@media ","{font-size:20px;}}"],m.ls,x.Uh.lg,m.mr,x.Uh.lg),R=f.zo.form.withConfig({componentId:"sc-1svefwo-3"})(["display:flex;flex-direction:column;gap:24px;margin-top:48px;> ","{margin-top:8px;width:100%;}"],d.Z),J=D.Ry().shape({businessName:D.Z_().required("Business name is required"),
1contactEmail:D.Z_().required("Email is required").email("Please use a valid email"),contactPhoneNumber:D.Z_().required("Phone number is required"),message:D.Z_().required("Message is required")});function L(){var e,t=h.useState(x.JW),r=(0,s.Z)(t,2),n=r[0],o=r[1],i=(e=(0,a.Z)(l().mark(function e(t){var r,n,i;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o(x.br),e.prev=1,e.next=4,T.post("/api/contact-us/get-in-touch",t);case 4:n=(r=e.sent||{}).status,i=r.data,200===n&&(o(x.MR),(0,V.Am)(i.message,{progress:void 0,type:"success"})),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(1),o(x.pn),(0,V.Am)((0,M.e$)(e.t0),{progress:void 0,type:"error"});case 13:case"end":return e.stop()}},e,null,[[1,9]])})),function(t){return e.apply(this,arguments)});return(0,g.jsx)(F,{children:(0,g.jsxs)(m.fV,{children:[(0,g.jsx)(G,{children:(0,g.jsx)(U(),{alt:"Get in touch with us",width:700,height:700,src:"/contact-us.png",priority:!0})}),(0,g.jsxs)(A,{children:[(0,g.jsx)(m.ls,{children:"Get in touch with us"}),(0,g.jsx)(m.mr,{children:"Our friendly team would love to hear from you."}),(0,g.jsx)(q.J9,{initialValues:{businessName:"",contactEmail:"",contactPhoneNumber:"",message:""},validationSchema:J,onSubmit:function(e){return i(e)},children:function(e){var t=e.values,r=e.errors,o=e.touched,i=e.handleSubmit,a=e.setFieldValue,s=e.handleChange;return(0,g.jsxs)(R,{onSubmit:function(e){e.preventDefault(),i()},children:[(0,g.jsx)(y,{label:"Business name",placeholder:"Business name",name:"businessName",onChange:s,error:o.businessName&&r.businessName}),(0,g.jsx)(y,{label:"Contact Email",placeholder:"[email protected]",name:"contactEmail",type:"email",onChange:s,error:o.contactEmail&&r.contactEmail}),(0,g.jsx)(_,{label:"Contact Phone number",name:"contactPhoneNumber",value:t.contactPhoneNumber,onChange:function(e){return a("contactPhoneNumber",e||"")},error:o.contactPhoneNumber&&r.contactPhoneNumber}),(0,g.jsx)(Z,{label:"Message",name:"message",onChange:s,error:o.message&&r.message}),(0,g.jsx)(d.Z,{variant:"primary",type:"submit",disabled:n===x.br,children:n===x.br?(0,g.jsx)(B,{}):"Send message"})]})}})]})]})})}function X(){return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(i.Z,{metaName:"Tita | Contact Us",metaContent:"Tita",title:"Tita | Contact Us"}),(0,g.jsx)(L,{})]})}X.getLayout=function(e){return(0,g.jsx)(n.Z,{children:(0,g.jsx)(o.Z,{children:e})})}},2873:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-us",function(){return r(1182)}])}},function(e){e.O(0,[177,652,6,774,888,179],function(){return e(e.s=2873)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.