build
This commit is contained in:
parent
9949a41b6d
commit
f1e4b7ebb5
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
|
|
@ -66,9 +66,9 @@
|
|||
})(window, document, "script", "dataLayer", "GTM-NK394LVK");
|
||||
</script>
|
||||
<title>Turkmen Textile</title>
|
||||
<script type="module" crossorigin src="/assets/index-5DKcgZkB.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-DNPeJrzc.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/react-vendor-CE_Ks92h.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ui-library-D1ylK2mW.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ui-library-Kiotq6MA.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-Cw8L3ftj.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -43,17 +43,25 @@ const Hero = () => {
|
|||
else return value2;
|
||||
};
|
||||
|
||||
const banners = [
|
||||
"https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng1.jpg",
|
||||
"https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng2.jpg",
|
||||
];
|
||||
const banners = {
|
||||
en: [
|
||||
"https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_eng1.jpg",
|
||||
"https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_eng2.jpg",
|
||||
],
|
||||
ru: [
|
||||
"https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_ru1.jpg",
|
||||
"https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_ru2.jpg",
|
||||
],
|
||||
};
|
||||
|
||||
const getBanners = () => (lang === "ru" ? banners.ru : banners.en);
|
||||
|
||||
return (
|
||||
<section className="">
|
||||
{pathname === "/impressions-tm" ? (
|
||||
<div ref={emblaRef} className="embla overflow-hidden">
|
||||
<div className="flex">
|
||||
{banners.map((banner, i) => (
|
||||
{getBanners().map((banner, i) => (
|
||||
<img
|
||||
key={i}
|
||||
src={banner}
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@
|
|||
"link": "/impressions"
|
||||
},
|
||||
{
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng1.jpg",
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_eng1.jpg",
|
||||
"link": "/impressions-tm"
|
||||
},
|
||||
{
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng2.jpg",
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_eng2.jpg",
|
||||
"link": "/impressions-tm"
|
||||
}
|
||||
],
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
"link": "/impressions-tm"
|
||||
},
|
||||
{
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng2.jpg",
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_eng2.jpg",
|
||||
"link": "/impressions-tm"
|
||||
}
|
||||
],
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
"link": "/impressions-tm"
|
||||
},
|
||||
{
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng2.jpg",
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_eng2.jpg",
|
||||
"link": "/impressions-tm"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@
|
|||
"link": "/impressions"
|
||||
},
|
||||
{
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng1.jpg",
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_ru1.jpg",
|
||||
"link": "/impressions-tm"
|
||||
},
|
||||
{
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng2.jpg",
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_ru2.jpg",
|
||||
"link": "/impressions-tm"
|
||||
}
|
||||
],
|
||||
|
|
@ -20,11 +20,11 @@
|
|||
"link": "/impressions"
|
||||
},
|
||||
{
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng1.jpg",
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_ru1.jpg",
|
||||
"link": "/impressions-tm"
|
||||
},
|
||||
{
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng2.jpg",
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_ru2.jpg",
|
||||
"link": "/impressions-tm"
|
||||
}
|
||||
],
|
||||
|
|
@ -34,11 +34,11 @@
|
|||
"link": "/impressions"
|
||||
},
|
||||
{
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng1.jpg",
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_ru1.jpg",
|
||||
"link": "/impressions-tm"
|
||||
},
|
||||
{
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/eng2.jpg",
|
||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/new2/web_ru2.jpg",
|
||||
"link": "/impressions-tm"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue