{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "One customer quote of TestimonialGrid: a card, a plain figure or a social post, with the author's picture, the stars and a company glyph as `item` says.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{* Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/quote-card.json\n    One customer quote of TestimonialGrid: a card, a plain figure or a social post, with the author's picture, the stars and a company glyph as `item` says.\n    Props (p): q, labels, item, layout. *}\n{var $v_q = ($p['q'] ?? null)}\n{var $v_labels = ($p['labels'] ?? null)}\n{var $v_item = ($p['item'] ?? null)}\n{var $v_layout = ($p['layout'] ?? 'grid')}\n{capture $c_12}\n  {if og_t(og_eq(og_get($v_item, ['kind']), 'social'))}\n    {capture $c_4}\n      {if og_t(!(og_eq(og_get($v_item, ['avatar']), 'none')))}\n        {=og_include('blocks/media-frame.latte', ['p' => ['alt' => og_get($v_q, ['author']), 'src' => og_get($v_q, ['image']), 'ratio' => '1/1', 'className' => og_cnv(['size-12 shrink-0 rounded-full'])]])|noescape}\n      {/if}\n      {capture $c_3}\n        {capture $c_1}\n          {=og_text(og_get($v_q, ['author']))}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_1])|noescape}\n        {capture $c_2}\n          {=og_text(og_tpl(og_get($v_labels, ['handleLine']), [og_get($v_q, ['handle']), og_get($v_q, ['time'])]))}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}\n      {/capture}\n      {=og_include('compose/Stack.latte', ['gap' => '0', 'children' => (string) $c_3])|noescape}\n      {=og_include('icons/LucideIcon.latte', ['name' => 'message-circle', 'size' => 16, 'class' => 'ml-auto text-muted-foreground'])|noescape}\n    {/capture}\n    {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'center', 'children' => (string) $c_4])|noescape}\n    {capture $c_5}\n      {=og_text(og_get($v_q, ['quote']))}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => 'base', 'children' => (string) $c_5])|noescape}\n  {else}\n    {if og_t(!(og_eq(og_get($v_item, ['rating']), 'hide')))}\n      {=og_include('blocks/rating.latte', ['p' => ['value' => og_get($v_q, ['rating']), 'label' => og_tpl(og_get($v_labels, ['rating']), [og_get($v_q, ['rating'])])]])|noescape}\n    {/if}\n    {if og_t(og_eq(og_get($v_item, ['mark']), 'icon'))}\n      {capture $c_6}\n        {=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_q, ['mark'])), 'size' => 24])|noescape}\n      {/capture}\n      {=og_include('compose/Inline.latte', ['class' => 'text-muted-foreground', 'attrs' => og_attrs(['data-slot', 'mark']), 'children' => (string) $c_6])|noescape}\n    {/if}\n    {capture $c_7}\n      {=og_text(og_get($v_q, ['quote']))}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => og_s((og_t(og_eq($v_layout, 'single')) ? 'xl' : 'base')), 'children' => (string) $c_7])|noescape}\n    {capture $c_11}\n      {if og_t(!(og_eq(og_get($v_item, ['avatar']), 'none')))}\n        {=og_include('blocks/media-frame.latte', ['p' => ['alt' => og_get($v_q, ['author']), 'src' => og_get($v_q, ['image']), 'ratio' => '1/1', 'className' => og_cnv(['size-12 shrink-0 rounded-full'])]])|noescape}\n      {/if}\n      {capture $c_10}\n        {capture $c_8}\n          {=og_text(og_get($v_q, ['author']))}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_8])|noescape}\n        {capture $c_9}\n          {=og_text(og_tpl(og_get($v_labels, ['byLine']), [og_get($v_q, ['role']), og_get($v_q, ['company'])]))}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_9])|noescape}\n      {/capture}\n      {=og_include('compose/Stack.latte', ['gap' => '0', 'children' => (string) $c_10])|noescape}\n    {/capture}\n    {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'center', 'children' => (string) $c_11])|noescape}\n  {/if}\n{/capture}\n{=og_include('blocks/figure-block.latte', ['p' => ['className' => og_cnv([og_cnv(['m-0 flex flex-col gap-4', (og_t(og_eq(og_get($v_item, ['kind']), 'plain')) ? '' : 'rounded p-6 inset-ring inset-ring-border bg-card'), (og_t(og_eq($v_layout, 'masonry')) ? 'mb-4 break-inside-avoid' : (og_t(og_eq($v_layout, 'strip')) ? 'w-80 shrink-0 snap-start' : 'h-full'))])]), 'testid' => 'item'], 'children' => og_markup($c_12)])|noescape}\n",
      "path": "blocks/quote-card.latte",
      "target": "blocks/quote-card.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "quote-card",
  "registryDependencies": [
    "figure-block",
    "group",
    "inline",
    "lucide-icon",
    "media-frame",
    "rating",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "latte",
  "title": "Quote Card",
  "type": "registry:component"
}
