FPSMS-frontend
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

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