All files / web/src/components/blog/heroes TenFramesHero.tsx

0% Statements 0/56
0% Branches 0/1
0% Functions 0/1
0% Lines 0/56

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57                                                                                                                 
'use client'

import { WorksheetTriptychHero, type TriptychPanel } from './WorksheetTriptychHero'

/**
 * Three scaffolding levels for 27 + 14 = 41.
 * Ones-column regrouping (7+4=11) — shows ten-frames on the regrouping column.
 */
const PANELS: TriptychPanel[] = [
  {
    label: 'No Scaffolding',
    description: 'Standard format',
    body: {
      operator: 'addition',
      addend1: 27,
      addend2: 14,
      fontSize: 18,
      showCarryBoxes: false,
      showAnswerBoxes: false,
      showPlaceValueColors: false,
      showTenFrames: false,
    },
  },
  {
    label: 'Carry Boxes + Colors',
    description: 'Track regrouping',
    body: {
      operator: 'addition',
      addend1: 27,
      addend2: 14,
      fontSize: 18,
      showCarryBoxes: true,
      showAnswerBoxes: true,
      showPlaceValueColors: true,
      showTenFrames: false,
    },
  },
  {
    label: 'With Ten-Frames',
    description: 'Visualize the "make ten"',
    body: {
      operator: 'addition',
      addend1: 27,
      addend2: 14,
      fontSize: 18,
      showCarryBoxes: true,
      showAnswerBoxes: true,
      showPlaceValueColors: true,
      showTenFrames: true,
    },
  },
]

export default function TenFramesHero() {
  return <WorksheetTriptychHero panels={PANELS} componentName="ten-frames-hero" />
}