MCPcopy Create free account
hub / github.com/Noumena-Network/code / getLayoutMode

Function getLayoutMode

src/utils/logoV2Utils.ts:36–39  ·  view source on GitHub ↗
(columns: number)

Source from the content-addressed store, hash-verified

34 * Determines the layout mode based on terminal width
35 */
36export function getLayoutMode(columns: number): LayoutMode {
37 if (columns >= 70) return 'horizontal'
38 return 'compact'
39}
40
41/**
42 * Calculates layout dimensions for the LogoV2 component

Callers 1

LogoV2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected