diff --git a/src/components/resolvedicon.jsx b/src/components/resolvedicon.jsx index 2a3701e8..3dad2b0e 100644 --- a/src/components/resolvedicon.jsx +++ b/src/components/resolvedicon.jsx @@ -1,9 +1,9 @@ import Image from "next/future/image"; -export default function ResolvedIcon({ icon }) { +export default function ResolvedIcon({ icon, width = 32, height = 32 }) { // direct or relative URLs if (icon.startsWith("http") || icon.startsWith("/")) { - return logo; + return logo; } // mdi- prefixed, material design icons @@ -12,8 +12,8 @@ export default function ResolvedIcon({ icon }) { return (
); diff --git a/src/components/widgets/logo/logo.jsx b/src/components/widgets/logo/logo.jsx index 198944b9..96e8569f 100644 --- a/src/components/widgets/logo/logo.jsx +++ b/src/components/widgets/logo/logo.jsx @@ -1,56 +1,62 @@ -export default function Logo() { +import ResolvedIcon from "components/resolvedicon" + +export default function Logo({ options }) { return (
- - - - - - : + // fallback to homepage logo + + + + - + + + + - - - - + + + }
- ); + ) }