mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-11-12 06:28:59 +01:00
Co-authored-by: Thomas Camlong <thomas@ajnart.fr>
This commit is contained in:
@@ -51,11 +51,7 @@ export async function generateMetadata({ params, searchParams }: Props, parent:
|
||||
return {
|
||||
title: `${formattedIconName} Icon | Dashboard Icons`,
|
||||
description: `Download the ${formattedIconName} icon in SVG, PNG, and WEBP formats for FREE. Part of a collection of ${totalIcons} curated icons for services, applications and tools, designed specifically for dashboards and app directories.`,
|
||||
assets: [
|
||||
`${BASE_URL}/svg/${icon}.svg`,
|
||||
`${BASE_URL}/png/${icon}.png`,
|
||||
`${BASE_URL}/webp/${icon}.webp`,
|
||||
],
|
||||
assets: [`${BASE_URL}/svg/${icon}.svg`, `${BASE_URL}/png/${icon}.png`, `${BASE_URL}/webp/${icon}.webp`],
|
||||
keywords: [
|
||||
`${formattedIconName} icon`,
|
||||
`${formattedIconName} icon download`,
|
||||
|
||||
@@ -46,7 +46,7 @@ export default async function IconsPage() {
|
||||
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-4">
|
||||
<div>
|
||||
<h1 className="text-3xl font-bold">Browse icons</h1>
|
||||
<p className="text-muted-foreground">Search through our collection of {icons.length} beautiful icons.</p>
|
||||
<p className="text-muted-foreground mb-1">Search through our collection of {icons.length} beautiful icons.</p>
|
||||
</div>
|
||||
</div>
|
||||
<IconSearch icons={icons} />
|
||||
|
||||
@@ -82,7 +82,6 @@ export async function generateMetadata(): Promise<Metadata> {
|
||||
}
|
||||
|
||||
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
|
||||
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className={`${inter.variable} antialiased bg-background flex flex-col min-h-screen`}>
|
||||
|
||||
Reference in New Issue
Block a user