diff --git a/src/img/opencast-editor.svg b/public/opencast-editor.svg similarity index 100% rename from src/img/opencast-editor.svg rename to public/opencast-editor.svg diff --git a/src/main/Header.tsx b/src/main/Header.tsx index c87811a9b..acf0fc1c8 100644 --- a/src/main/Header.tsx +++ b/src/main/Header.tsx @@ -12,7 +12,6 @@ import { LuKeyboard } from "react-icons/lu"; import { MainMenuStateNames } from "../types"; import { basicButtonStyle, BREAKPOINT_MEDIUM, BREAKPOINT_SMALL } from "../cssStyles"; -import LogoSvg from "../img/opencast-editor.svg?react"; import { selectIsEnd } from "../redux/endSlice"; import { checkboxMenuItem, HeaderMenuItemDef, ProtoButton, useColorScheme, WithHeaderMenu } from "@opencast/appkit"; import { IconType } from "react-icons"; @@ -92,6 +91,23 @@ function Header() { ); } +const LogoPicture: React.FC = () => { + const path = (filename:string) => import.meta.env.BASE_URL + filename; + return ( +