diff --git a/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx b/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx index befd802c5..69b39a38a 100644 --- a/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx +++ b/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx @@ -13,7 +13,7 @@ import { ModalProvider } from "@homarr/modals"; import { MainHeader } from "~/components/layout/header"; import { appShellLogoHeight } from "~/components/layout/constants"; -import { BoardLogo, BoardLogoWithName, BoardLogoWithTitle } from "~/components/layout/logo/board-logo"; +import { BoardLogo, BoardLogoWithTitle } from "~/components/layout/logo/board-logo"; import { ClientShell } from "~/components/layout/shell"; import { BoardTourGate } from "~/components/onboarding/board-tour-gate"; import { env } from "~/env"; @@ -112,7 +112,6 @@ export const createBoardLayout = ({ } logoWithTitle={} - mobileLogoWithTitle={} actions={headerActions} boardEditAction={headerBoardEditAction} boardSettingsAction={headerBoardSettingsAction} diff --git a/apps/nextjs/src/components/layout/header.tsx b/apps/nextjs/src/components/layout/header.tsx index d47896097..b35d4f686 100644 --- a/apps/nextjs/src/components/layout/header.tsx +++ b/apps/nextjs/src/components/layout/header.tsx @@ -10,7 +10,6 @@ import { HomarrLogo, HomarrLogoWithTitle } from "./logo/homarr-logo"; interface Props { logo?: ReactNode; logoWithTitle?: ReactNode; - mobileLogoWithTitle?: ReactNode; actions?: ReactNode; boardEditAction?: ReactNode; boardSettingsAction?: ReactNode; @@ -20,7 +19,6 @@ interface Props { export const MainHeader = async ({ logo, logoWithTitle, - mobileLogoWithTitle, actions, boardEditAction, boardSettingsAction, @@ -35,7 +33,6 @@ export const MainHeader = async ({ } logoWithTitle={resolvedLogoWithTitle} - mobileLogoWithTitle={mobileLogoWithTitle ?? resolvedLogoWithTitle} actions={actions} boardEditAction={boardEditAction} boardSettingsAction={boardSettingsAction} diff --git a/apps/nextjs/src/components/layout/header/configurable-header.tsx b/apps/nextjs/src/components/layout/header/configurable-header.tsx index 48457f357..cdbd10f3f 100644 --- a/apps/nextjs/src/components/layout/header/configurable-header.tsx +++ b/apps/nextjs/src/components/layout/header/configurable-header.tsx @@ -38,7 +38,6 @@ import classes from "./configurable-header.module.css"; interface ConfigurableHeaderProps { logo: ReactNode; logoWithTitle: ReactNode; - mobileLogoWithTitle: ReactNode; actions?: ReactNode; boardEditAction?: ReactNode; boardSettingsAction?: ReactNode; @@ -57,7 +56,6 @@ const floatingControlsDismissDelayMs = 900; export const ConfigurableHeader = ({ logo, logoWithTitle, - mobileLogoWithTitle, actions, boardEditAction, boardSettingsAction, @@ -136,12 +134,7 @@ export const ConfigurableHeader = ({
{hasNavigation ? : null} - + {actions} diff --git a/apps/nextjs/src/components/layout/logo/board-logo.tsx b/apps/nextjs/src/components/layout/logo/board-logo.tsx index b3d3fadd1..dfa9daf28 100644 --- a/apps/nextjs/src/components/layout/logo/board-logo.tsx +++ b/apps/nextjs/src/components/layout/logo/board-logo.tsx @@ -44,9 +44,3 @@ export const BoardLogoWithTitle = ({ size, hideTitleOnMobile }: CommonLogoWithTi /> ); }; - -export const BoardLogoWithName = ({ size }: Pick) => { - const board = useRequiredBoard(); - const imageOptions = useImageOptions(); - return ; -};