package main import ( "bytes" "context" ) // KindergartenCardBlock renders a soft cream card with a 4px primary-colored // top stripe (spec ยง9). // // Content shape: {"title": "...", "body": "...", "class": "..."}. The body // is rendered as raw HTML so it can host inline formatting. func KindergartenCardBlock(ctx context.Context, content map[string]any) string { title := getString(content, "title") body := getString(content, "body") class := getString(content, "class") var buf bytes.Buffer _ = kgCardComponent(title, body, class).Render(ctx, &buf) return buf.String() }