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IAEdzC,EAAAA,cAAC0C,EAAAA,EAAM,KACL1C,EAAAA,cAAC2C,EAAAA,GAAM,MACP3C,EAAAA,cAAC4C,EAAAA,EAAgB,CAACC,MAAO,YACzB7C,EAAAA,cAAC8C,EAAAA,GAAI,KACH9C,EAAAA,cAAC+C,EAAO,OAEV/C,EAAAA,cAACgD,EAAAA,GAAM,M","sources":["webpack://madina-masjid-darwen/./src/components/Contact.jsx","webpack://madina-masjid-darwen/./src/pages/contact.js"],"sourcesContent":["import React, { useState } from \"react\";\nimport styled from \"styled-components\";\nimport Iframe from \"react-iframe\";\nimport { TextField } from \"@material-ui/core\";\n\nconst Contact = (props) => {\nconst [contactState, setContactState] = useState({\n name: \"\",\n email: \"\",\n subject: \"\",\n message: \"\",\n});\n\nconst onNameChange = (event) => {\n setContactState({name: event.target.value});\n }\n\nconst onEmailChange = (event) => {\n setContactState({email: event.target.value})\n }\n\nconst onSubjectChange = (event) => {\n setContactState({subject: event.target.value})\n }\n\nconst onMsgChange = (event) => {\n setContactState({message: event.target.value})\n }\n\nconst submitEmail = (e) => {\n e.preventDefault();\n // axios({\n // method: \"POST\", \n // url:\"/send\", \n // data: this.state\n // }).then((response)=>{\n // if (response.data.status === 'success'){\n // alert(\"Message Sent.\"); \n // this.resetForm()\n // }else if(response.data.status === 'fail'){\n // alert(\"Message failed to send.\")\n // }\n // })\n}\n\nconst resetForm = () => {\n setContactState({name: '', email: '',subject:'', message: ''})\n}\n \n return (\n \n \n
\n CONTACT INFO\n

Madina Masjid Darwen

\n

21-23 Victoria Street

\n

Darwen, BB3 3HB

\n

Email address: info@darwenmosque.co.uk

\n

Maulana Waqar (Lead Imam) 07532742063

\n

Chairman (Imran Ilyas): 07912 781392

\n
\n
\n Get in Touch\n

\n

Have questions about ICA programs or services? Let us help.

\n

\n Use our contact form and we’ll get back to you as soon as possible.\n

\n
\n
\n \n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n \n
\n
\n
\n );\n};\n\nexport default Contact;\n\nconst Grid = styled.div`\n max-width: 1024px;\n margin: 4% auto;\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 40px;\n\n @media (max-width: 768px) {\n grid-template-columns: 1fr;\n }\n`;\n\nconst Center = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nconst Container = styled.div`\n background-color: #fff;\n padding: 4% 12%;\n`;\nconst GridWraper = styled.div`\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n max-width: 1024px;\n margin: auto;\n grid-column-gap: 50px;\n padding: 0 10px;\n\n @media (max-width: 960px) {\n grid-template-columns: auto 1fr auto;\n }\n`;\n\nconst DonationImage = styled.div`\n ${({ src }) =>\n src &&\n `\n background-image: url(${src});\n background-size: 185%;\n background-position: left bottom;\n border-radius: 4px;\n `}\n`;\n\nconst Button = styled.button`\n padding: 10px;\n background: var(--base-color);\n border: 0;\n border-radius: 4px;\n color: #fff;\n margin-top: 15px;\n cursor: pointer;\n`;\n\nconst Title = styled.h2`\n margin: 0;\n text-align: center;\n text-transform: uppercase;\n font-size: 36px;\n\n @media (max-width: 480px) {\n font-size: 30px;\n }\n`;\n","import * as React from \"react\";\nimport Layout from \"../components/Layout\";\nimport Footer from \"../components/Footer\";\nimport Contact from \"../components/Contact\";\nimport { Main } from \"../styles\";\nimport HeaderBackground from \"../components/HeaderBackground\";\nimport Header from \"../components/Header\";\n\nconst IndexPage = () => {\n return (\n \n
\n \n
\n \n
\n