This commit is contained in:
VividTruthKeeper 2022-05-18 22:05:45 +05:00
parent fd633cb64b
commit e7f00bd003
27 changed files with 1221 additions and 1246 deletions

View File

@ -1,19 +1,19 @@
{
"files": {
"main.css": "/static/css/main.a30a6dcd.chunk.css",
"main.js": "/static/js/main.47190c71.chunk.js",
"main.js.map": "/static/js/main.47190c71.chunk.js.map",
"main.css": "/static/css/main.0d38c21f.chunk.css",
"main.js": "/static/js/main.e4339e62.chunk.js",
"main.js.map": "/static/js/main.e4339e62.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.d40e0088.js",
"runtime-main.js.map": "/static/js/runtime-main.d40e0088.js.map",
"static/css/2.d555f809.chunk.css": "/static/css/2.d555f809.chunk.css",
"static/js/2.f45cd794.chunk.js": "/static/js/2.f45cd794.chunk.js",
"static/js/2.f45cd794.chunk.js.map": "/static/js/2.f45cd794.chunk.js.map",
"static/js/2.7e7e59c2.chunk.js": "/static/js/2.7e7e59c2.chunk.js",
"static/js/2.7e7e59c2.chunk.js.map": "/static/js/2.7e7e59c2.chunk.js.map",
"static/js/3.dfb2e422.chunk.js": "/static/js/3.dfb2e422.chunk.js",
"static/js/3.dfb2e422.chunk.js.map": "/static/js/3.dfb2e422.chunk.js.map",
"index.html": "/index.html",
"static/css/2.d555f809.chunk.css.map": "/static/css/2.d555f809.chunk.css.map",
"static/css/main.a30a6dcd.chunk.css.map": "/static/css/main.a30a6dcd.chunk.css.map",
"static/js/2.f45cd794.chunk.js.LICENSE.txt": "/static/js/2.f45cd794.chunk.js.LICENSE.txt",
"static/css/main.0d38c21f.chunk.css.map": "/static/css/main.0d38c21f.chunk.css.map",
"static/js/2.7e7e59c2.chunk.js.LICENSE.txt": "/static/js/2.7e7e59c2.chunk.js.LICENSE.txt",
"static/media/2021.f2b58ae1.jpg": "/static/media/2021.f2b58ae1.jpg",
"static/media/airport.9ca79b5c.jpg": "/static/media/airport.9ca79b5c.jpg",
"static/media/arrow.6b1c357b.svg": "/static/media/arrow.6b1c357b.svg",
@ -27,8 +27,6 @@
"static/media/halkbank.aead09ff.jpg": "/static/media/halkbank.aead09ff.jpg",
"static/media/loupe.47e17db3.svg": "/static/media/loupe.47e17db3.svg",
"static/media/mainLogo.3ffcbace.svg": "/static/media/mainLogo.3ffcbace.svg",
"static/media/next.500d75f4.svg": "/static/media/next.500d75f4.svg",
"static/media/prev.6123f913.svg": "/static/media/prev.6123f913.svg",
"static/media/pricesImg_1.6fce5b9a.jpg": "/static/media/pricesImg_1.6fce5b9a.jpg",
"static/media/pricesImg_2.0e19c431.jpg": "/static/media/pricesImg_2.0e19c431.jpg",
"static/media/pricesImg_3-large.180082d1.jpg": "/static/media/pricesImg_3-large.180082d1.jpg",
@ -40,7 +38,6 @@
"static/media/schema-en.ab029c87.jpg": "/static/media/schema-en.ab029c87.jpg",
"static/media/schema-tm.8b102a7d.png": "/static/media/schema-tm.8b102a7d.png",
"static/media/secondSliderImg_2.32aeb466.jpg": "/static/media/secondSliderImg_2.32aeb466.jpg",
"static/media/serviceRequest_1.ab87fb84.jpg": "/static/media/serviceRequest_1.ab87fb84.jpg",
"static/media/app.scss": "/static/media/sliderPrev.ca001cbb.svg",
"static/media/structureImg.551590c2.jpg": "/static/media/structureImg.551590c2.jpg",
"static/media/tdh.25d64290.jpg": "/static/media/tdh.25d64290.jpg",
@ -49,8 +46,8 @@
"entrypoints": [
"static/js/runtime-main.d40e0088.js",
"static/css/2.d555f809.chunk.css",
"static/js/2.f45cd794.chunk.js",
"static/css/main.a30a6dcd.chunk.css",
"static/js/main.47190c71.chunk.js"
"static/js/2.7e7e59c2.chunk.js",
"static/css/main.0d38c21f.chunk.css",
"static/js/main.e4339e62.chunk.js"
]
}

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="icon.jpg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/><link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Etalon</title><link href="/static/css/2.d555f809.chunk.css" rel="stylesheet"><link href="/static/css/main.a30a6dcd.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"dfb2e422"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpreact-etalon"]=this["webpackJsonpreact-etalon"]||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([])</script><script src="/static/js/2.f45cd794.chunk.js"></script><script src="/static/js/main.47190c71.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="icon.jpg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/><link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Etalon</title><link href="/static/css/2.d555f809.chunk.css" rel="stylesheet"><link href="/static/css/main.0d38c21f.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"dfb2e422"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpreact-etalon"]=this["webpackJsonpreact-etalon"]||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([])</script><script src="/static/js/2.7e7e59c2.chunk.js"></script><script src="/static/js/main.e4339e62.chunk.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +0,0 @@
<svg id="next" xmlns="http://www.w3.org/2000/svg" width="11.209" height="20.754" viewBox="0 0 11.209 20.754">
<g id="Сгруппировать_537" data-name="Сгруппировать 537" transform="translate(0 0)">
<path id="Контур_586" data-name="Контур 586" d="M128.715,9.808l-9.6-9.573a.8.8,0,1,0-1.136,1.139l9.028,9-9.029,9a.8.8,0,0,0,1.136,1.139l9.6-9.573a.8.8,0,0,0,0-1.139Z" transform="translate(-117.742 0)" fill="#dfdfdf"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 475 B

View File

@ -1,7 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="11.208" height="20.754" viewBox="0 0 11.208 20.754">
<g id="prev" transform="translate(0 0)">
<g id="Сгруппировать_537" data-name="Сгруппировать 537" transform="translate(0 0)">
<path id="Контур_586" data-name="Контур 586" d="M117.979,9.807l9.6-9.573a.8.8,0,1,1,1.136,1.139l-9.028,9,9.028,9a.8.8,0,0,1-1.136,1.139l-9.6-9.572a.8.8,0,0,1,0-1.139Z" transform="translate(-117.742 0)" fill="#dfdfdf"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View File

@ -8,13 +8,7 @@ import i18n from "../i18n";
// IMPORT IMAGES
import Print from "../svg/print.svg";
import Img1 from "../img/serviceRequest_1.jpg";
// import Img2 from "../img/serviceRequest_2.jpg";
// import Img3 from "../img/serviceRequest_3.jpg";
// import Img4 from "../img/serviceRequest_4.jpg";
// const Service = (props) => {
// const {t} = props;
class Service_bottom extends React.Component {
constructor(props) {
super(props);
@ -53,8 +47,6 @@ class Service_bottom extends React.Component {
error: res.message || null,
DataisLoaded: true,
});
// console.log(res.data[0]['data'][0])
// console.log(this.state.items)
}
})
.catch((error) => {
@ -72,8 +64,6 @@ class Service_bottom extends React.Component {
if (!DataisLoaded) {
return <div>Loading ....</div>;
} else {
// console.log(this.state.items);
return (
<div className="service-bottom">
<div className="tab-header">
@ -84,13 +74,7 @@ class Service_bottom extends React.Component {
</div>
<div className="service-cards-wrapper">
{items.map((item) => (
<div
className="service-card"
onClick={() => {
window.open(item.image.path);
}}
key={item.id}
>
<div className="service-card" key={item.id}>
<div className="service-abs">
<div>
<img src={Print} alt="Print" />
@ -98,12 +82,19 @@ class Service_bottom extends React.Component {
</div>
<div className="service-card-top">
<a
href={Img1}
href={item.image.path}
target="_blank"
rel="noreferrer noopener"
type="application/octet-stream"
onClick={(e) => {
e.stopPropagation();
const el = document.createElement("a");
el.setAttribute("href", item.file.path);
el.setAttribute("download", "");
el.onclick = (ev) => {
ev.stopPropagation();
};
el.click();
}}
download="doc.png"
>
<div className="service-img-wrapper">
<img src={item.image.path} alt="Request1" />
@ -130,5 +121,4 @@ class Service_bottom extends React.Component {
}
}
// export default Service;
export default withTranslation()(Service_bottom);