diff --git a/tavla/app/components/PreviewCarousel/index.tsx b/tavla/app/components/PreviewCarousel/index.tsx index 18dc488ce..9b9920da4 100644 --- a/tavla/app/components/PreviewCarousel/index.tsx +++ b/tavla/app/components/PreviewCarousel/index.tsx @@ -76,7 +76,7 @@ function PreviewCarousel({ boards }: { boards: TBoard[] }) { data-theme={currentBoard.theme ?? 'dark'} >
{ if (phase === PHASE_DEVELOPMENT_SERVER) { nextConfig.images.remotePatterns.push({ diff --git a/tavla/src/Board/scenarios/Board/index.tsx b/tavla/src/Board/scenarios/Board/index.tsx index a3b835d5e..96b60f85e 100644 --- a/tavla/src/Board/scenarios/Board/index.tsx +++ b/tavla/src/Board/scenarios/Board/index.tsx @@ -4,7 +4,6 @@ import { StopPlaceTile } from '../StopPlaceTile' import { QuayTile } from '../QuayTile' import { Tile } from 'components/Tile' import { defaultFontSize, getFontScale } from 'Board/scenarios/Board/utils' -import { CSSProperties } from 'react' function BoardTile({ tileSpec }: { tileSpec: TTile }) { switch (tileSpec.type) { @@ -15,7 +14,7 @@ function BoardTile({ tileSpec }: { tileSpec: TTile }) { } } -function Board({ board, style }: { board: TBoard; style?: CSSProperties }) { +function Board({ board }: { board: TBoard }) { if (!board.tiles || !board.tiles.length) return ( @@ -28,9 +27,6 @@ function Board({ board, style }: { board: TBoard; style?: CSSProperties }) { className={`max-sm:overflow-y-scroll grid grid-cols-auto-fit-minmax gap-2.5 h-full overflow-hidden supports-[not(display:grid)]:flex supports-[not(display:grid)]:*:m-2.5 ${getFontScale( board.meta?.fontSize || defaultFontSize(board), )} `} - style={{ - ...style, - }} > {board.tiles.map((tile, index) => { return diff --git a/tavla/src/Shared/components/Header/index.tsx b/tavla/src/Shared/components/Header/index.tsx index d323c5b4b..a3cbe089a 100644 --- a/tavla/src/Shared/components/Header/index.tsx +++ b/tavla/src/Shared/components/Header/index.tsx @@ -3,26 +3,18 @@ import TavlaLogoBlue from 'assets/logos/Tavla-blue.svg' import Image from 'next/image' import { TLogo, TTheme } from 'types/settings' import { Clock } from 'components/Clock' -import classNames from 'classnames' function Header({ theme, - className, organizationLogo, }: { theme?: TTheme - className?: string organizationLogo?: TLogo | null }) { const tavlaLogo = theme === 'light' ? TavlaLogoBlue : TavlaLogoWhite return ( -
+
- {text} - {external ? : } - - ) -} - -export { SecondaryLink }