Skip to content

Refresh homepage#1938

Open
markrandall wants to merge 13 commits into
php:previewfrom
markrandall:refresh-homepage
Open

Refresh homepage#1938
markrandall wants to merge 13 commits into
php:previewfrom
markrandall:refresh-homepage

Conversation

@markrandall

@markrandall markrandall commented Jun 22, 2026

Copy link
Copy Markdown

Self(ish) contained landing page.

php-landing-v6

Changes since earlier previews:

  • Removed top set of navigation cards until we have more pages in place
  • Swaps out elephpant logo for Levi's PHP logo
  • Changed styling mechanism for light and dark mode using css selectors (not the toggle).
  • Removed large buttons on every card, uses a combination of hover / select effects, with a top-right icon to indicate the whole card is clickable.
  • Used javascript to dynamically resize cards in display: flex so non-full lines will center-align.
  • Wraps backticks in <code>...</code> blocks where applicable.

Areas I'm not quite happy with:

  • Button focus styles.
  • Need to get something better for github logo or update ClickableCard renderer to allow directly injecting SVG.

Notes:

@markrandall markrandall marked this pull request as ready for review June 22, 2026 18:52
@theodorejb

Copy link
Copy Markdown
Contributor

Can the PHP 8.5 feature highlights include <code> tags around attributes (#[\NoDiscard]), functions (clone()), and operators (|>) like the PHP 8.5 release page does for better readability?

@markrandall markrandall reopened this Jun 23, 2026
@markrandall

Copy link
Copy Markdown
Author

Can the PHP 8.5 feature highlights include <code> tags around attributes (#[\NoDiscard]), functions (clone()), and operators (|>) like the PHP 8.5 release page does for better readability?

Done.

…ke strings as an escape hatch a-la dangerouslySetInnerHTML. Use it to highlight code elements in hero page.
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