{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A personal about section beside a portrait: key facts or skills.",
  "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/about-me.json\n    A personal about section beside a portrait: a badge, the heading, a lead, then key facts and a list of specialities, or skill chips and expertise bars, and one or two links. Axes: layout (facts, skills), mediaSide, tone.\n    Props (p): id, title, lead, badge, level, facts, skills, labels, actions, layout, mediaSide, tone, image, imageAlt, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_lead = (p.lead ?? '') -%}\n{%- set v_badge = (p.badge ?? '') -%}\n{%- set v_level = (p.level ?? 1) -%}\n{%- set v_facts = (p.facts ?? null) -%}\n{%- set v_skills = (p.skills ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set v_actions = (p.actions ?? null) -%}\n{%- set v_layout = (p.layout ?? 'facts') -%}\n{%- set v_mediaSide = (p.mediaSide ?? 'start') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_image = (p.image ?? null) -%}\n{%- set v_imageAlt = (p.imageAlt ?? null) -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set f_10 -%}\n  {{ include('blocks/media-frame.html.twig', {'p': {'alt': (og_t(v_imageAlt) ? v_imageAlt : v_title), 'src': v_image, 'ratio': '3/4'}}, with_context = false) }}\n{%- endset -%}\n{%- set c_11 -%}\n  {%- if og_t(og_eq(v_layout, 'facts')) %}\n    {%- if og_t(og_gt(og_len(v_facts), 0)) %}\n      {%- set c_4 -%}\n        {%- for v_f in og_l(v_facts) %}\n          {%- set c_3 -%}\n            {%- set c_1 -%}\n              {{ og_text(og_get(v_f, ['label'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_1}, with_context = false) }}\n            {%- set c_2 -%}\n              {{ og_text(og_get(v_f, ['value'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_2}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/ListItem.html.twig', {'class': 'rounded bg-card inset-ring inset-ring-border flex flex-col gap-0 p-4', 'attrs': og_attrs(['data-slot', 'fact']), 'children': c_3}, with_context = false) }}\n        {%- endfor %}\n      {%- endset -%}\n      {{ include('compose/List.html.twig', {'tag': 'ul', 'class': 'grid grid-cols-1 gap-4 sm:grid-cols-2', 'attrs': og_attrs(['data-slot', 'facts']), 'children': c_4}, with_context = false) }}\n    {%- endif %}\n  {%- elseif og_t(og_gt(og_len(v_skills), 0)) %}\n    {%- set c_9 -%}\n      {%- for v_s in og_l(v_skills) %}\n        {%- set c_8 -%}\n          {%- set c_7 -%}\n            {%- set c_5 -%}\n              {{ og_text(og_get(v_s, ['label'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_5}, with_context = false) }}\n            {%- set c_6 -%}\n              {{ og_text(og_tpl(og_get(v_labels, ['level']), [og_get(v_s, ['level'])])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_6}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Group.html.twig', {'gap': '4', 'justify': 'between', 'children': c_7}, with_context = false) }}\n          {{ include('compose/Progress.html.twig', {'value': og_s(og_str(og_get(v_s, ['level']))), 'max': '100', 'attrs': og_attrs(['aria-label', og_get(v_s, ['label'])])}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Stack.html.twig', {'gap': '2', 'align': 'stretch', 'attrs': og_attrs(['data-slot', 'skill']), 'children': c_8}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'stretch', 'attrs': og_attrs(['data-slot', 'skills']), 'children': c_9}, with_context = false) }}\n  {%- endif %}\n  {{ include('blocks/action-group.html.twig', {'p': {'primary': og_get(v_actions, ['cta']), 'primaryHref': og_get(v_actions, ['href']), 'secondary': (og_t(og_eq(og_get(v_actions, ['mode']), 'two')) ? og_get(v_actions, ['secondary']) : null), 'secondaryHref': og_get(v_actions, ['secondaryHref'])}}, with_context = false) }}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'lead': v_lead, 'heading': {'badge': v_badge, 'level': v_level}, 'layout': 'split', 'media': {'show': true, 'side': v_mediaSide}, 'tone': v_tone, 'landmarkLabel': v_landmarkLabel, 'aside': og_markup(f_10)}, 'children': og_markup(c_11)}, with_context = false) }}\n",
      "path": "blocks/about-me.html.twig",
      "target": "blocks/about-me.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "company",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "about-me",
  "registryDependencies": [
    "action-group",
    "group",
    "list",
    "list-item",
    "media-frame",
    "progress",
    "section-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "About Me",
  "type": "registry:block"
}
