同步代码

This commit is contained in:
Vixcity
2023-01-03 20:56:55 +08:00
parent d84f9b9297
commit 7da44bd0de
117 changed files with 2072 additions and 2506 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}`} className="cursor-pointer hover:underline">
{post.title}
<Link href={`/${post.slug}`}>
<a className="cursor-pointer hover:underline">
{post.title}
</a>
</Link>
</li>
))}
</ul>
</div>
);
)
}
export default RecommendPosts