pproducts
This commit is contained in:
10
lib/allProducts.ts
Normal file
10
lib/allProducts.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import axios from "axios";
|
||||
|
||||
export const allProduct = async () => {
|
||||
try{
|
||||
const res = await axios.get('')
|
||||
}catch(err){
|
||||
console.log("all product error: ",err);
|
||||
|
||||
}
|
||||
};
|
||||
@@ -16,7 +16,7 @@ export const products: Product[] = [
|
||||
nameKey: "Schotchik Nasos",
|
||||
slug: "Yuqori sifatli schotchik nasos, benzin, dizel va kerosinni tashishda ishlatiladi.",
|
||||
shortDescriptionKey: "Xavfsiz neft mahsulotlarini tashish uchun",
|
||||
images: ["/images/pump-1.jpg", "/images/pump-1-alt.jpg"],
|
||||
images: ["/product/product.jpg", "/images/pump-1-alt.jpg"],
|
||||
specs: [
|
||||
{ key: "Flow Rate", value: "100 L/min" },
|
||||
{ key: "Pressure", value: "10 bar" },
|
||||
@@ -29,7 +29,7 @@ export const products: Product[] = [
|
||||
nameKey: "Agregat Nasos",
|
||||
slug: "Katta volumli neft mahsulotlarini tashishda o'rnatilgan.",
|
||||
shortDescriptionKey: "Kuchli va ishonchli aggregat nasos",
|
||||
images: ["/images/pump-2.jpg", "/images/pump-2-alt.jpg"],
|
||||
images: ["/product/product1.jpg", "/images/pump-2-alt.jpg"],
|
||||
specs: [
|
||||
{ key: "Flow Rate", value: "250 L/min" },
|
||||
{ key: "Pressure", value: "15 bar" },
|
||||
@@ -42,7 +42,7 @@ export const products: Product[] = [
|
||||
nameKey: "СЦЛ 20/24",
|
||||
slug:"Chuqurligi 20-24 metrda ishlaydigan professional nasos.",
|
||||
shortDescriptionKey: "Professional kalibrli nasos",
|
||||
images: ["/images/pump-3.jpg", "/images/pump-3-alt.jpg"],
|
||||
images: ["/product/product2.jpg", "/images/pump-3-alt.jpg"],
|
||||
specs: [
|
||||
{ key: "Depth Rating", value: "20-24 m" },
|
||||
{ key: "Flow Rate", value: "150 L/min" },
|
||||
|
||||
@@ -90,6 +90,8 @@ export const translations = {
|
||||
description: "Chuqurligi 20-24 metrda ishlaydigan professional nasos.",
|
||||
},
|
||||
},
|
||||
more: "Ko'proq ko'rish",
|
||||
details: "Batafsil",
|
||||
},
|
||||
|
||||
ru: {
|
||||
@@ -187,5 +189,7 @@ export const translations = {
|
||||
"Профессиональный насос, работающий на глубине 20-24 метра.",
|
||||
},
|
||||
},
|
||||
more: "Смотреть больше",
|
||||
details: "Подробнее",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user