Skip to content

AI landing page - Make h1 a single string - #51542

Merged
kelbyhawn merged 1 commit into
stagingfrom
ai-page-h1-string
Apr 26, 2023
Merged

AI landing page - Make h1 a single string#51542
kelbyhawn merged 1 commit into
stagingfrom
ai-page-h1-string

Conversation

@kelbyhawn

Copy link
Copy Markdown
Contributor

Make the h1 on https://code.org/ai a single translatable string instead of two strings — it was originally two strings for a visual line break for dramatic effect, but it's better to have it as one string and the line still breaks where we want it to on desktop.

Related comment: #51191 (comment)


Desktop

Desktop

Tablet

Tablet

Mobile

Mobile

@kelbyhawn
kelbyhawn requested a review from a team as a code owner April 26, 2023 17:29
@kelbyhawn
kelbyhawn requested review from a team and dmcavoy April 26, 2023 17:29

@megcrenshaw megcrenshaw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hurray! More accessible, easier translation, and still looks good!

@kelbyhawn
kelbyhawn merged commit 1830478 into staging Apr 26, 2023
@kelbyhawn
kelbyhawn deleted the ai-page-h1-string branch April 26, 2023 19:28
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.

2 participants