mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-10-28 05:59:04 +08:00
chore: update package manager and enhance icon metadata
- Updated package manager version to pnpm@10.11.0 in package.json. - Added robots metadata for SEO in page.tsx. - Changed Open Graph type from "article" to "website" and added siteName and images. - Included canonical URL in alternates for better indexing. - Added structured data for icons in the IconDetails component with priority loading for images.
This commit is contained in:
@@ -193,6 +193,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>
|
||||
@@ -276,6 +277,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}/${icon}.${iconData.base}`}
|
||||
priority
|
||||
width={96}
|
||||
height={96}
|
||||
placeholder="empty"
|
||||
|
||||
Reference in New Issue
Block a user