refactor(web): Reintroduce specific lost features after d0f8f8c (#1285)

Co-authored-by: Thomas Camlong <thomas@ajnart.fr>
This commit is contained in:
Bjorn Lammers
2025-04-26 17:28:24 +02:00
committed by GitHub
parent 2d8a8957d4
commit 09a30fd4fa
9 changed files with 52 additions and 56 deletions

View File

@@ -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`,

View File

@@ -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} />

View File

@@ -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`}>