Skip to content

imageTextBlock: optional square image + host subheading#4783

Draft
isaaclombardssw wants to merge 1 commit into
feature/ai-for-business-leaders-event-pagefrom
feature/imagetextblock-square-subheading
Draft

imageTextBlock: optional square image + host subheading#4783
isaaclombardssw wants to merge 1 commit into
feature/ai-for-business-leaders-event-pagefrom
feature/imagetextblock-square-subheading

Conversation

@isaaclombardssw

Copy link
Copy Markdown
Member

Closes #4780

Adds two opt-in, reusable fields to imageTextBlock, from Tiago's feedback on the host (Mike Smedley) section (PR #4760, items #13 + #14):

  • Home Page - Make it look like the existing one #13 square image — new squareImage boolean on mediaConfiguration; when on, the image is cropped to 1:1 (aspect-square object-cover). Off by default, so no other image changes.
  • #5 Consulting - format markdown body #14 host subheading — new subheading string on imageTextBlock, rendered uppercase in sswRed under the heading. The host's role line ("SSW · AI Engagement Lead · Melbourne") moves out of the body into it.

Both are applied to the host block on the event page.

Stacked on feature/ai-for-business-leaders-event-page (base), because the host block these enhance lives there — it'll retarget to main once #4760 merges. Schema changed, so tina/tina-lock.json is regenerated in this PR.

Open decisions for Tiago: square (1:1) vs another portrait ratio for the host photo; subheading styling (currently uppercase sswRed).

Preflight reviewed twice; lint clean; verified rendering on /events/ai-for-business-leaders.

- New `squareImage` boolean on mediaConfiguration -> crops the image to 1:1
  (aspect-square object-cover), off by default.
- New `subheading` field on imageTextBlock, rendered uppercase sswRed under the
  heading.
- Apply both to the Mike Smedley host block (square photo; role line moved out
  of the body into the subheading).

Addresses Tiago's design feedback (#13, #14).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant