update-link-to-a
This commit is contained in:
parent
d09ae349d7
commit
ee24b2ea3f
|
|
@ -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>
|
||||
}
|
||||
Loading…
Reference in New Issue