{"version":3,"sources":["components/navigation.jsx","components/header.jsx","components/features.jsx","components/about.jsx","components/services.jsx","components/integration.jsx","components/contact.jsx","App.jsx","serviceWorker.js","index.js"],"names":["Navigation","props","id","className","type","data-toggle","data-target","href","src","alt","Header","data","title","paragraph","Features","map","d","i","icon","text","About","style","maxWidth","appstore","target","playstore","Why","Why2","Services","name","Integration","paragraph1","initialState","email","message","Contact","useState","setState","successMessage","setSuccessMessage","errorMessage","setErrorMessage","handleChange","e","value","prevState","validate","onSubmit","preventDefault","console","log","emailjs","sendForm","then","result","error","placeholder","required","onChange","rows","linkedin","App","SmoothScroll","speed","speedAsDuration","landingPageData","setLandingPageData","useEffect","JsonData","Boolean","window","location","hostname","match","ReactDOM","render","StrictMode","document","getElementById","navigator","serviceWorker","ready","registration","unregister","catch"],"mappings":"0PAAaA,EAAa,SAACC,GACzB,OACE,qBAAKC,GAAG,OAAOC,UAAU,yCAAzB,SACE,sBAAKA,UAAU,YAAf,UACE,sBAAKA,UAAU,gBAAf,UACE,yBACEC,KAAK,SACLD,UAAU,0BACVE,cAAY,WACZC,cAAY,gCAJd,UAMG,IACD,sBAAMH,UAAU,UAAhB,+BAAmD,IACnD,sBAAMA,UAAU,aAAmB,IACnC,sBAAMA,UAAU,aAAmB,IACnC,sBAAMA,UAAU,aAAmB,OAErC,mBAAGA,UAAU,2BAA2BI,KAAK,YAA7C,SACE,qBAAKC,IAAI,0BAA0BC,IAAI,mBACpC,OAGP,qBACEN,UAAU,2BACVD,GAAG,+BAFL,SAIE,qBAAIC,UAAU,8BAAd,UACE,6BACE,mBAAGI,KAAK,YAAYJ,UAAU,cAA9B,+BAIF,6BACE,mBAAGI,KAAK,YAAYJ,UAAU,cAA9B,uBAIF,6BACE,mBAAGI,KAAK,SAASJ,UAAU,cAA3B,yBAmBF,6BACE,mBAAGI,KAAK,WAAWJ,UAAU,cAA7B,mCC1DDO,EAAS,SAACT,GACrB,OACE,wBAAQC,GAAG,SAAX,SACE,qBAAKC,UAAU,QA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BnC,cACnC,cAAC,EAAD,CAASnB,KAAMsD,EAAgB9B,eCtBjBkC,QACW,cAA7BC,OAAOC,SAASC,UAEe,UAA7BF,OAAOC,SAASC,UAEhBF,OAAOC,SAASC,SAASC,MACvB,2DCZNC,IAASC,OACP,cAAC,IAAMC,WAAP,UACE,cAAC,EAAD,MAEFC,SAASC,eAAe,SDyHpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MACrB5B,MAAK,SAAA6B,GACJA,EAAaC,gBAEdC,OAAM,SAAA7B,GACLN,QAAQM,MAAMA,EAAMrB,a","file":"static/js/main.307ecda8.chunk.js","sourcesContent":["export const Navigation = (props) => {\n return (\n \n )\n}\n","export const Header = (props) => {\n return (\n \n )\n}\n","export const Features = (props) => {\n return (\n
\n
\n
\n

Funzionalità

\n
\n
\n {props.data\n ? props.data.map((d, i) => (\n
\n {' '}\n \n

{d.title}

\n

{d.text}

\n
\n ))\n : 'Loading...'}\n
\n
\n
\n )\n}\n","export const About = (props) => {\n return (\n
\n
\n
\n
\n {\" \"}\n \"\"{\" \"}\n
\n \n \"Get\n \n \n \"Get\n \n
\n
\n
\n
\n

Chi Siamo

\n

{props.data ? props.data.paragraph : \"loading...\"}

\n

Perché On Time?

\n
\n
\n
    \n {props.data\n ? props.data.Why.map((d, i) => (\n
  • {d}
  • \n ))\n : \"loading\"}\n
\n
\n
\n
    \n {props.data\n ? props.data.Why2.map((d, i) => (\n
  • {d}
  • \n ))\n : \"loading\"}\n
\n
\n
\n
\n
\n
\n
\n
\n );\n};\n","export const Services = (props) => {\n return (\n
\n
\n
\n

Servizi

\n

\n On Time offre una piattaforma integrata SaaS (Service As A Service) per il tracciamento delle tue consegne.\n

\n
\n
\n {props.data\n ? props.data.map((d, i) => (\n
\n {' '}\n \n
\n

{d.name}

\n

{d.text}

\n
\n
\n ))\n : 'loading'}\n
\n
\n
\n )\n}\n","export const Integration = (props) => {\n return (\n
\n
\n
\n
\n
\n

Tracciamento da fornitore a cliente

\n

Integrazione con Voucher 51

\n

{props.data ? props.data.paragraph1 : \"loading...\"}

\n \"\"{\" \"}\n
\n
\n
\n {\" \"}\n \"\"{\" \"}\n
\n
\n
\n
\n );\n};\n","import { useState } from 'react'\nimport emailjs from 'emailjs-com'\n\nconst initialState = {\n name: '',\n email: '',\n message: '',\n}\nexport const Contact = (props) => {\n const [{ name, email, message }, setState] = useState(initialState)\n const [successMessage, setSuccessMessage] = useState('');\n const [errorMessage, setErrorMessage] = useState('');\n\n const handleChange = (e) => {\n const { name, value } = e.target\n setState((prevState) => ({ ...prevState, [name]: value }))\n }\n const clearState = () => setState({ ...initialState })\n\n const handleSubmit = (e) => {\n e.preventDefault()\n console.log(name, email, message)\n emailjs\n .sendForm(\n 'service_0plzz33', 'template_h9x4e9q', e.target, 'GWCa-tBa3p51N1wn-'\n )\n .then(\n (result) => {\n console.log(result.text)\n setSuccessMessage('Messaggio inviato correttamente, grazie per averci contattato, risponderemo prima possibie.')\n clearState()\n },\n (error) => {\n setErrorMessage('Si è verificato un errore, aggiorna la pagina e riprova per favore.')\n console.log(error.text)\n }\n )\n }\n return (\n
\n
\n
\n
\n
\n
\n

Get In Touch

\n

\n Per favore compila il modulo sottostante per inviarci una e-mail e ti risponderemo il prima possibile.\n

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

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

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

\n
\n
\n \n

{successMessage !== '' ? successMessage : ''}

\n

{errorMessage !== '' ? errorMessage : ''}

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

Contattaci

\n {/*

\n \n Address\n \n {props.data ? props.data.address : 'loading'}\n

\n
\n
\n

\n \n Phone\n {' '}\n {props.data ? props.data.phone1 : 'loading'}\n

\n

\n {props.data ? props.data.phone2 : 'loading'}\n

\n
\n {/*
\n

\n \n Email\n {' '}\n {props.data ? props.data.email : 'loading'}\n

\n
\n
\n */}\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n )\n}\n","import { useState, useEffect } from \"react\";\nimport { Navigation } from \"./components/navigation\";\nimport { Header } from \"./components/header\";\nimport { Features } from \"./components/features\";\nimport { About } from \"./components/about\";\nimport { Services } from \"./components/services\";\nimport { Integration } from \"./components/integration\";\nimport { Contact } from \"./components/contact\";\nimport JsonData from \"./data/data.json\";\nimport SmoothScroll from \"smooth-scroll\";\nimport \"./App.css\";\n\nexport const scroll = new SmoothScroll('a[href*=\"#\"]', {\n speed: 1000,\n speedAsDuration: true,\n});\n\nconst App = () => {\n const [landingPageData, setLandingPageData] = useState({});\n useEffect(() => {\n setLandingPageData(JsonData);\n }, []);\n\n return (\n
\n \n
\n \n \n \n {/**/}\n {/**/}\n {/**/}\n \n \n
\n );\n};\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\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 subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\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.0/8 are 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 function register(config) {\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.href);\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/facebook/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. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\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 // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.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, config);\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\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n"],"sourceRoot":""}