🖼️ added images support

- Should investigate how to resize the image from .md specs
This commit is contained in:
RJ
2025-11-21 16:15:15 +02:00
committed by Rares J
parent 6155a541f9
commit a039528fb3
26 changed files with 871 additions and 274 deletions

View File

@@ -1,8 +1,8 @@
import Link from 'next/link';
import { TagInfo } from '@/lib/tags';
import Link from 'next/link'
import { TagInfo } from '@/lib/tags'
interface TagCloudProps {
tags: Array<TagInfo & { size: 'sm' | 'md' | 'lg' | 'xl' }>;
tags: Array<TagInfo & { size: 'sm' | 'md' | 'lg' | 'xl' }>
}
export function TagCloud({ tags }: TagCloudProps) {
@@ -11,7 +11,7 @@ export function TagCloud({ tags }: TagCloudProps) {
md: 'text-sm',
lg: 'text-base font-bold',
xl: 'text-lg font-bold',
};
}
return (
<div className="flex flex-wrap gap-4 items-baseline">
@@ -32,5 +32,5 @@ export function TagCloud({ tags }: TagCloudProps) {
</Link>
))}
</div>
);
)
}