hero section update
This commit is contained in:
@@ -12,7 +12,7 @@ export default function Home() {
|
||||
return (
|
||||
<div>
|
||||
<HeroSection/>
|
||||
<section id="products" className="mt-10 mb-10">
|
||||
<section id="products" className=" mb-10">
|
||||
<Products />
|
||||
</section>
|
||||
<Texnika />
|
||||
|
||||
@@ -7,14 +7,14 @@ export default function HeroSection() {
|
||||
return (
|
||||
<section
|
||||
dir="ltr"
|
||||
className="relative w-full md:h-[300px] max-md:py-10 overflow-hidden flex items-center justify-center"
|
||||
className="relative w-full md:h-[300px] max-md:py-10 max-lg:px-2 overflow-hidden flex items-center justify-center"
|
||||
>
|
||||
<Image
|
||||
src="/hero2.jpg" // public papkaga rasm joylash (masalan, texnika rasmi)
|
||||
alt="SpetsTexnika"
|
||||
width={500}
|
||||
width={800}
|
||||
height={400}
|
||||
className="object-contain m-5 rounded-3xl"
|
||||
className="object-contain rounded-3xl"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
@@ -49,13 +49,10 @@ export default function Products() {
|
||||
return (
|
||||
<div dir="ltr" className="max-w-[1200px] w-full mx-auto">
|
||||
{/* title part */}
|
||||
<div className="flex flex-col md:gap-8 gap-4">
|
||||
<div className="flex flex-col">
|
||||
<div className="flex items-center justify-center w-full ">
|
||||
<div className="text-secondary px-2 py-1 text-[18px] font-semibold ">
|
||||
<Text txt="equipment" />
|
||||
</div>
|
||||
<div className="bg-primary text-secondary px-3 py-1 text-[18px] font-semibold ">
|
||||
<Text txt="amazing" />
|
||||
<div className="text-secondary px-2 text-[18px] font-semibold ">
|
||||
<Text txt="katalog" />
|
||||
</div>
|
||||
</div>
|
||||
<Title text="pricing-h2" />
|
||||
|
||||
@@ -193,5 +193,6 @@
|
||||
"zichlash": "Ширина уплотнения асфальта",
|
||||
"siqish": "Давление сжатия",
|
||||
"havo": "Ёмкость воздуха",
|
||||
"kompressor_sig": "Объём компрессора"
|
||||
"kompressor_sig": "Объём компрессора",
|
||||
"katalog": "Познакомьтесь с каталогом"
|
||||
}
|
||||
|
||||
@@ -195,5 +195,6 @@
|
||||
"zichlash": "Asfalt zichlash kengligi",
|
||||
"siqish": "Siqish bosimi",
|
||||
"havo": "Havo sig‘imi",
|
||||
"kompressor_sig": "Kompressor sig‘imi"
|
||||
"kompressor_sig": "Kompressor sig‘imi",
|
||||
"katalog": "Katalog bilan tanishing"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user