diff --git a/app/[lang]/[carType]/page.tsx b/app/[lang]/[carType]/page.tsx index 9e1d639..aba07f3 100644 --- a/app/[lang]/[carType]/page.tsx +++ b/app/[lang]/[carType]/page.tsx @@ -7,7 +7,8 @@ import { assenizator, avtogreyderlar, avtokran, - avtominora, + avtolift, + avtovishka, betonNasoslar, buldozerlar, cement_trucks, @@ -56,9 +57,15 @@ export default function CartType() { return ; })} - {/* Avtominora */} - {carType === "avtotowers" && - avtominora.map((item) => { + {/* Avtoliftlar */} + {carType === "avtolift" && + avtolift.map((item) => { + return ; + })} + + {/* Avtovishka */} + {carType === "avtovishka" && + avtovishka.map((item) => { return ; })} diff --git a/data/index.ts b/data/index.ts index 8e96931..0f5ddcb 100644 --- a/data/index.ts +++ b/data/index.ts @@ -101,7 +101,7 @@ export const trucks: ProductTypes[] = [ truck_name: "avtocranes", desc: "agreement", path: "avtocranes", - image: Kran2, + image: Kran30, }, { id: 4, @@ -112,10 +112,17 @@ export const trucks: ProductTypes[] = [ }, { id: 1, - truck_name: "avtotowers", + truck_name: "Avtovishka", desc: "agreement", - path: "avtotowers", - image: Kran1, + path: "Avtovishka", + image: Avtovishka28, + }, + { + id: 1, + truck_name: "Avtolift", + desc: "agreement", + path: "Avtolift", + image: Avtolift28, }, { id: 1, @@ -201,20 +208,20 @@ export const trucks: ProductTypes[] = [ path: "evakuator", image: Evakuator, }, - { + { id: 2, truck_name: "avtocranes", desc: "agreement", path: "avtocranes", image: Kran2, }, - { - id: 3, - truck_name: "trailers", - desc: "agreement", - path: "trailers", - image: Treyler, - }, + // { + // id: 3, + // truck_name: "trailers", + // desc: "agreement", + // path: "trailers", + // image: Treyler, + // }, { id: 4, truck_name: "shalanda_traller", @@ -256,13 +263,13 @@ export const forklift: ProductTypes[] = [ path: "tele-loaders", image: Teleskop, }, - { - id: 3, - truck_name: "forklift-trucks", - desc: "agreement", - path: "forklift-trucks", - image: Forkliftlar, - }, + // { + // id: 3, + // truck_name: "forklift-trucks", + // desc: "agreement", + // path: "forklift-trucks", + // image: Forkliftlar, + // }, ]; export const excavators: ProductTypes[] = []; @@ -507,52 +514,7 @@ export const betonNasoslar: innerCardTypes[] = [ ]; //kranlar -export const avtominora: innerCardTypes[] = [ - { - id: 1, - image: Avtolift28, - name: "Avtolift", - min_order_time: 5, - price: 600000, - path: "", - weight_kg: 12000, - maxHeight_m: 28, - capacity_kg: 500, - fuelType: "Dizel", - maxSpeed_kmh: 70, - enginePower_hp: "200-400", - transmission: "Mexanik/Avtomatik", - }, - { - id: 2, - image: Avtolift53, - name: "Avtolift", - min_order_time: 5, - price: 600000, - path: "", - weight_kg: 12000, - maxHeight_m: 53, - capacity_kg: 500, - fuelType: "Dizel", - maxSpeed_kmh: 70, - enginePower_hp: "200-400", - transmission: "Mexanik/Avtomatik", - }, - { - id: 3, - image: Avtolift53, - name: "Avtolift", - min_order_time: 5, - price: 600000, - path: "", - weight_kg: 12000, - maxHeight_m: 63, - capacity_kg: 500, - fuelType: "Dizel", - maxSpeed_kmh: 70, - enginePower_hp: "200-400", - transmission: "Mexanik/Avtomatik", - }, +export const avtovishka: innerCardTypes[] = [ { id: 4, image: Avtovishka28, @@ -630,6 +592,54 @@ export const avtominora: innerCardTypes[] = [ }, ]; +export const avtolift: innerCardTypes[] = [ + { + id: 1, + image: Avtolift28, + name: "Avtolift", + min_order_time: 5, + price: 600000, + path: "", + weight_kg: 12000, + maxHeight_m: 28, + capacity_kg: 500, + fuelType: "Dizel", + maxSpeed_kmh: 70, + enginePower_hp: "200-400", + transmission: "Mexanik/Avtomatik", + }, + { + id: 2, + image: Avtolift53, + name: "Avtolift", + min_order_time: 5, + price: 600000, + path: "", + weight_kg: 12000, + maxHeight_m: 53, + capacity_kg: 500, + fuelType: "Dizel", + maxSpeed_kmh: 70, + enginePower_hp: "200-400", + transmission: "Mexanik/Avtomatik", + }, + { + id: 3, + image: Avtolift53, + name: "Avtolift", + min_order_time: 5, + price: 600000, + path: "", + weight_kg: 12000, + maxHeight_m: 63, + capacity_kg: 500, + fuelType: "Dizel", + maxSpeed_kmh: 70, + enginePower_hp: "200-400", + transmission: "Mexanik/Avtomatik", + }, +]; + export const avtokran: innerCardTypes[] = [ { id: 1, diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json index 19e0571..cc56df2 100644 --- a/public/locales/ru/common.json +++ b/public/locales/ru/common.json @@ -179,5 +179,7 @@ "beton_nasos": "Бетононасосы", "vodovoz": "Водовоз", "assenizator": "Ассенизатор", - "manipulyator": "Манипулятор" + "manipulyator": "Манипулятор", + "Avtovishka":"Автовышка", + "Avtolift":"Автолифт" } diff --git a/public/locales/uz/common.json b/public/locales/uz/common.json index 9054745..162c8e1 100644 --- a/public/locales/uz/common.json +++ b/public/locales/uz/common.json @@ -179,5 +179,7 @@ "beton_nasos": "Beton nasos mashinalari", "vodovoz":"Vodovoz", "assenizator":"Assenizator", - "manipulyator":"Manipulyator" + "manipulyator":"Manipulyator", + "Avtovishka":"Avtovishka", + "Avtolift":"Avtolift" }