FPSMS-frontend
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

15 linhas
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. }