File size: 255 Bytes
5dd2af5
 
 
 
 
 
1
2
3
4
5
6
7
import { getValidNumber } from "./lib/getValidNumber"

export const MAX_NB_PAGES = getValidNumber(process.env.NEXT_PUBLIC_MAX_NB_PAGES, 1, 2, 1)

// TODO: this one should be dynamic and depend upon the page layout type
export const NB_PANELS_PER_PAGE = 4