import { Panel } from "@/app/interface/panel" import { pick } from "@/lib/pick" export function Layout1() { return (
) } export function Layout2() { return (
) } export function Layout3() { return (
) } export function Layout4() { return (
) } export function Layout5() { return (
) } export function Layout6() { return (
) } // export const layouts = { Layout1, Layout2, Layout3, Layout4, Layout5, Layout6 } export const layouts = { Layout1, Layout4, Layout6 } export type LayoutName = keyof typeof layouts export function getRandomLayoutName(): LayoutName { return pick(Object.keys(layouts) as LayoutName[]) as LayoutName }