EN

@core / kit-landing

1.0.1 ▾
verifiedMIT
GitHub

Landing page kit for Next.js: block-built pages, lead forms, cookie banner and consent-gated pixels with dedup

Code14 filesContext~910 tokensscan passed

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

src/app/(landing)/_lib/load.tsread-only · f730e59
import '@/genpm';
import { draftMode } from 'next/headers';
import { getEntry } from '@/lib/content';
import type { LandingData } from './landings';

export async function loadLanding(slug: string) {
  const { isEnabled } = await draftMode();
  return getEntry<LandingData>('landings', slug, { draft: isEnabled });
}

Report @core/kit-landing

Sign in with GitHub to report a package.