This commit is contained in:
Batyr 2025-12-16 16:55:54 +05:00
parent 636963445e
commit 0c3821a9bb
7 changed files with 13 additions and 12 deletions

File diff suppressed because one or more lines are too long

1
dist/assets/index-Bp_j2PCu.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/index.html vendored
View File

@ -66,9 +66,9 @@
})(window, document, "script", "dataLayer", "GTM-NK394LVK"); })(window, document, "script", "dataLayer", "GTM-NK394LVK");
</script> </script>
<title>Turkmen Textile</title> <title>Turkmen Textile</title>
<script type="module" crossorigin src="/assets/index-BPcG92Wv.js"></script> <script type="module" crossorigin src="/assets/index-Bp_j2PCu.js"></script>
<link rel="modulepreload" crossorigin href="/assets/react-vendor-CE_Ks92h.js"> <link rel="modulepreload" crossorigin href="/assets/react-vendor-CE_Ks92h.js">
<link rel="modulepreload" crossorigin href="/assets/ui-library-Bt0wNh4L.js"> <link rel="modulepreload" crossorigin href="/assets/ui-library-CURTjtxW.js">
<link rel="stylesheet" crossorigin href="/assets/index--gnBA1VZ.css"> <link rel="stylesheet" crossorigin href="/assets/index--gnBA1VZ.css">
</head> </head>
<body> <body>

View File

@ -42,7 +42,7 @@ export const HomeHero: FC = () => {
<div ref={emblaRef} className="embla overflow-hidden"> <div ref={emblaRef} className="embla overflow-hidden">
<div className="embla__container flex lg:max-h-[600px] lg:min-h-[320px]"> <div className="embla__container flex lg:max-h-[600px] lg:min-h-[320px]">
{banners?.map((item, i) => {banners?.map((item, i) =>
item.path.includes(".webm") ? ( item.path.includes(".mp4") ? (
<Link <Link
to={item?.link ?? ""} to={item?.link ?? ""}
key={i} key={i}
@ -52,8 +52,9 @@ export const HomeHero: FC = () => {
autoPlay autoPlay
controls={false} controls={false}
muted muted
loop
src={item.path} src={item.path}
className="size-full object-contain" className="size-full object-cover"
/> />
</Link> </Link>
) : !item.link ? ( ) : !item.link ? (

View File

@ -2,19 +2,19 @@
"banners": { "banners": {
"lg": [ "lg": [
{ {
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm", "path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/1920x600_TEXTILE_WebBanners_eng.mp4",
"link": "/stend-form" "link": "/stend-form"
} }
], ],
"md": [ "md": [
{ {
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm", "path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/1920x600_TEXTILE_WebBanners_eng.mp4",
"link": "/stend-form" "link": "/stend-form"
} }
], ],
"sm": [ "sm": [
{ {
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm", "path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/1920x600_TEXTILE_WebBanners_eng.mp4",
"link": "/stend-form" "link": "/stend-form"
} }
] ]

View File

@ -2,19 +2,19 @@
"banners": { "banners": {
"lg": [ "lg": [
{ {
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm", "path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/1920x600_TEXTILE_WebBanners_ru.mp4",
"link": "/stend-form" "link": "/stend-form"
} }
], ],
"md": [ "md": [
{ {
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm", "path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/1920x600_TEXTILE_WebBanners_ru.mp4",
"link": "/stend-form" "link": "/stend-form"
} }
], ],
"sm": [ "sm": [
{ {
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm", "path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/1920x600_TEXTILE_WebBanners_ru.mp4",
"link": "/stend-form" "link": "/stend-form"
} }
] ]