PageSourceSearch

https://ytubetools.com/_next/static/chunks/pages/contact-2813a0876aa78616.js

js ytubetools.com collected 2026-10-02 00:20:30 UTC 5,616 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9335],{48105:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return n(70093)}])},70093:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Contact}});var a=n(85893),o=n(67294),s=n(52091),r={src:"/_next/static/media/login.d65491ba.svg",height:571,width:431,blurWidth:0,blurHeight:0},i=n(25675),l=n.n(i),c=n(9008),m=n.n(c),u=n(97016);function Contact(){let[e,t]=(0,o.useState)({name:"",email:"",subject:"",message:""}),[n,i]=(0,o.useState)(""),[c,d]=(0,o.useState)(!1),{user:p,updateUserProfile:g}=(0,u.a)(),handleChange=n=>{let{name:a,value:o}=n.target;t({...e,[a]:o})},handleSubmit=async n=>{n.preventDefault(),d(!0);try{let n=await fetch("/api/send-contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});n.ok?(i("Thank you for contacting us!"),t({name:"",email:"",subject:"",message:""})):i("Failed to send your message. Please try again.")}catch(e){console.error("Error submitting the form:",e),i("An error occurred. Please try again.")}finally{d(!1)}};return(0,a.jsxs)("div",{className:"min-h-screen flex items-center justify-center bg-gray-100 p-6",children:[(0,a.jsxs)(m(),{children:[(0,a.jsx)("title",{children:"Contact Us | Ytubetools"}),(0,a.jsx)("meta",{name:"description",content:"Get in touch with the Ytubetools team. Whether you need support, have questions, or want to learn more about our YouTube tools, we're here to help!"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,a.jsx)("meta",{name:"robots",content:"index, follow"}),(0,a.jsx)("link",{rel:"canonical",href:"https://ytubetools.com/contact"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:url",content:"https://ytubetools.com/contact"}),(0,a.jsx)("meta",{property:"og:title",content:"Contact Us | Ytubetools"}),(0,a.jsx)("meta",{property:"og:description",content:"Have questions or need assistance? Contact Ytubetools for support, inquiries, and more information about our suite of tools designed for YouTube creators and viewers."}),(0,a.jsx)("meta",{property:"og:image",content:"https://ytubetools.com/static/images/contact-og-image.jpg"}),(0,a.jsx)("meta",{property:"og:image:secure_url",content:"https://ytubetools.com/static/images/contact-og-image.jpg"}),(0,a.jsx)("meta",{property:"og:site_name",content:"Ytubetools"}),(0,a.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:domain",content:"ytubetools.com"}),(0,a.jsx)("meta",{property:"twitter:url",content:"https://ytubetools.com/contact"}),(0,a.jsx)("meta",{name:"twitter:title",content:"Contact Us | Ytubetools"}),(0,a.jsx)("meta",{name:"twitter:description",content:"Reach out to Ytubetools for help, support, and more information about our YouTube tools tailored for creators and viewers."}),(0,a.jsx)("meta",{name:"twitter:image",content:"https://ytubetools.com/static/images/contact-twitter-image.jpg"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@ytubetools"}),(0,a.jsx)("meta",{name:"twitter:image:alt",content:"Contact Ytubetools"})]}),(0,a.jsxs)("div",{className:"w-full max-w-4xl bg-white p-8 rounded-lg shadow-lg flex",children:[(0,a.jsx)("div",{className:"w-1/2 pr-6 hidden md:block",children:(0,a.jsx)(l(),{src:r,alt:"Contact Us",className:"w-full h-full object-cover rounded-lg"})}),(0,a.jsxs)("div",{className:"w-full md:w-1/2",children:[(0,a.jsx)("h2",{className:"text-3xl font-semibold mb-6 text-red-600",children:"Contact Us"}),(0,a.jsxs)("form",{onSubmit:handleSubmit,className:"space-y-6",children:[(0,a.jsxs)("div",{className:"flex items-center border-b border-red-500 py-2",children:[(0,a.jsx)(s.Xws,{className:"text-red-500 mr-3"}),(0,a.jsx)("input",{type:"text",name:"name",value:e.name,onChange:handleChange,className:"appearance-none bg-transparent border-none w-full text-gray-700 mr-3 py-1 px-2 leading-tight focus:outline-none",placeholder:"Name",required:!0})]}),(0,a.jsxs)("div",{className:"flex items-center border-b border-red-500 py-2",children:[(0,a.jsx)(s.SRX,{className:"text-red-500 mr-3"}),(0,a.jsx)("input",{type:"email",name:"email",value:e.email,onChange:handleChange,className:"appearance-none bg-transparent border-none w-full text-gray-700 mr-3 py-1 px-2 leading-tight focus:outline-none",placeholder:"Email",required:!0})]}),(0,a.jsxs)("div",{className:"flex items-center border-b border-red-500 py-2",children:[(0,a.jsx)(s.bz6,{className:"text-red-500 mr-3"}),(0,a.jsx)("input",{type:"text",name:"subject",value:e.subject,onChange:handleChange,className:"appearance-none bg-transparent border-none w-full text-gray-700 mr-3 py-1 px-2 leading-tight focus:outline-none",placeholder:"Subject",required:!0})]}),(0,a.jsxs)("div",{className:"flex items-center border-b border-red-500 py-2",children:[(0,a.jsx)(s.Y2X,{className:"text-red-500 mr-3"}),(0,a.jsx)("textarea",{name:"message",value:e.message,onChange:handleChange,className:"appearance-none bg-transparent border-none w-full text-gray-700 mr-3 py-1 px-2 leading-tight focus:outline-none",placeholder:"Message",rows:"4",required:!0})]}),(0,a.jsx)("button",{type:"submit",className:"w-full py-3 bg-red-500 text-white font-semibold rounded-lg hover:bg-red-600 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2",disabled:c,
1children:c?"Submitting...":"Submit"})]}),n&&(0,a.jsx)("p",{className:"mt-4 text-green-500",children:n})]})]})]})}n(4298)}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=48105)}),_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.