Skip to content

Unify design of all release pages#1916

Open
theodorejb wants to merge 4 commits into
php:masterfrom
theodorejb:unify-release-page-design
Open

Unify design of all release pages#1916
theodorejb wants to merge 4 commits into
php:masterfrom
theodorejb:unify-release-page-design

Conversation

@theodorejb

@theodorejb theodorejb commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Updates the design of the PHP 8.0-8.4 release pages to match PHP 8.5, with dark mode support, syntax highlighting of variables in code blocks, and other design improvements. Release pages prior to 8.5 still lack the Key Features section.

Also moved to functions for rendering the hero section, feature comparisons, and footer, to avoid duplicating huge amounts of markup and simplify maintaining consistent styling.

No content has been changed, except for fixing unnecessary blank lines at the start and end of the "Command line linter supports multiple files" code blocks on the PHP 8.3 release page.

Builds on top of #1914, so that should be merged first.

This improves readability (particularly on smaller screens), since code blocks with overflow can be easily scrolled horizontally to read longer lines, rather than trying to visually parse code with line breaks in unintended places (which can even appear as invalid syntax when a line break is in the middle of a token).
This is possible on the previous release pages, but for some reason wasn't implemented for PHP 8.5.
Enables dark mode, syntax highlighting of variables, and unified design for all release pages. Release pages prior to 8.5 still lack the Key Features section.

Also moved to functions for rendering hero section, feature comparisons, and footer, to avoid duplicating huge amounts of markup and simplify maintaining consistent styling.

No content has been changed, except for fixing unnecessary blank lines at the start & end of the "Command line linter supports multiple files" code blocks on the PHP 8.3 release page.
Also fixed inconsistent I18N language spelling on the PHP 8.4 release page.
@theodorejb theodorejb changed the title Unify design of all release pages. Unify design of all release pages Jun 10, 2026
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