INNER CODE UNIT · TypeScript

frameUrl

bryllim/workout-guide · apps/site/src/lib/paths.ts:9

export function frameUrl(slug: string, frame: ExerciseFrame | number) {
  const index = typeof frame === 'number' ? frame : frame.index;
  return withBase(`frames/${slug}/frame-${index}.svg`);
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…