theme-fix-search

This commit is contained in:
tangly1024
2023-07-09 16:21:43 +08:00
parent 5beab016c2
commit 715ec43ad3
4 changed files with 27 additions and 31 deletions

View File

@@ -10,7 +10,7 @@ const BlogPostCard = ({ post, className }) => {
<div key={post.id} className={`${className} py-1 cursor-pointer px-2 hover:bg-gray-50 rounded-md dark:hover:bg-gray-600 ${currentSelected ? 'bg-green-50 text-green-500' : ''}`}>
<div className="flex flex-col w-full">
<Link href={`${BLOG.SUB_PATH}/${post.slug}`} passHref>
<a>{post.title}</a>
{post.title}
</Link>
</div>
</div>