{"version":3,"sources":["components/NavBarElements.js","components/NavBar.js","components/Layout.js","components/Slider.js","components/Nosotros.jsx","components/Clientes.jsx","components/Footer.jsx","services/emailService.js","components/Contacto.jsx","components/Home.js","App.js","registerServiceWorker.js","index.js"],"names":["Nav","styled","nav","NavIcon","img","NavLink","Link","NavLink2","a","DivContent","div","PContent","p","Bars","FaBars","ButtonBars","button","NavMenu","NavBar","useState","visible","setVisible","onClose","to","src","alt","onClick","placement","closable","href","Layout","Fragment","className","this","props","children","Component","displayName","name","Slider","effect","autoplay","Nosotros","id","Clientes","Footer","target","rel","Date","getFullYear","sendEmail","ContactEmailRequest","axios","post","validateMessages","required","types","email","Contacto","formRef","React","Notification","type","title","message","notification","description","onReset","current","resetFields","ref","layout","onFinish","values","console","log","Email","user","Name","Message","mensaje","method","Item","label","rules","TextArea","autoSize","minRows","htmlType","Home","App","exact","path","component","isLocalhost","Boolean","window","location","hostname","match","registerValidSW","swUrl","navigator","serviceWorker","register","then","registration","onupdatefound","installingWorker","installing","onstatechange","state","controller","catch","error","baseUrl","document","getElementsByTagName","getAttribute","rootElement","getElementById","ReactDOM","render","basename","URL","process","origin","addEventListener","fetch","response","status","headers","get","indexOf","ready","unregister","reload","checkValidServiceWorker","registerServiceWorker"],"mappings":"msGAIO,IAAMA,EAAMC,IAAOC,IAAV,KAaHC,EAAUF,IAAOG,IAAV,KAYPC,EAAUJ,YAAOK,IAAPL,CAAH,KAcPM,EAAWN,IAAOO,EAAV,KAkBRC,EAAaR,IAAOS,IAAV,KAKVC,EAAWV,IAAOW,EAAV,KAIRC,EAAOZ,YAAOa,IAAPb,CAAH,KAeJc,EAAad,IAAOe,OAAV,KAQVC,EAAUhB,IAAOS,IAAV,KCrBLQ,GD8BOjB,IAAOC,IAAV,KASOD,YAAOK,IAAPL,CAAH,KC3GR,WAAO,IAAD,EACakB,oBAAS,GADtB,mBACVC,EADU,KACDC,EADC,KAOXC,EAAU,WACZD,GAAW,IAGf,OACI,gCACI,kBAACrB,EAA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AUC,cACPC,SAASH,GACTI,MAAK,SAAAC,GACJA,EAAaC,cAAgB,WAC3B,IAAMC,EAAmBF,EAAaG,WACtCD,EAAiBE,cAAgB,WACA,cAA3BF,EAAiBG,QACfT,UAAUC,cAAcS,WAK1BtC,QAAQC,IAAI,6CAKZD,QAAQC,IAAI,4CAMrBsC,OAAM,SAAAC,GACLxC,QAAQwC,MAAM,4CAA6CA,MC/DjE,IAAMC,GAAUC,SAASC,qBAAqB,QAAQ,GAAGC,aAAa,QAChEC,GAAcH,SAASI,eAAe,QAE5CC,IAASC,OACP,kBAAC,IAAD,CAAeC,SAAUR,IACvB,kBAAC,GAAD,OAEFI,IDMa,WACb,GAA6C,kBAAmBjB,UAAW,CAGzE,GADkB,IAAIsB,IAAIC,GAAwB7B,OAAOC,UAC3C6B,SAAW9B,OAAOC,SAAS6B,OAIvC,OAGF9B,OAAO+B,iBAAiB,QAAQ,WAC9B,IAAM1B,EAAK,UAAMwB,GAAN,sBAEP/B,GAwCV,SAAkCO,GAEhC2B,MAAM3B,GACHI,MAAK,SAAAwB,GAGkB,MAApBA,EAASC,SACuD,IAAhED,EAASE,QAAQC,IAAI,gBAAgBC,QAAQ,cAG7C/B,UAAUC,cAAc+B,MAAM7B,MAAK,SAAAC,GACjCA,EAAa6B,aAAa9B,MAAK,WAC7BT,OAAOC,SAASuC,eAKpBpC,GAAgBC,MAGnBY,OAAM,WACLvC,QAAQC,IACN,oEA5DA8D,CAAwBpC,GAGxBD,GAAgBC,OCvBxBqC,K","file":"static/js/main.b0f5858e.chunk.js","sourcesContent":["import styled from 'styled-components'\nimport {NavLink as Link} from 'react-router-dom'\nimport {FaBars} from 'react-icons/fa'\n\nexport const Nav = styled.nav`\n position: fixed;\n top: 0;\n width: 100%;\n background: #fff;\n height: 77px;\n display: flex;\n justify-content: space-between;\n padding: 0.5rem calc((100vw - 1000px) / 2);\n z-index:10;\n box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 50%);\n`\n\nexport const NavIcon = styled.img`\n width: 100px;\n background-color: white;\n border-radius: 10px;\n margin-top: 2.7rem;\n box-shadow: -7px -7px 15px rgb(0 0 0 / 10%), 7px 7px 15px rgb(0 0 0 / 10%);\n\n @media screen and (max-width: 768px){\n width: 90px;\n }\n`\n\nexport const NavLink = styled(Link)`\n color: #256ce1;\n display: flex;\n align-items: center;\n text-decoration: none;\n padding: 0 1rem;\n height: 100%;\n cursor: pointer;\n\n &.active{\n color: #fff;\n }\n`\n\nexport const NavLink2 = styled.a`\n color: #256ce1;\n display: flex;\n align-items: center;\n text-decoration: none;\n padding: 0 1rem;\n height: 125%;\n cursor: pointer;\n font-variant: petite-caps;\n font-size: 20px;\n\n &:hover {\n color: #256ce1;\n border-bottom: 4px solid #256ce1;\n transition: all 0.2s ease-out;\n }\n`\n\nexport const DivContent = styled.div`\n text-align: center;\n font-size: 18px;\n`\n\nexport const PContent = styled.p`\n margin: 3rem;\n`\n\nexport const Bars = styled(FaBars)`\n display: none;\n color: #256ce1;\n\n @media screen and (max-width: 768px) {\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(-100%, 75%);\n font-size: 1.8rem;\n cursor: pointer;\n }\n`\n\nexport const ButtonBars = styled.button`\n display: none;\n\n @media screen and (max-width: 768px) {\n display: block;\n }\n`\n\nexport const NavMenu = styled.div`\n display: flex;\n align-items: center;\n\n @media screen and (max-width: 768px){\n display: none;\n }\n`\n\nexport const NavBtn = styled.nav`\n display: flex;\n align-items: center;\n\n @media screen and (max-width: 768px){\n display: none\n }\n`\n\nexport const NavBtnLink = styled(Link)`\n border-radius: 4px;\n background: #256ce1;\n padding: 10px 22px;\n color: #fff;\n border: none;\n outline: none;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n text-decoration: none;\n\n &:hover{\n transition: all 0.2s ease-in-out;\n background: #fff;\n color: #010606;\n }\n`","import React, { useState } from 'react';\nimport { Drawer } from 'antd';\nimport {Nav, NavLink, Bars, NavMenu, NavIcon, NavLink2, DivContent, PContent, ButtonBars} from './NavBarElements'\n\nconst NavBar = () => {\n const [visible, setVisible] = useState(false);\n\n const showDrawer = () => {\n setVisible(true);\n };\n\n const onClose = () => {\n setVisible(false);\n };\n\n return(\n
\n \n
\n );\n};\n\nexport default NavBar;","import React, { Component } from 'react';\nimport NavBar from './NavBar';\n\nexport class Layout extends Component {\n static displayName = Layout.name;\n\n render () {\n return (\n \n \n
\n {this.props.children}\n
\n
\n );\n }\n}\n","import React from 'react'\nimport { Carousel} from 'antd';\n\nimport './Slider.css';\n\nconst Slider = () =>{\n return(\n
\n \n
\n initial\n
Top Left
\n
\n \n
\n work b\n
\n
\n industry\n
\n
\n analytics\n
\n
\n
\n \n );\n\n}\n\nexport default Slider;","import * as React from 'react'\nimport './Nosotros.css'\n\nfunction Nosotros(){\n return(\n \n
\n

¿Quiénes somos?

\n
\n

\n IT Fortal es una empresa mexicana proveedora de soluciones y servicios tecnológicos e informáticos altamente escalables e intuitivas que se\n alinean a los procesos principales de las empresas generando un gran\n impacto de valor en ellas.\n

\n

\n Gracias a nuestro fuerte compromiso y pasión, desarrollamos\n aplicaciones web, móviles y de escritorio utilizando \n tecnologías de vanguardia.\n

\n
\n\n
\n
\n

Misión

\n
\n
\n

\n Ayudar a nuestros clientes creando herramientas tecnológicas que \n contribuyan en la resolución de sus problemáticas, automatización de\n procesos y eficientar recursos.\n

\n
\n
\n
\n
\n

Visión

\n
\n
\n

\n Ser la empresa de desarrollo de software más reconocida, \n otorgando herramientas integrales y de alta calidad e innovación.\n

\n
\n \n
\n
\n
\n

Valores

\n
\n
\n

\n Innovación,\n calidad,\n responsabilidad,\n pasión y\n trabajo en equipo.\n

\n
\n
\n\n
\n \n \n
\n \n
\n );\n}\n\nexport default Nosotros;","import * as React from 'react';\nimport './Clientes.css'\n\nfunction Clientes(){\n return(\n \n
\n

Nuestros Clientes

\n
\n Mi pueblo tacos y tequila\n
\n \n
\n
\n\n )\n}\n\nexport default Clientes;","import * as React from 'react';\nimport { FaFacebookSquare } from 'react-icons/fa';\nimport './Footer.css';\n\n\nfunction Footer(){\n return(\n \n
\n

Síguenos

\n
\n \n {/* \n \n */}\n
\n

© Copyright {new Date().getFullYear()} ITFortal

\n
\n
\n )\n}\n\nexport default Footer;","import axios from \"axios\";\n\nconst endPoint = \"/api/Contact\";\n\nexport function sendEmail(ContactEmailRequest){\n axios.post(`${endPoint}/Email`, ContactEmailRequest)\n}\n\nexport default{ sendEmail };","import * as React from 'react';\nimport { Form, Input, Button, notification } from 'antd';\nimport './Contacto.css';\nimport { sendEmail } from \"../services/emailService\"; \n\n\n const validateMessages = {\n required: 'El campo obligatorio!',\n types: {\n email: 'El formato no es valido!',\n }\n };\n\nfunction Contacto(){\n const formRef = React.createRef();\n\n const Notification = (type, title, message) => {\n notification[type]({\n message: title,\n description: message,\n });\n };\n\n const onFinish = (values) => {\n console.log(values);\n const ContactEmailRequest = {\n Email : values.user.email,\n Name : values.user.name,\n Message : values.user.mensaje\n }\n async function email(){\n try {\n await sendEmail(ContactEmailRequest);\n Notification('success', 'Se envió el email.', '');\n onReset();\n } catch (error) {\n console.log(error)\n Notification('error', 'Error al enviar el email.', '');\n } finally {}\n }\n email();\n };\n\n const onReset = () => {\n formRef.current.resetFields();\n };\n\n return(\n \n
\n

