fix(Content): replace Button with SmoothScrollLink for smooth scrolling to configs

This commit is contained in:
Ali Josheghani
2025-03-02 22:15:44 +03:30
parent 52e84c58c3
commit f543654f18

View File

@@ -1,4 +1,5 @@
import Button from "../../../../../components/button";
import SmoothScrollLink from "../../../../../components/scrollLink";
const Content = () => {
return (
@@ -12,10 +13,11 @@ const Content = () => {
<p className="text-2xl max-md:text-sm text-gray-500">
بهترین نتیجه رو بهتون تقدیم میکنیم
</p>
<Button extra="!bg-black text-white text-2xl max-md:text-lg max-md:!py-2 mt-4 !py-4 !px-10 !rounded-xl">
{" "}
همین الان میخرم
</Button>
<SmoothScrollLink to="#configs">
<Button extra="!bg-black text-white text-2xl max-md:text-lg max-md:!py-2 mt-4 !py-4 !px-10 !rounded-xl">
همین الان میخرم
</Button>
</SmoothScrollLink>
</div>
);
};