Author: Sergey Panteleev (saundefined)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2024-11-21T12:19:09+03:00

Commit: 
https://github.com/php/web-php/commit/6c604f1335506debcbd890308d75ae6f1c1f325b
Raw diff: 
https://github.com/php/web-php/commit/6c604f1335506debcbd890308d75ae6f1c1f325b.diff

PHP 8.4 announcement page (#1124)

Changed paths:
  M  include/layout.inc
  M  index.php


Diff:

diff --git a/include/layout.inc b/include/layout.inc
index 86969807e7..b3dc6dbfa9 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -508,10 +508,10 @@ function get_nav_items(): array {
       id: 'help',
     ),
     new NavItem(
-      name: 'PHP 8.3',
-      href: '/releases/8.3/index.php',
+      name: 'PHP 8.4',
+      href: '/releases/8.4/index.php',
       id: 'php8',
-      image: '/images/php8/logo_php8_3.svg',
+      image: '/images/php8/logo_php8_4.svg',
     )
   ];
 }
diff --git a/index.php b/index.php
index 06c0add468..4fae143de9 100644
--- a/index.php
+++ b/index.php
@@ -96,7 +96,7 @@
     <img class="hero__logo" src="/images/logos/php-logo-white.svg" alt="php" 
width="240" height="120">
     <p class="hero__text">A <strong>popular general-purpose scripting 
language</strong> that is especially suited to web development.<br />Fast, 
flexible and pragmatic, PHP powers everything from your blog to the most 
popular websites in the world.</p>
     <div class="hero__actions">
-      <a href="/releases/8.3/index.php" class="hero__btn 
hero__btn--primary">What's new in 8.3</a>
+      <a href="/releases/8.4/index.php" class="hero__btn 
hero__btn--primary">What's new in 8.4</a>
       <a href="/downloads.php" class="hero__btn 
hero__btn--secondary">Download</a>
     </div>
 EOF;

Reply via email to