diff --git a/components/ContactForm.tsx b/components/ContactForm.tsx
index b726a12..4d3afcf 100644
--- a/components/ContactForm.tsx
+++ b/components/ContactForm.tsx
@@ -98,11 +98,10 @@ export function ContactForm() {
>
- Get In Touch
+ {t.contact.title}
- Reach out to us for inquiries, support, or partnership
- opportunities.
+ {t.contact.desc}
@@ -110,18 +109,18 @@ export function ContactForm() {
{[
{
icon: Phone,
- title: "Phone",
- value: "+998 (99) 123-45-67",
+ title: "phone_title",
+ value: "+998 (99) 869-74-70",
},
{
icon: MessageSquare,
- title: "Telegram",
+ title: "telegram_title",
value: "@firma_support",
},
{
icon: MapPin,
- title: "Address",
- value: "Tashkent, Uzbekistan",
+ title: "addres_title",
+ value: "Tashkent, Сергели 6 а 179 кв",
},
].map((item, idx) => {
const Icon = item.icon;
@@ -134,7 +133,7 @@ export function ContactForm() {
- {item.title}
+ {t.contact[item.title]}
{item.value}
diff --git a/components/ShowCase.tsx b/components/ShowCase.tsx
index 543c52f..f6cbdc6 100644
--- a/components/ShowCase.tsx
+++ b/components/ShowCase.tsx
@@ -45,7 +45,7 @@ export function ShowCase({ images }: ShowCaseProps) {
};
return (
-
+
{/* background image */}
-
-
+
+
{/* Left Content */}
{/* Right - Image Carousel */}
-
-
- {/* Navigation Buttons */}
-
- {/* Indicators */}
{images.map((_, idx) => (
-
+ */}
diff --git a/context/language-context.tsx b/context/language-context.tsx
index 595556b..0228192 100644
--- a/context/language-context.tsx
+++ b/context/language-context.tsx
@@ -8,7 +8,7 @@ type Language = "uz" | "ru"
interface LanguageContextType {
language: Language
setLanguage: (lang: Language) => void
- t: (typeof translations)[Language]
+ t: (any)[Language]
}
const LanguageContext = createContext
(undefined)
diff --git a/lib/translations.ts b/lib/translations.ts
index b312e9c..e51c89f 100644
--- a/lib/translations.ts
+++ b/lib/translations.ts
@@ -25,7 +25,8 @@ export const translations = {
items: [
{
question: "Mahsulotlar uchun kafolat bormi?",
- answer: "Ha, barcha uskunalarimizga 12 oylik texnik kafolat beriladi.",
+ answer:
+ "Ha, barcha uskunalarimizga 12 oylik texnik kafolat beriladi.",
},
{
question: "Yetkazib berish muddati qancha?",
@@ -39,6 +40,7 @@ export const translations = {
},
contact: {
title: "Bog'lanish",
+ desc: "Savollar, qo'llab-quvvatlash yoki hamkorlik imkoniyatlari uchun biz bilan bog'laning.",
name: "Ism",
phone: "Telefon raqami",
message: "Xabar",
@@ -49,6 +51,9 @@ export const translations = {
namePlaceholder: "Sizning ismingiz",
phonePlaceholder: "+998 XX XXX XX XX",
messagePlaceholder: "Sizning xabaringiz (ixtiyoriy)",
+ phone_title: "Telefon",
+ telegram_title: "Telegram",
+ addres_title: "Manzil",
},
footer: {
copyright: "© 2025 Firma. Barcha huquqlar himoyalangan.",
@@ -64,14 +69,12 @@ export const translations = {
pump_2: {
name: "Agregat Nasos",
shortDescription: "Kuchli va ishonchli aggregat nasos",
- description:
- "Katta volumli neft mahsulotlarini tashishda o'rnatilgan.",
+ description: "Katta volumli neft mahsulotlarini tashishda o'rnatilgan.",
},
pump_3: {
name: "СЦЛ 20/24",
shortDescription: "Professional kalibrli nasos",
- description:
- "Chuqurligi 20-24 metrda ishlaydigan professional nasos.",
+ description: "Chuqurligi 20-24 metrda ishlaydigan professional nasos.",
},
},
},
@@ -119,6 +122,7 @@ export const translations = {
},
contact: {
title: "Свяжитесь с нами",
+ desc: "Для вопросов, поддержки или возможностей сотрудничества свяжитесь с нами.",
name: "Имя",
phone: "Номер телефона",
message: "Сообщение",
@@ -129,6 +133,9 @@ export const translations = {
namePlaceholder: "Ваше имя",
phonePlaceholder: "+998 XX XXX XX XX",
messagePlaceholder: "Ваше сообщение (опционально)",
+ phone_title: "Телефон",
+ telegram_title: "Телеграм",
+ addres_title: "Адрес",
},
footer: {
copyright: "© 2025 Firma. Все права защищены.",
@@ -137,8 +144,7 @@ export const translations = {
products_list: {
pump_1: {
name: "Счетчик Насос",
- shortDescription:
- "Для безопасной транспортировки нефтепродуктов",
+ shortDescription: "Для безопасной транспортировки нефтепродуктов",
description:
"Высококачественный счетчиковый насос, используется для транспортировки бензина, дизеля и керосина.",
},
diff --git a/locales/ru.json b/locales/ru.json
index 4941092..3ae8863 100644
--- a/locales/ru.json
+++ b/locales/ru.json
@@ -37,6 +37,7 @@
},
"contact": {
"title": "Свяжитесь с нами",
+ "desc": "Для вопросов, поддержки или возможностей сотрудничества свяжитесь с нами.",
"name": "Имя",
"phone": "Номер телефона",
"message": "Сообщение",
diff --git a/locales/uz.json b/locales/uz.json
index 13a8f0b..4638520 100644
--- a/locales/uz.json
+++ b/locales/uz.json
@@ -37,6 +37,7 @@
},
"contact": {
"title": "Bog'lanish",
+ "desc": "Savollar, qo'llab-quvvatlash yoki hamkorlik imkoniyatlari uchun biz bilan bog'laning.",
"name": "Ism",
"phone": "Telefon raqami",
"message": "Xabar",
diff --git a/public/logo.jpg b/public/logo.jpg
new file mode 100644
index 0000000..cc6783e
Binary files /dev/null and b/public/logo.jpg differ