@@ -32,4 +31,4 @@ export default function AdminRecipeBadge({
? renderBadgeContent()
:
{renderBadgeContent()}
);
-}
\ No newline at end of file
+}
diff --git a/src/camera/PhotoCamera.tsx b/src/camera/PhotoCamera.tsx
index d38ad86d..90d4edf3 100644
--- a/src/camera/PhotoCamera.tsx
+++ b/src/camera/PhotoCamera.tsx
@@ -35,7 +35,7 @@ export default function PhotoCamera({
/>
:
}
type={type}
className={className}
diff --git a/src/components/primitives/EntityLink.tsx b/src/components/primitives/EntityLink.tsx
index 9e4eef16..4faad900 100644
--- a/src/components/primitives/EntityLink.tsx
+++ b/src/components/primitives/EntityLink.tsx
@@ -29,6 +29,7 @@ export default function EntityLink({
hoverEntity,
truncate = true,
className,
+ classNameIcon,
debug,
}: {
icon: ReactNode
@@ -41,6 +42,7 @@ export default function EntityLink({
hoverEntity?: ReactNode
truncate?: boolean
className?: string
+ classNameIcon?: string
debug?: boolean
} & EntityLinkExternalProps) {
const classForContrast = () => {
@@ -85,6 +87,7 @@ export default function EntityLink({
className: clsx(
classForContrast(),
href && !badged && 'hover:text-gray-900 dark:hover:text-gray-100',
+ classNameIcon,
),
debug,
}}>
diff --git a/src/components/primitives/Icon.tsx b/src/components/primitives/Icon.tsx
index 54df4645..a6d347e9 100644
--- a/src/components/primitives/Icon.tsx
+++ b/src/components/primitives/Icon.tsx
@@ -19,7 +19,7 @@ export default function Icon({
}) {
return (
{icon && type !== 'text-only' &&
diff --git a/src/lens/PhotoLens.tsx b/src/lens/PhotoLens.tsx
index 790fdd4c..f50ebcbe 100644
--- a/src/lens/PhotoLens.tsx
+++ b/src/lens/PhotoLens.tsx
@@ -22,7 +22,9 @@ export default function PhotoLens({
}
+ icon={}
type={type}
className={className}
badged={badged}
diff --git a/src/recipe/PhotoRecipe.tsx b/src/recipe/PhotoRecipe.tsx
index 9ca766f1..c0fb33c0 100644
--- a/src/recipe/PhotoRecipe.tsx
+++ b/src/recipe/PhotoRecipe.tsx
@@ -36,7 +36,7 @@ export default function PhotoRecipe({
className={clsx(
badged
? 'translate-x-[-1px] translate-y-[0.5px]'
- : 'translate-y-[0.5px]',
+ : 'translate-y-[-0.5px]',
)}
/>}
className={className}
diff --git a/src/simulation/PhotoFilmSimulation.tsx b/src/simulation/PhotoFilmSimulation.tsx
index 19bf2466..98029d79 100644
--- a/src/simulation/PhotoFilmSimulation.tsx
+++ b/src/simulation/PhotoFilmSimulation.tsx
@@ -30,7 +30,12 @@ export default function PhotoFilmSimulation({
href={pathForFilmSimulation(simulation)}
icon={}
title={`Film Simulation: ${large}`}
type={type}
diff --git a/src/tag/PhotoTag.tsx b/src/tag/PhotoTag.tsx
index 0d4ae34e..7af59b2b 100644
--- a/src/tag/PhotoTag.tsx
+++ b/src/tag/PhotoTag.tsx
@@ -1,9 +1,9 @@
import { pathForTag } from '@/app/paths';
-import { FaTag } from 'react-icons/fa';
import { formatTag } from '.';
import EntityLink, {
EntityLinkExternalProps,
} from '@/components/primitives/EntityLink';
+import { FiTag } from 'react-icons/fi';
export default function PhotoTag({
tag,
@@ -21,10 +21,7 @@ export default function PhotoTag({
}
+ icon={}
type={type}
className={className}
badged={badged}