Format codebase

This commit is contained in:
Thomas Camlong
2025-04-17 18:03:26 +02:00
parent b63e8f549a
commit 86edee2778
2 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
import { cn } from "@/lib/utils"
import React from "react"
import type React from "react"
interface BackgroundWrapperProps {
children: React.ReactNode

View File

@@ -309,7 +309,10 @@ export function IconDetails({ icon, iconData, authorData }: IconDetailsProps) {
<div className="flex flex-wrap gap-2">
{iconData.categories.map((category) => (
<Link key={category} href={`/icons?category=${encodeURIComponent(category)}`} className="cursor-pointer">
<Badge variant="outline" className="inline-flex items-center border border-primary/20 hover:border-primary px-2.5 py-0.5 text-sm">
<Badge
variant="outline"
className="inline-flex items-center border border-primary/20 hover:border-primary px-2.5 py-0.5 text-sm"
>
{category
.split("-")
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))