hero section update

This commit is contained in:
nabijonovdavronbek619@gmail.com
2025-11-12 12:27:28 +05:00
parent d7420a192f
commit 0e8769ad93
5 changed files with 11 additions and 12 deletions

View File

@@ -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"
/>

View File

@@ -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" />