📝 priettier check
All checks were successful
PR Checks / lint-and-build (pull_request) Successful in 18s
All checks were successful
PR Checks / lint-and-build (pull_request) Successful in 18s
This commit is contained in:
@@ -62,9 +62,7 @@ export function OptimizedImage({
|
||||
return (
|
||||
<span className={`block my-8 ${className}`}>
|
||||
{imageElement}
|
||||
{caption && (
|
||||
<span className="block mt-3 text-center text-sm text-zinc-400">{caption}</span>
|
||||
)}
|
||||
{caption && <span className="block mt-3 text-center text-sm text-zinc-400">{caption}</span>}
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ export function BlogCard({ post, variant }: BlogCardProps) {
|
||||
))}
|
||||
</div>
|
||||
<span className="inline-flex items-center font-mono text-xs uppercase text-cyan-400 hover:text-cyan-300 transition-colors">
|
||||
> {t('readingTime', {minutes: post.readingTime})}
|
||||
> {t('readingTime', { minutes: post.readingTime })}
|
||||
</span>
|
||||
</article>
|
||||
</Link>
|
||||
@@ -84,7 +84,7 @@ export function BlogCard({ post, variant }: BlogCardProps) {
|
||||
))}
|
||||
</div>
|
||||
<span className="inline-flex items-center font-mono text-xs uppercase text-cyan-400 hover:text-cyan-300 transition-colors">
|
||||
> {t('readingTime', {minutes: post.readingTime})}
|
||||
> {t('readingTime', { minutes: post.readingTime })}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -129,7 +129,7 @@ export function BlogCard({ post, variant }: BlogCardProps) {
|
||||
))}
|
||||
</div>
|
||||
<span className="inline-flex items-center font-mono text-xs uppercase text-cyan-400 hover:text-cyan-300 transition-colors">
|
||||
> {t('readingTime', {minutes: post.readingTime})}
|
||||
> {t('readingTime', { minutes: post.readingTime })}
|
||||
</span>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
@@ -3,7 +3,7 @@ import { getPopularTags } from '@/lib/tags'
|
||||
import { TagBadge } from './tag-badge'
|
||||
|
||||
export async function PopularTags({ limit = 5 }: { limit?: number }) {
|
||||
const tags = await getPopularTags("en", limit)
|
||||
const tags = await getPopularTags('en', limit)
|
||||
|
||||
if (tags.length === 0) return null
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ export function TagCloud({ tags }: TagCloudProps) {
|
||||
hover:text-cyan-400
|
||||
transition-colors
|
||||
`}
|
||||
title={t('postsWithTag', {count: tag.count, tag: tag.name})}
|
||||
title={t('postsWithTag', { count: tag.count, tag: tag.name })}
|
||||
>
|
||||
#{tag.name}
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user