fix(Content): replace Button with SmoothScrollLink for smooth scrolling to configs
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import Button from "../../../../../components/button";
|
import Button from "../../../../../components/button";
|
||||||
|
import SmoothScrollLink from "../../../../../components/scrollLink";
|
||||||
|
|
||||||
const Content = () => {
|
const Content = () => {
|
||||||
return (
|
return (
|
||||||
@@ -12,10 +13,11 @@ const Content = () => {
|
|||||||
<p className="text-2xl max-md:text-sm text-gray-500">
|
<p className="text-2xl max-md:text-sm text-gray-500">
|
||||||
بهترین نتیجه رو بهتون تقدیم میکنیم
|
بهترین نتیجه رو بهتون تقدیم میکنیم
|
||||||
</p>
|
</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">
|
<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>
|
</Button>
|
||||||
|
</SmoothScrollLink>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user