"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4889],{1253:(e,a,s)=>{s.d(a,{A:()=>i});var t=s(5155),l=s(2115),n=s(9114),r=s(2606),o=s(9911);function i(e){let{isOpen:a,onClose:s}=e,[i,c]=(0,l.useState)({studentName:"",fatherName:"",motherName:"",phone:"",email:"",address:"",classApplying:"",previousSchool:"",dateOfBirth:""}),[d,m]=(0,l.useState)(!1),u=e=>{c({...i,[e.target.name]:e.target.value})};return(0,t.jsx)(n.N,{children:a&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:s,className:"fixed inset-0 bg-black/60 backdrop-blur-sm z-50 flex items-center justify-center p-4",children:(0,t.jsxs)(r.P.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},transition:{type:"spring",duration:.5},onClick:e=>e.stopPropagation(),className:"bg-white rounded-2xl shadow-2xl w-full max-w-2xl max-h-[90vh] overflow-y-auto",children:[(0,t.jsx)("div",{className:"sticky top-0 bg-gradient-to-r from-[#035c00] to-[#024700] text-white p-6 rounded-t-2xl",children:(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-2xl md:text-3xl font-bold mb-2",children:"Admission Form"}),(0,t.jsx)("p",{className:"text-white/90 text-sm",children:"Fill the form and submit via WhatsApp"})]}),(0,t.jsx)("button",{onClick:s,className:"w-10 h-10 rounded-full bg-white/20 hover:bg-white/30 flex items-center justify-center transition-colors",children:(0,t.jsx)(o.QCr,{className:"text-xl"})})]})}),(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault(),m(!0);let a="\n\uD83C\uDF93 *NEW ADMISSION INQUIRY*\n\n\uD83D\uDC64 *Student Details:*\nName: ".concat(i.studentName,"\nDate of Birth: ").concat(i.dateOfBirth,"\nClass Applying For: ").concat(i.classApplying,"\n\n\uD83D\uDC68\xe2€\x8d\uD83D\uDC69\xe2€\x8d\uD83D\uDC66 *Parent Details:*\nFather's Name: ").concat(i.fatherName,"\nMother's Name: ").concat(i.motherName,"\nPhone: ").concat(i.phone,"\nEmail: ").concat(i.email,"\n\n\uD83C\uDFEB\xa0 *Address:*\n").concat(i.address,"\n\n\uD83C\uDFEB *Previous School:*\n").concat(i.previousSchool||"N/A","\n\n---\nSent from Jai Govind Public School Website\n ").trim(),t="https://wa.me/".concat("919997161490","?text=").concat(encodeURIComponent(a));window.open(t,"_blank"),setTimeout(()=>{m(!1),c({studentName:"",fatherName:"",motherName:"",phone:"",email:"",address:"",classApplying:"",previousSchool:"",dateOfBirth:""}),s()},1e3)},className:"p-6 space-y-4",children:[(0,t.jsxs)("div",{className:"bg-gray-50 p-4 rounded-xl",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-[#035c00] mb-4 flex items-center gap-2",children:[(0,t.jsx)(o.YNd,{}),"Student Details"]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Student Name *"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.x$1,{className:"absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"}),(0,t.jsx)("input",{type:"text",name:"studentName",value:i.studentName,onChange:u,required:!0,className:"w-full pl-10 pr-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-[#035c00] focus:border-transparent outline-none transition-all",placeholder:"Enter student name"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Date of Birth *"}),(0,t.jsx)("input",{type:"date",name:"dateOfBirth",value:i.dateOfBirth,onChange:u,required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-[#035c00] focus:border-transparent outline-none transition-all"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Class Applying For *"}),(0,t.jsxs)("select",{name:"classApplying",value:i.classApplying,onChange:u,required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-[#035c00] focus:border-transparent outline-none transition-all",children:[(0,t.jsx)("option",{value:"",children:"Select Class"}),(0,t.jsx)("option",{value:"Nursery",children:"Nursery"}),(0,t.jsx)("option",{value:"LKG",children:"LKG"}),(0,t.jsx)("option",{value:"UKG",children:"UKG"}),(0,t.jsx)("option",{value:"Class 1",children:"Class 1"}),(0,t.jsx)("option",{value:"Class 2",children:"Class 2"}),(0,t.jsx)("option",{value:"Class 3",children:"Class 3"}),(0,t.jsx)("option",{value:"Class 4",children:"Class 4"}),(0,t.jsx)("option",{value:"Class 5",children:"Class 5"}),(0,t.jsx)("option",{value:"Class 6",children:"Class 6"}),(0,t.jsx)("option",{value:"Class 7",children:"Class 7"}),(0,t.jsx)("option",{value:"Class 8",children:"Class 8"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Previous School"}),(0,t.jsx)("input",{type:"text",name:"previousSchool",value:i.previousSchool,onChange:u,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-[#035c00] focus:border-transparent outline-none transition-all",placeholder:"Previous school name"})]})]})]}),(0,t.jsxs)("div",{className:"bg-gray-50 p-4 rounded-xl",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-[#035c00] mb-4 flex items-center gap-2",children:[(0,t.jsx)(o.x$1,{}),"Parent Details"]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Father's Name *"}),(0,t.jsx)("input",{type:"text",name:"fatherName",value:i.fatherName,onChange:u,required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-[#035c00] focus:border-transparent outline-none transition-all",placeholder:"Enter father's name"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Mother's Name *"}),(0,t.jsx)("input",{type:"text",name:"motherName",value:i.motherName,onChange:u,required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-[#035c00] focus:border-transparent outline-none transition-all",placeholder:"Enter mother's name"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Phone Number *"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.Cab,{className:"absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"}),(0,t.jsx)("input",{type:"tel",name:"phone",value:i.phone,onChange:u,required:!0,pattern:"[0-9]{10}",className:"w-full pl-10 pr-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-[#035c00] focus:border-transparent outline-none transition-all",placeholder:"10-digit mobile number"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Email Address"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.maD,{className:"absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"}),(0,t.jsx)("input",{type:"email",name:"email",value:i.email,onChange:u,className:"w-full pl-10 pr-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-[#035c00] focus:border-transparent outline-none transition-all",placeholder:"email@example.com"})]})]})]})]}),(0,t.jsxs)("div",{className:"bg-gray-50 p-4 rounded-xl",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-[#035c00] mb-4 flex items-center gap-2",children:[(0,t.jsx)(o.vq8,{}),"Address"]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Complete Address *"}),(0,t.jsx)("textarea",{name:"address",value:i.address,onChange:u,required:!0,rows:3,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-[#035c00] focus:border-transparent outline-none transition-all resize-none",placeholder:"Enter complete address with city and pincode"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 pt-4",children:[(0,t.jsx)("button",{type:"submit",disabled:d,className:"flex-1 bg-gradient-to-r from-[#035c00] to-[#024700] text-white py-4 px-6 rounded-xl font-bold text-lg hover:shadow-lg transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-3",children:d?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-5 h-5 border-2 border-white border-t-transparent rounded-full animate-spin"}),"Submitting..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.EcP,{className:"text-2xl"}),"Submit via WhatsApp"]})}),(0,t.jsx)("button",{type:"button",onClick:s,className:"sm:w-32 bg-gray-200 text-gray-700 py-4 px-6 rounded-xl font-semibold hover:bg-gray-300 transition-colors",children:"Cancel"})]}),(0,t.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"Your form details will be sent to our WhatsApp number for quick response"})]})]})})})})}},6245:(e,a,s)=>{s.d(a,{b:()=>t});let t={name:"Jai Govind Public School",logo:"/images/school-logo.png",address:"NH9 Delhi Road, Joya, District Amroha, Pin code: 244222",classes:"Nursery to Class 8",specialCoaching:"Entrance exams (AMU, JMI, Sainik School, Military School, Vidyagyan) for Classes 6 and 9",contacts:{manager:{name:"Saral Kumar",phone:"+91 9997161490",role:"Manager"},principal:{name:"Rifaul Hasan",phone:"+91 9412137554",role:"Principal"}},mission:"To provide quality education that nurtures intellectual growth, character development, and physical well-being of students.",vision:"To be recognized as a leading educational institution that prepares students for academic excellence and future success.",values:["Academic Excellence","Character Building","Community Service","Respect for All","Discipline"],academics:{curriculum:{nursery:"Foundation learning with focus on language, numbers, creative activities, and physical development.",primary:"Comprehensive curriculum covering languages, mathematics, environmental studies, art and physical education.",middle:"Advanced curriculum with subjects including science, mathematics, social studies, languages, and computer education."},entranceCoaching:{description:"Specialized coaching for entrance exams to premier schools and institutions.",targetClasses:[6,9],targetInstitutions:["AMU","JMI","Sainik School","Military School","Vidyagyan"]}},facilities:["Modern Classrooms","Computer Lab","Library","Sports Ground","Science Lab"],testimonials:[{name:"Parent of Class 5 Student",quote:"The school has excellent teachers who care deeply about students' progress."},{name:"Parent of Class 8 Student",quote:"The special coaching programs have helped my child prepare for competitive exams effectively."},{name:"Former Student",quote:"My foundation at Jai Govind Public School helped me excel in my further studies."}],social:{facebook:"https://www.facebook.com/people/Jai-Govind-Public-School/61573295603092/",instagram:"https://www.instagram.com/jaigovindpublicschooljoya_54/"},location:{coordinates:{lat:28.9,lng:78.47},mapEmbedUrl:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3486.6576536096!2d78.4651461!3d28.9065138!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x390b05f334644b3d%3A0xa3f0725c226b4ac6!2sJoya%20Amroha%20Uttar%20Pradesh!5e0!3m2!1sen!2sin!4v1635835291202!5m2!1sen!2sin"},googleSheetCsvUrl:""}}}]);