update-link-to-a

This commit is contained in:
caishi 2026-01-12 15:11:18 +08:00
parent d09ae349d7
commit ee24b2ea3f
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ export const slidingArrowButton = ({href="/", name="探索更多内容", classna
//
export const rollingButton = ({href="/", name="了解更多", hoverName="了解更多", classname="mt20"}) =>{
return <Link className={`rollingButton ${classname}`}to={href}>
return <a className={`rollingButton ${classname}`} href={href}>
<span>{name}</span>
<span>{hoverName}</span>
</Link>
</a>
}