INNER CODE UNIT · TypeScript

nid

ParthJadhav/app-store-screenshots · skills/app-store-screenshots/template/src/lib/defaults.ts:6

export const nid = () => `s_${Date.now().toString(36)}_${(_id++).toString(36)}`;

const en = (s: string) => ({ [DEFAULT_LOCALE]: s });

function makeStarterSlides(): Slide[] {
  return [
    {
      id: nid(),
      layout: "hero",
      label: en("MEET YOUR APP"),
      headline: en("Sell one\nidea per slide."),
      screenshot: "",
    },
    {
      id: nid(),
      layout: "device-bottom",
      label: en("FEATURE 01"),
      headline: en("Your headline\nlives here."),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…