EN

@core / kit-cms

1.0.3 ▾
verifiedMIT
GitHub

Self-managed website kit for Next.js: /admin to edit pages with blocks, media, menus, settings, forms and users

Code39 filesContext~2K tokensscan passed

The exact tree that will be injected, after .genpmignore. Pinned to

src/app/(cms)/_components/site-chrome.tsxread-only · e44820b
'use client';
// Cabecera y pie del sitio fuera del panel: el layout raíz envuelve también /admin, y el panel tiene su propia navegación.
import { usePathname } from 'next/navigation';
import type { ReactNode } from 'react';

export function SiteChrome({ children }: { children: ReactNode }) {
  const path = usePathname() ?? '';
  return path === '/admin' || path.startsWith('/admin/') ? null : children;
}

Report @core/kit-cms

Sign in with GitHub to report a package.