This commit is contained in:
Vixcity
2023-01-03 21:10:27 +08:00
parent 7da44bd0de
commit 271e4b76be
119 changed files with 2515 additions and 2072 deletions

View File

@@ -18,15 +18,15 @@ const RecommendPosts = ({ recommendPosts }) => {
<ul className="font-light text-sm">
{recommendPosts.map(post => (
<li className="py-1" key={post.id}>
<Link href={`/${post.slug}`}>
<a className="cursor-pointer hover:underline">
{post.title}
</a>
<Link href={`/${post.slug}`} className="cursor-pointer hover:underline">
{post.title}
</Link>
</li>
))}
</ul>
</div>
)
);
}
export default RecommendPosts