connect links to a tegs

This commit is contained in:
nabijonovdavronbek619@gmail.com
2025-11-08 11:11:44 +05:00
parent 549535b471
commit 9f047aecb4
7 changed files with 28 additions and 21 deletions

View File

@@ -1,3 +1,4 @@
import Text from "../lib_components/text";
export default function Contact() {
return (
@@ -5,7 +6,7 @@ export default function Contact() {
<div className="mx-auto absolute z-20 -top-25 bg-secondary max-w-[1200px] w-full py-10 flex flex-col items-center clip-trapezoid">
<div id="contactClip" className="w-full flex flex-col items-center justify-center">
<h2 className="text-2xl md:text-3xl font-bold text-primary mb-5 text-center">
Qo'ng'iroqni buyurtma qiling
<Text txt="contact-h2"/>
</h2>
{/* Input va Button bloki */}
@@ -16,7 +17,7 @@ export default function Contact() {
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 sm:-ml-5 text-white sm:px-6 sm:py-3 p-2 text-lg font-medium clip-button">
Menga qo'ng'iroq qiling
<Text txt="call"/>
</button>
</div>
</div>

View File

@@ -32,12 +32,12 @@ export default function Offer() {
<Text txt="about-block-quote" />
<span className="mt-2">"</span>
</div>
<button className="w-[200px] h-[50px] flex items-center justify-center group relative text-white hover:text-primary bg-primary text-lg font-bold py-2 px-5 hover:cursor-pointer">
<a href="tel:+998917412920" className="w-[200px] h-[50px] flex items-center justify-center group relative text-white hover:text-primary bg-primary text-lg font-bold py-2 px-5 hover:cursor-pointer">
<div className="w-full h-full flex items-center justify-center z-20 absolute">
<Text txt="contact-us" />
</div>
<span className="w-[15px] h-[15px] bg-secondary absolute z-10 bottom-0 right-0 group-hover:w-full group-hover:h-full "></span>
</button>
</a>
</div>
<Image