mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-11-07 20:18:57 +01:00
Merge branch 'main' into feat/wordmark
Signed-off-by: Thomas Camlong <thomas@ajnart.fr>
This commit is contained in:
@@ -365,6 +365,7 @@ export function IconDetails({ icon, iconData, authorData, allIcons }: IconDetail
|
||||
alt={`${iconName} in ${format} format${theme ? ` (${theme} theme)` : ""}`}
|
||||
fill
|
||||
loading="eager"
|
||||
priority
|
||||
className="object-contain p-4"
|
||||
/>
|
||||
</motion.div>
|
||||
@@ -406,6 +407,7 @@ export function IconDetails({ icon, iconData, authorData, allIcons }: IconDetail
|
||||
<div className="relative w-32 h-32 rounded-xl overflow-hidden border flex items-center justify-center p-3">
|
||||
<Image
|
||||
src={`${BASE_URL}/${iconData.base}/${iconData.colors?.light || icon}.${iconData.base}`}
|
||||
priority
|
||||
width={96}
|
||||
height={96}
|
||||
placeholder="empty"
|
||||
|
||||
Reference in New Issue
Block a user