Contáctanos

\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 Contacto;","import React, { Component } from 'react';\nimport Slider from './Slider';\nimport Nosotros from './Nosotros';\nimport Clientes from './Clientes';\nimport Footer from './Footer';\nimport Contacto from './Contacto'\n\nexport class Home extends Component {\n static displayName = Home.name;\n\n render () {\n return (\n
\n \n \n \n \n
\n );\n }\n}\n","import React, { Component } from 'react';\nimport { Route } from 'react-router';\nimport { Layout } from './components/Layout';\nimport { Home } from './components/Home';\n// import { FetchData } from './components/FetchData';\n// import { Counter } from './components/Counter';\n\nimport './custom.css'\n\nexport default class App extends Component {\n static displayName = App.name;\n\n render () {\n return (\n \n \n {/* \n */}\n \n );\n }\n}\n","// In production, we register a service worker to serve assets from local cache.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on the \"N+1\" visit to a page, since previously\n// cached resources are updated in the background.\n\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\n// This link also includes instructions on opting out of this behavior.\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport default function register () {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Lets check if a service worker still exists or not.\n checkValidServiceWorker(swUrl);\n } else {\n // Is not local host. Just register service worker\n registerValidSW(swUrl);\n }\n });\n }\n}\n\nfunction registerValidSW (swUrl) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and\n // the fresh content will have been added to the cache.\n // It's the perfect time to display a \"New content is\n // available; please refresh.\" message in your web app.\n console.log('New content is available; please refresh.');\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker (swUrl) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n if (\n response.status === 404 ||\n response.headers.get('content-type').indexOf('javascript') === -1\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister () {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import 'antd/dist/antd.css'\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { BrowserRouter } from 'react-router-dom';\nimport App from './App';\nimport registerServiceWorker from './registerServiceWorker';\n\nconst baseUrl = document.getElementsByTagName('base')[0].getAttribute('href');\nconst rootElement = document.getElementById('root');\n\nReactDOM.render(\n \n \n ,\n rootElement);\n\nregisterServiceWorker();\n\n"],"sourceRoot":""}