Skip to content

Commit 39c9e80

Browse files
committed
🚧 [#738] Bundle logo in build
1 parent 81f5511 commit 39c9e80

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/components/Logo/Logo.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { Button, Card, useDialog } from "@maykin-ui/admin-ui";
22
import { useCallback } from "react";
33

4+
// eslint-disable-next-line import/no-unresolved
5+
import logoUrl from "/logo.svg";
6+
47
export type LogoProps = {
58
width?: number | string;
69
withDialog?: boolean;
@@ -36,5 +39,5 @@ export function Logo({ width = 128, withDialog = false }: LogoProps) {
3639
* Purely the image of the logo, without any interactivity.
3740
*/
3841
function LogoImage({ width }: { width: number | string }) {
39-
return <img src="/logo.svg" alt="Open Archiefbeheer Logo" width={width} />;
42+
return <img src={logoUrl} alt="Open Archiefbeheer Logo" width={width} />;
4043
}

0 commit comments

Comments
 (0)