Skip to content

Commit 90d7edd

Browse files
committed
fix error
1 parent 3154462 commit 90d7edd

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

themes/heo/components/InfoCard.js

+1-23
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function InfoCard(props) {
6565
)}*/}
6666
</div>
6767
{/* 第三个按钮 */}
68-
{/* <MoreButton /> */}
68+
<MoreButton />
6969
</div>
7070
</Card>
7171
)
@@ -117,26 +117,4 @@ function GreetingsWords() {
117117
{greeting}
118118
</div>
119119
)
120-
}
121-
122-
/**
123-
* 了解更多按鈕
124-
* @returns
125-
*/
126-
function MoreButton() {
127-
return (
128-
<Link href='/opened'>
129-
<div
130-
className={
131-
'group bg-indigo-400 dark:bg-yellow-500 hover:bg-white dark:hover:bg-black hover:text-black dark:hover:text-white flex items-center transition-colors duration-200 py-2 px-3 rounded-full space-x-1'
132-
}>
133-
<ArrowRightCircle
134-
className={
135-
'group-hover:stroke-black dark:group-hover:stroke-white w-6 h-6 transition-all duration-100'
136-
}
137-
/>
138-
<div className='font-bold'>了解更多</div>
139-
</div>
140-
</Link>
141-
)
142120
}

0 commit comments

Comments
 (0)