contact part

This commit is contained in:
Davron Chetin
2025-10-11 22:46:16 +05:00
parent 18890c0049
commit 34fbe9895b
3 changed files with 12 additions and 7 deletions

View File

@@ -35,17 +35,21 @@ body {
/* 🟠 Sariq blok trapezoid shakl */
.clip-trapezoid {
clip-path: polygon(16% 0, 100% 0, 84% 100%, 0% 100%);
clip-path: polygon(4% 0, 100% 0, 97% 100%, 0% 100%);
}
/* Input blokining shakli */
.clip-input {
clip-path: polygon(16% 0, 100% 0, 84% 100%, 0% 100%);
clip-path: polygon(4% 0, 100% 0, 96% 100%, 0% 100%);
}
/* Tugma blokining shakli */
.clip-button {
clip-path: polygon(16% 0, 100% 0, 84% 100%, 0% 100%);
clip-path: polygon(7% 0, 100% 0, 94% 100%, 0% 100%);
}
.clip-part{
clip-path: polygon(100% 0, 55% 100%, 88% 100%);
}

View File

@@ -23,7 +23,7 @@ export default function Home() {
<Faq/>
<Partners/>
<Map/>
<section id="contact" className="my-20" >
<section id="contact" className="" >
<Contact/>
</section>
<Footer/>

View File

@@ -1,8 +1,8 @@
export default function Contact() {
return (
<section dir="ltr" className="relative w-full bg-primary py-10 flex justify-center">
<div className=" bg-secondary max-w-[1200px] w-full py-10 flex flex-col items-center clip-trapezoid">
<section dir="ltr" className="relative w-full bg-primary py-20 flex justify-center mt-40">
<div className=" absolute z-20 -top-25 bg-secondary max-w-[1200px] w-full py-10 flex flex-col items-center clip-trapezoid">
<h2 className="text-2xl md:text-3xl font-bold text-primary mb-5 text-center">
Qo'ng'iroqni buyurtma qiling
</h2>
@@ -14,11 +14,12 @@ export default function Contact() {
placeholder="Your phone number"
className="flex-1 py-3 px-5 bg-white text-gray-600 placeholder-gray-400 text-lg clip-input focus:outline-none"
/>
<button className="bg-primary text-white px-6 py-3 text-lg font-medium clip-button">
<button className="bg-primary -ml-5 text-white px-6 py-3 text-lg font-medium clip-button">
Menga qo'ng'iroq qiling
</button>
</div>
</div>
<div className="bg-[#d38307] clip-part absolute -top-25 py-[50px] px-18 left-[97px] z-10" ></div>
</section>
);
}