精减 markjs ,精减 animate.css

This commit is contained in:
tangly1024.com
2023-07-20 17:33:41 +08:00
parent e278777e56
commit 309f7e8215
18 changed files with 654 additions and 155 deletions

View File

@@ -51,9 +51,9 @@ export const BlogPostCardInfo = ({ post, showPreview, showPageCover, showSummary
{/* 搜索结果 */}
{post.results && (
<p className="line-clamp-2 mt-4 text-gray-700 dark:text-gray-300 text-sm font-light leading-7">
{post.results.map(r => (
<span key={r}>{r}</span>
))}
{post.results.map((r, index) => (
<span key={index}>{r}</span>
))}
</p>
)}
{/* 预览 */}