Merge branch 'main' of ssh://216.250.8.93:2018/~/repos/turkmen-textile-react
This commit is contained in:
commit
1cc5744acb
|
|
@ -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(".mp4") ? (
|
item.path.includes(".webm") ? (
|
||||||
<Link
|
<Link
|
||||||
to={item?.link ?? ""}
|
to={item?.link ?? ""}
|
||||||
key={i}
|
key={i}
|
||||||
|
|
@ -53,7 +53,7 @@ export const HomeHero: FC = () => {
|
||||||
controls={false}
|
controls={false}
|
||||||
muted
|
muted
|
||||||
src={item.path}
|
src={item.path}
|
||||||
className="size-full object-cover"
|
className="size-full object-contain"
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
) : !item.link ? (
|
) : !item.link ? (
|
||||||
|
|
|
||||||
|
|
@ -2,19 +2,19 @@
|
||||||
"banners": {
|
"banners": {
|
||||||
"lg": [
|
"lg": [
|
||||||
{
|
{
|
||||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/1920x600_TEXTILE_WebBanners_eng.mp4",
|
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm",
|
||||||
"link": "/stend-form"
|
"link": "/stend-form"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"md": [
|
"md": [
|
||||||
{
|
{
|
||||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/EN_m.jpg",
|
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm",
|
||||||
"link": "/stend-form"
|
"link": "/stend-form"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"sm": [
|
"sm": [
|
||||||
{
|
{
|
||||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/EN_s.jpg",
|
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm",
|
||||||
"link": "/stend-form"
|
"link": "/stend-form"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -2,19 +2,19 @@
|
||||||
"banners": {
|
"banners": {
|
||||||
"lg": [
|
"lg": [
|
||||||
{
|
{
|
||||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/1920x600_TEXTILE_WebBanners_ru.mp4",
|
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm",
|
||||||
"link": "/stend-form"
|
"link": "/stend-form"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"md": [
|
"md": [
|
||||||
{
|
{
|
||||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/RUS_m.jpg",
|
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm",
|
||||||
"link": "/stend-form"
|
"link": "/stend-form"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"sm": [
|
"sm": [
|
||||||
{
|
{
|
||||||
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/RUS_s.jpg",
|
"path": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/05112025/fsadf.webm",
|
||||||
"link": "/stend-form"
|
"link": "/stend-form"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue