We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f5511 commit 39c9e80Copy full SHA for 39c9e80
frontend/src/components/Logo/Logo.tsx
@@ -1,6 +1,9 @@
1
import { Button, Card, useDialog } from "@maykin-ui/admin-ui";
2
import { useCallback } from "react";
3
4
+// eslint-disable-next-line import/no-unresolved
5
+import logoUrl from "/logo.svg";
6
+
7
export type LogoProps = {
8
width?: number | string;
9
withDialog?: boolean;
@@ -36,5 +39,5 @@ export function Logo({ width = 128, withDialog = false }: LogoProps) {
36
39
* Purely the image of the logo, without any interactivity.
37
40
*/
38
41
function LogoImage({ width }: { width: number | string }) {
- return <img src="/logo.svg" alt="Open Archiefbeheer Logo" width={width} />;
42
+ return <img src={logoUrl} alt="Open Archiefbeheer Logo" width={width} />;
43
}
0 commit comments