FPSMS-frontend
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

15 righe
522 B

  1. import { isPoWorkbenchRoute } from "@/app/(main)/isPoWorkbenchRoute";
  2. /** MTMS route board (`/settings/shop/board`). */
  3. export function isRouteBoardRoute(pathname: string | null): boolean {
  4. if (!pathname) {
  5. return false;
  6. }
  7. return pathname === "/settings/shop/board";
  8. }
  9. /** Routes that use the full viewport under the AppBar (no main padding / min-h-screen gap). */
  10. export function isFullBleedMainRoute(pathname: string | null): boolean {
  11. return isPoWorkbenchRoute(pathname) || isRouteBoardRoute(pathname);
  12. }