build
This commit is contained in:
parent
a4930b57eb
commit
632fc648c8
|
|
@ -1 +0,0 @@
|
|||
import{u as t,j as s,c as e,k as u,l as n,A as r,m as i,n as x,o as l,p as m}from"./ui-library-hk2QbOT6.js";import"./react-vendor-Y0eyvj1J.js";import{u as j}from"./use-scroll-top-DE9DNB_I.js";function p(){j();const o=t(a=>a.lang);return s.jsxs("div",{className:e(""),children:[s.jsx(u,{title:o===n.RU?"О выставке":"About exhibition"}),s.jsx(r,{}),s.jsx(i,{}),s.jsx(x,{}),s.jsx(l,{}),s.jsx(m,{})]})}export{p as default};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
import{z as t,u as h,E as _,j as e,k as g,l as y,I as f,G as S,r as v,y as l,s as o,t as F,v as c,w as i,x as p,B as N,D as w,J as R,O as B,K as C}from"./ui-library-hk2QbOT6.js";import{a as L}from"./react-vendor-Y0eyvj1J.js";import{R as V,a as j}from"./radio-group-BzzifJr3.js";import{u as k}from"./use-scroll-top-DE9DNB_I.js";import{s as r}from"./stend.data-Dr6usuZY.js";const D=t.object({company_name:t.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:t.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:t.string().min(3,{message:"Должность должна быть не менее 3 символов"}),country:t.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:t.string().email({message:"Укажите корректный email"}),phone:t.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:t.string().optional(),visa_support:t.string().optional()}),E={company_name:"",rep_name:"",job_title:"",country:"",email:"",phone:"",website:"",visa_support:""};function z(){k();const a=h(n=>n.lang),[x,b]=L.useState(!1),s=_({resolver:C(D),defaultValues:E}),d=async n=>{try{await B(n)&&b(!0)}catch(u){console.error("POST sponsor error",u)}},{errors:m}=s.formState;return e.jsxs("div",{children:[e.jsx(g,{title:a===y.RU?"Стать спонсором":"Become a sponsor"}),e.jsx(f,{children:!x&&e.jsx(S,{...s,children:e.jsxs(v.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] mx-auto px-5 md:mt-20 mt-10 mb-20 md:mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(d),children:[e.jsx(l,{label:r[o(a)].label_1,name:"company_name",control:s.control,error:m.company_name}),e.jsx(l,{label:r[o(a)].label_2,name:"rep_name",control:s.control,error:m.rep_name}),e.jsx(l,{label:r[o(a)].label_3,name:"job_title",control:s.control,error:m.job_title}),e.jsx(l,{label:r[o(a)].label_4,name:"country",control:s.control,error:m.country}),e.jsx(l,{label:r[o(a)].label_5,name:"email",control:s.control,error:m.email}),e.jsx(l,{label:r[o(a)].label_6,name:"phone",control:s.control,error:m.phone}),e.jsx(l,{label:r[o(a)].label_7,name:"website",control:s.control}),e.jsx(F,{control:s.control,name:"visa_support",render:({field:n})=>e.jsxs(c,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:r[o(a)].visa}),e.jsx(p,{children:e.jsxs(V,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(j,{value:"yes",checked:n.value==="yes"})}),e.jsx(i,{className:"text-base",children:r[o(a)].visa_radio})]}),e.jsxs(c,{className:"flex items-center space-x-5 space-y-0 ",children:[e.jsx(p,{children:e.jsx(j,{value:"no",checked:n.value==="no"})}),e.jsx(i,{className:"text-base",children:r[o(a)].visa_radio_2})]})]})})]})}),e.jsx(N,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?e.jsx(w,{className:"animate-spin"}):r[o(a)].button})]})})}),x&&e.jsx(R,{delay:.3})]})}export{z as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{z as t,$ as m,E as h,j as s,c as u,G as p,y as n,B as g,a0 as j,K as f,a1 as b,C as N}from"./ui-library-hk2QbOT6.js";import{a as v}from"./react-vendor-Y0eyvj1J.js";import{u as C}from"./use-scroll-top-DE9DNB_I.js";const w=t.object({name:t.string().min(2,"error"),email:t.string().email(),phone:t.string().min(8,"error"),company:t.string().min(2,"error"),msg:t.string().min(5,"error")}),y={name:"",email:"",phone:"",company:"",msg:""},L=({className:r})=>{const{t:a}=m("contacts"),[o,i]=v.useState(!1),e=h({resolver:f(w),defaultValues:y});async function x(d){try{const c=await b(d);i(c)}catch(c){console.error("POST contact",c)}}const{errors:l}=e.formState;return s.jsx("div",{className:u("bg-primary rounded-[8px] py-8 px-6 ",r),children:s.jsx(p,{...e,children:s.jsxs("form",{onSubmit:e.handleSubmit(x),children:[s.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:a("title")}),s.jsxs("div",{className:"flex flex-col gap-8",children:[s.jsx(n,{onPrimary:!0,name:"name",control:e.control,label:a("name"),error:l.name}),s.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[s.jsx(n,{onPrimary:!0,name:"email",control:e.control,label:"Email",error:l.email}),s.jsx(n,{onPrimary:!0,name:"phone",control:e.control,label:a("phone"),error:l.phone})]}),s.jsx(n,{onPrimary:!0,name:"company",control:e.control,label:a("company"),error:l.name}),s.jsx(n,{onPrimary:!0,textArea:!0,name:"msg",label:a("message"),control:e.control,error:l.msg}),s.jsx(g,{disabled:e.formState.isSubmitting||o,className:"w-full h-12 overflow-hidden",variant:"secondary",children:o?a("submitted"):e.formState.isSubmitting?s.jsx(j,{className:"animate-spin text-white"}):a("button")})]})]})})})};function E(){C();const{t:r}=m("contacts");return s.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[s.jsx(N,{children:s.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[s.jsx(L,{}),s.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[s.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:r("title_2")}),s.jsxs("div",{className:"flex flex-col gap-20",children:[s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/map.svg",alt:"address"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:r("address")}),s.jsx("address",{className:"text-base normal not-italic",children:r("venue")})]})]}),s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:r("phone")}),s.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/email.svg",alt:"email"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),s.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),s.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:s.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1443.0869986358682!2d58.35620779177324!3d37.921200202365405!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3f7001fd7afd2a95%3A0x9ce9dca95ea4b87e!2z0JDQstC40LDQutCw0YHRgdCwINCw0LLQuNCw0LrQvtC80L_QsNC90LjQuCDCq9CR0LXQu9Cw0LLQuNCwwrsg0LIg0KLRg9GA0LrQvNC10L3QuNGB0YLQsNC90LU!5e0!3m2!1sru!2sru!4v1738063695919!5m2!1sru!2sru",className:"absolute inset-0 w-full h-full ",style:{border:0},allowFullScreen:!0,loading:"lazy"})})]})}export{E as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{u as m,j as s,L as n,c as t,C as c,b as i,d as x,e as l,f as d,g as j,h as f}from"./ui-library-hk2QbOT6.js";import{a as p}from"./react-vendor-Y0eyvj1J.js";import{u,N as g}from"./news-card-q9FMXRQt.js";const h=()=>{const r=m(e=>e.lang),{data:a,isPending:o}=u(r);return o?s.jsx(n,{}):s.jsx("section",{className:t("md:mb-[120px] mb-20"),children:s.jsxs(c,{children:[s.jsx("h2",{className:"h2 text-center md:mb-8 mb-6",children:r==="en"?"News":"Новости"}),s.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:a==null?void 0:a.map(e=>p.createElement(g,{...e,key:e.title}))})]})})};function w(){return s.jsxs("div",{className:"flex flex-col gap-20",children:[s.jsx(i,{}),s.jsx(x,{}),s.jsx(l,{}),s.jsx(d,{}),s.jsx(j,{}),s.jsx(f,{}),s.jsx(h,{})]})}export{w as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
import{a9 as z,aa as M,u as S,$ as w,j as s,I as P,ab as k,c as E,k as A,C as L,L as O,a7 as T,ac as B,B as V}from"./ui-library-hk2QbOT6.js";import{a as i}from"./react-vendor-Y0eyvj1J.js";const F=[{id:0,title:"Фото",titleEn:"Photo"},{id:1,title:"Видео",titleEn:"Video"}],q=({className:f})=>{var x,p,u,g,h;const[n,b]=i.useState(0),{data:t,isPending:v}=z(1),{data:o}=M(1),[N,c]=i.useState(!1),[C,r]=i.useState({id:0,type:"photo"}),y=S(e=>e.lang),m=({id:e,type:a})=>{c(!0),r({id:e,type:a})};console.log(o);const{t:I}=w("main"),[d,_]=i.useState(!1);return s.jsxs(s.Fragment,{children:[s.jsx(P,{children:N&&s.jsx(k,{activeItem:C,setActiveItem:r,setIsOpen:c})}),s.jsxs("section",{className:E("",f),children:[s.jsx(A,{title:y==="ru"?"Моменты":"Moments"}),s.jsx(L,{className:"page-bottom md:pt-10 pt-6",children:v?s.jsx(O,{}):s.jsxs("div",{className:"flex justify-center flex-col",children:[s.jsx(T,{state:n,setState:b,data:F,className:"mb-6"}),s.jsx("h3",{className:"md:text-3xl text-2xl mb-6",children:"2025"}),s.jsx("div",{className:"grid lg:grid-cols-4 lg:gap-y-4 lg:gap-x-6 md:gap-6 gap-4 grid-cols-2 place-items-center",children:n===0?(p=(x=t==null?void 0:t.photos)==null?void 0:x.slice(0,d?1e3:16))==null?void 0:p.map((e,a)=>{var l,j;return s.jsx("div",{onClick:()=>m({id:a,type:"photo"}),className:"cursor-pointer embla__slide basis-1/1 overflow-hidden",children:s.jsx("img",{src:((l=e==null?void 0:e.photo)==null?void 0:l.path)??"",alt:((j=e==null?void 0:e.photo)==null?void 0:j.file_name)??"photo",className:"size-full object-cover hover:scale-105 duration-300 transition-all"})},a)}):(u=o==null?void 0:o.videos)==null?void 0:u.map((e,a)=>{var l;return s.jsxs("div",{onClick:()=>m({id:a,type:"video"}),className:"cursor-pointer group embla__slide basis-1/1 overflow-hidden relative",children:[s.jsx(B,{fill:"white",size:20,color:"white",className:"absolute group-hover:scale-125 transition-all duration-300 top-1/2 z-10 left-1/2 -translate-x-1/2 -translate-y-1/2 "}),s.jsx("div",{className:"absolute top-0 left-0 size-full bg-[#2C57A752]/[32%]"}),s.jsx("img",{src:((l=e==null?void 0:e.video_photo)==null?void 0:l.path)??"",className:"size-full object-cover"})]},a)})}),((g=t==null?void 0:t.photos)==null?void 0:g.length)&&((h=t==null?void 0:t.photos)==null?void 0:h.length)>16&&!d&&s.jsx(V,{onClick:()=>_(!0),className:"mx-auto w-[288px] mt-10 text-on_surface",size:"lg",variant:"outline",children:I("media.button")})]})})]})]})};export{q as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{u as o,j as e,L as n,C as i}from"./ui-library-hk2QbOT6.js";import{a as l}from"./react-vendor-Y0eyvj1J.js";import{u as m,N as c}from"./news-card-q9FMXRQt.js";import{u as d}from"./use-scroll-top-DE9DNB_I.js";function N(){d();const a=o(s=>s.lang),{data:r,isPending:t}=m(a);return t?e.jsx(n,{}):e.jsxs(i,{className:"page-padding",children:[e.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-10",children:a==="ru"?"Новости":"News"}),e.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:r==null?void 0:r.map(s=>l.createElement(c,{...s,key:s.title}))})]})}export{N as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{a2 as r,a4 as i,j as s,c as x,a5 as o}from"./ui-library-hk2QbOT6.js";import{L as j}from"./react-vendor-Y0eyvj1J.js";const d=a=>{const{data:e,isPending:c}=r({queryKey:["news",a],queryFn:()=>i(a),select:({data:t})=>t.data});return{data:e,isPending:c}},m=({className:a,featured_images:e,title:c,id:t,published_at:n})=>{var l;return s.jsx(j,{to:`/news/${t}`,children:s.jsxs("article",{className:x("bg-surface_container justify-between h-[400px] flex flex-col gap-6",a),children:[s.jsxs("div",{className:"flex flex-col gap-4 px-6 pt-6",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("h4",{children:n.slice(0,10).split("-").reverse().join(".")}),s.jsx(o,{})]}),s.jsx("hr",{}),s.jsx("h3",{className:"text-[20px] leading-[130%] line-clamp-3",children:c})]}),s.jsx("img",{src:((l=e==null?void 0:e[0])==null?void 0:l.path)||"",alt:"news image",className:"w-full h-[220px] object-cover"})]})})};export{m as N,d as u};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{a2 as c,a3 as o,u as x,j as s,L as d,C as u}from"./ui-library-hk2QbOT6.js";import{u as p,a as g}from"./react-vendor-Y0eyvj1J.js";import{u as h,N as f}from"./news-card-q9FMXRQt.js";import{u as j}from"./use-scroll-top-DE9DNB_I.js";const N=(t,r)=>{const{data:n,isPending:e}=c({queryKey:["news-inner",t,r],queryFn:()=>o(t,r),select:({data:l})=>l.data});return{data:n,isPending:e}};function _(){var m;const{id:t}=p(),r=x(a=>a.lang),n=Number(t);j(n);const{data:e,isPending:l}=N(n,r),{data:i}=h(r);return l?s.jsx(d,{}):s.jsxs(u,{className:"pt-10 pb-20 md:pt-20 md:pb-[120px]",children:[s.jsxs("section",{className:"max-w-[888px] py-5 mx-auto flex flex-col md:gap-10 gap-6",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-on_surface md:text-[32px] text-3xl leading-10 mb-2",children:e==null?void 0:e.title}),s.jsx("h4",{children:e==null?void 0:e.published_at.slice(0,10).split("-").reverse().join(".")})]}),s.jsx("div",{className:"w-full h-[300px] md:h-[480px]",children:s.jsx("img",{src:((m=e==null?void 0:e.featured_images[0])==null?void 0:m.path)||"",alt:"news image",className:"size-full object-cover"})}),s.jsx("div",{dangerouslySetInnerHTML:{__html:(e==null?void 0:e.content)??""},className:"news-inner md:text-lg flex flex-col gap-6 text-base md:medium normal text-on_surface_v"})]}),s.jsx("hr",{className:"mt-10 md:mb-20 mb-[60px]"}),s.jsxs("section",{children:[s.jsx("h2",{className:"h2 mb-6",children:r==="ru"?"Читайте также:":"Read more:"}),s.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:i==null?void 0:i.filter(a=>a.id!==n).slice(0,3).map(a=>g.createElement(f,{...a,key:a.title}))})]})]})}export{_ as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{u as j,a2 as _,a6 as b,j as t,C as N,c as v,a7 as P,L as C,a8 as d}from"./ui-library-hk2QbOT6.js";import{a as L}from"./react-vendor-Y0eyvj1J.js";import{u as S}from"./use-scroll-top-DE9DNB_I.js";const T=()=>{const r=j(i=>i.lang),{data:c,isPending:s}=_({queryKey:["participants",r],queryFn:()=>b(r),select:({data:i})=>i.data});return{data:c,isPending:s}},I=({className:r})=>{var u,x,g,h,y;S();const c=j(n=>n.lang),{data:s,isPending:i}=T(),e={company:c==="ru"?"Название компании":"Company name",country:c==="ru"?"Страна":"Country",industry:c==="ru"?"Сфера деятельности":"Industry"},[o,f]=L.useState(0),l=(g=s==null?void 0:s[0])==null?void 0:g.participants.concat((u=s==null?void 0:s[1])==null?void 0:u.participants,(x=s==null?void 0:s[2])==null?void 0:x.participants),p=s==null?void 0:s.filter(n=>o===1?n.id===3:o===2?n.id===1:n.id===2);return console.log(o),t.jsx(N,{children:t.jsxs("section",{className:v("page-padding overflow-x-hidden",r),children:[t.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-4",children:c==="ru"?"Список участников":"List of participants"}),t.jsx(P,{state:o,setState:f,className:"mb-6 md:w-fit"}),t.jsxs("div",{className:"p-2 sm:p-0 bg-surface_container overflow-hidden",children:[t.jsxs("div",{className:"sm:flex items-center hidden h-[52px] border-b border-outline_v",children:[t.jsx("h3",{className:"flex-[0_0_45.54%] pl-4",children:e==null?void 0:e.company}),t.jsx("h3",{className:"flex-[0_0_19.80%]",children:e==null?void 0:e.country}),t.jsx("h3",{className:"flex-[0_0_34.65%]",children:e==null?void 0:e.industry})]}),i?t.jsx(C,{}):o===0?l==null?void 0:l.map((n,m,a)=>t.jsx(d,{...n,arr:a==null?void 0:a.length,index:m,image:n.image??{path:""},image_country:n.image_country??{path:""}})):(y=(h=p==null?void 0:p[0])==null?void 0:h.participants)==null?void 0:y.map((n,m,a)=>t.jsx(d,{...n,arr:a==null?void 0:a.length,index:m,image:n.image??{path:""},image_country:n.image_country??{path:""}}))]})]})})};export{I as default};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
import{z as r,u as y,E as f,s as d,j as e,k as v,I as N,G as S,r as F,t as j,v as c,w as m,x as i,y as l,B as k,D as w,J as C,P as V,K as E}from"./ui-library-hk2QbOT6.js";import{a as b}from"./react-vendor-Y0eyvj1J.js";import{R as h,a as x}from"./radio-group-BzzifJr3.js";import{s as a}from"./stend.data-Dr6usuZY.js";const R=r.object({space_package:r.string(),company_name:r.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:r.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:r.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:r.preprocess(p=>Number(p),r.number().min(1,"Укажите количество участников")),country:r.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:r.string().email({message:"Укажите корректный email"}),phone:r.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:r.string().optional(),visa_support:r.string().optional()}),D={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function T(){const p=y(n=>n.lang),[u,_]=b.useState(!1),s=f({resolver:E(R),defaultValues:D}),g=async n=>{await V(n)&&_(!0)};b.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[]);const{errors:o}=s.formState,t=d(p);return e.jsxs("div",{children:[e.jsx(v,{title:a[d(p)].cover}),e.jsx(N,{children:!u&&e.jsx(S,{...s,children:e.jsxs(F.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] px-5 mx-auto mt-20 mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(g),children:[e.jsx(j,{control:s.control,name:"space_package",render:({field:n})=>e.jsxs(c,{className:"space-y-5",children:[e.jsx(m,{className:"text-xl",children:a[t].h2}),e.jsx(i,{children:e.jsxs(h,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(i,{children:e.jsx(x,{value:"space",checked:n.value==="space"})}),e.jsx(m,{className:"text-base",children:a[t].radio})]}),e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(i,{children:e.jsx(x,{value:"package",checked:n.value==="package"})}),e.jsx(m,{className:"text-base",children:a[t].radio_2})]})]})})]})}),e.jsx(l,{label:a[t].label_1,name:"company_name",control:s.control,error:o.company_name}),e.jsx(l,{label:a[t].label_2,name:"rep_name",control:s.control,error:o.rep_name}),e.jsx(l,{label:a[t].label_3,name:"job_title",control:s.control,error:o.job_title}),e.jsx(l,{label:a[t].number_of_participants,type:"number",name:"participants_number",control:s.control,error:o.participants_number}),e.jsx(l,{label:a[t].label_4,name:"country",control:s.control,error:o.country}),e.jsx(l,{label:a[t].label_5,name:"email",control:s.control,error:o.email}),e.jsx(l,{label:a[t].label_6,name:"phone",control:s.control,error:o.phone}),e.jsx(l,{label:a[t].label_7,name:"website",control:s.control}),e.jsx(j,{control:s.control,name:"visa_support",render:({field:n})=>e.jsxs(c,{className:"space-y-5",children:[e.jsx(m,{className:"text-xl",children:a[t].visa}),e.jsx(i,{children:e.jsxs(h,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(i,{children:e.jsx(x,{value:"yes",checked:n.value==="yes"})}),e.jsx(m,{className:"text-base",children:a[t].visa_radio})]}),e.jsxs(c,{className:"flex items-center space-x-5 space-y-0 ",children:[e.jsx(i,{children:e.jsx(x,{value:"no",checked:n.value==="no"})}),e.jsx(m,{className:"text-base",children:a[t].visa_radio_2})]})]})})]})}),e.jsx(k,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?e.jsx(w,{className:"animate-spin"}):a[t].button})]})})}),u&&e.jsx(C,{delay:.3})]})}export{T as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
const a=[{cover:"Забронировать стенд",h2:"Выберите один из вариантов:",radio:"Необорудованная площадь",radio_2:"Оборудованная площадь",label_1:"Название компании/организации",label_2:"Имя представителя",label_3:"Название должности/позиция",number_of_participants:"Количество участников",label_4:"Страна",label_5:"Email адрес",label_6:"Номер телефона",label_7:"Веб-сайт",visa:"Визовая поддержка:",visa_radio:"Да",visa_radio_2:"Нет",button:"Отправить"},{cover:"Book a stand:",h2:"Select one of the options:",radio:"Stand space only",radio_2:"Prefabricated stand",label_1:"Company/Organization Name",label_2:"Name of Representative",label_3:"Job title/Position",number_of_participants:"Number of the participants",label_4:"Country",label_5:"Email",label_6:"Phone number",label_7:"Website",visa:"Visa support:",visa_radio:"Yes",visa_radio_2:"No",button:"Send"}];export{a as s};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
import{a as r}from"./react-vendor-Y0eyvj1J.js";const t=o=>{r.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[o])};export{t as u};
|
||||
|
|
@ -66,9 +66,9 @@
|
|||
})(window, document, "script", "dataLayer", "GTM-NK394LVK");
|
||||
</script>
|
||||
<title>Turkmen Textile</title>
|
||||
<script type="module" crossorigin src="/assets/index-DaWiwHTB.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-D3jV8g1i.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/react-vendor-Y0eyvj1J.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ui-library-hk2QbOT6.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ui-library-DUfk0SEZ.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DCOIb4tZ.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Reference in New Issue