This commit is contained in:
Batyr 2025-02-10 16:40:56 +05:00
parent c261eeb729
commit 0dad7b4bbb
8 changed files with 16 additions and 7 deletions

View File

@ -42,7 +42,7 @@ export const AboutInfo: FC<Props> = () => {
<div className="flex flex-col gap-6"> <div className="flex flex-col gap-6">
<h2 className="h2">{t("main.block_3.title")}</h2> <h2 className="h2">{t("main.block_3.title")}</h2>
<h3>{t("main.block_3.subtitle")}</h3> <h3 className="p">{t("main.block_3.subtitle")}</h3>
<ul className="list-disc pl-8 flex flex-col gap-3 p"> <ul className="list-disc pl-8 flex flex-col gap-3 p">
{block_3.map((item) => ( {block_3.map((item) => (
<li key={item}>{item}</li> <li key={item}>{item}</li>

View File

@ -14,6 +14,7 @@ import { Field } from "../field";
import { b2bStage1 } from "@/data/b2b.data"; import { b2bStage1 } from "@/data/b2b.data";
import { useTranslate } from "@/hooks/use-translate"; import { useTranslate } from "@/hooks/use-translate";
import { Language, useLangStore } from "@/store/lang"; import { Language, useLangStore } from "@/store/lang";
import { useScrollTop } from "@/hooks/use-scroll-top";
interface Props { interface Props {
className?: string; className?: string;
@ -21,6 +22,7 @@ interface Props {
} }
export const Stage1: FC<Props> = ({ handleNext }) => { export const Stage1: FC<Props> = ({ handleNext }) => {
useScrollTop();
const { control, formState } = useFormContext(); const { control, formState } = useFormContext();
const lang = useLangStore((state) => state.lang); const lang = useLangStore((state) => state.lang);

View File

@ -6,6 +6,7 @@ import { Button } from "@/components/ui/button";
import { Language, useLangStore } from "@/store/lang"; import { Language, useLangStore } from "@/store/lang";
import { useTranslate } from "@/hooks/use-translate"; import { useTranslate } from "@/hooks/use-translate";
import { b2bStage2 } from "@/data/b2b.data"; import { b2bStage2 } from "@/data/b2b.data";
import { useScrollTop } from "@/hooks/use-scroll-top";
interface Props { interface Props {
className?: string; className?: string;
@ -14,6 +15,8 @@ interface Props {
} }
export const Stage2: FC<Props> = ({ handleNext, handlePrev }) => { export const Stage2: FC<Props> = ({ handleNext, handlePrev }) => {
useScrollTop();
const lang = useLangStore((state) => state.lang); const lang = useLangStore((state) => state.lang);
const { control, formState } = useFormContext(); const { control, formState } = useFormContext();

View File

@ -7,6 +7,7 @@ import { Loader } from "lucide-react";
import { b2bStage3 } from "@/data/b2b.data"; import { b2bStage3 } from "@/data/b2b.data";
import { useTranslate } from "@/hooks/use-translate"; import { useTranslate } from "@/hooks/use-translate";
import { Language, useLangStore } from "@/store/lang"; import { Language, useLangStore } from "@/store/lang";
import { useScrollTop } from "@/hooks/use-scroll-top";
interface Props { interface Props {
className?: string; className?: string;
@ -14,6 +15,8 @@ interface Props {
} }
export const Stage3: FC<Props> = ({ handlePrev }) => { export const Stage3: FC<Props> = ({ handlePrev }) => {
useScrollTop();
const { control, formState } = useFormContext(); const { control, formState } = useFormContext();
const lang = useLangStore((state) => state.lang); const lang = useLangStore((state) => state.lang);

View File

@ -24,7 +24,7 @@ export const b2bStage1 = [
label: "Номер телефона", label: "Номер телефона",
}, },
{ {
label: "Вебсайт", label: "Веб-сайт",
}, },
], ],
}, },
@ -48,7 +48,7 @@ export const b2bStage1 = [
label: "Country", label: "Country",
}, },
{ {
label: "E-mail address", label: "Email",
}, },
{ {
label: "Phone number", label: "Phone number",

View File

@ -23,7 +23,7 @@ export const contacts = [
data: [ data: [
{ {
title: "contact@turkmenexpo.com", title: "contact@turkmenexpo.com",
subtitle: "E-mail Address", subtitle: "Email",
img: "/contacts/home/mail.svg", img: "/contacts/home/mail.svg",
}, },
{ {

View File

@ -32,8 +32,9 @@ export const homeAbout = [
{ {
h2: "TurkmenTextile Expo-2025 in Ashgabat", h2: "TurkmenTextile Expo-2025 in Ashgabat",
p: `An international exhibition will unite global industry leaders, innovative manufacturers, and creative designers. p: `An international exhibition will unite global industry leaders, innovative manufacturers, and creative designers.
Our mission is to strengthen Turkmenistan's position as a key hub for the textile and fashion industry. The exhibition will serve as a platform to explore sustainable practices, modern technologies, and design solutions, inspiring the development of the industry. Our mission is to strengthen Turkmenistan's position as a key hub for the textile and fashion industry.
`, `,
p_2: "The exhibition will serve as a platform to explore sustainable practices, modern technologies, and design solutions, inspiring the development of the industry.",
data: [ data: [
{ {

View File

@ -13,7 +13,7 @@ export const stendData = [
label_4: "Страна", label_4: "Страна",
label_5: "Email адрес", label_5: "Email адрес",
label_6: "Номер телефона", label_6: "Номер телефона",
label_7: "Вебсайт", label_7: "Веб-сайт",
visa: "Визовая поддержка:", visa: "Визовая поддержка:",
visa_radio: "Да", visa_radio: "Да",
@ -34,7 +34,7 @@ export const stendData = [
label_3: "Job title/Position", label_3: "Job title/Position",
number_of_participants: "Number of the participants", number_of_participants: "Number of the participants",
label_4: "Country", label_4: "Country",
label_5: "Email address", label_5: "Email",
label_6: "Phone number", label_6: "Phone number",
label_7: "Website", label_7: "Website",