diff --git a/resources/views/components/header-news-bar.blade.php b/resources/views/components/header-news-bar.blade.php index 4b2506d9..793d5ff5 100644 --- a/resources/views/components/header-news-bar.blade.php +++ b/resources/views/components/header-news-bar.blade.php @@ -1,9 +1,9 @@ - +@php + $news = ['nova', 'forge', 'vapor', 'herd', 'pulse', 'reverb', 'laracon', 'laracon-au']; +@endphp - diff --git a/resources/views/partials/layout.blade.php b/resources/views/partials/layout.blade.php index 9bc24400..49dce5c2 100644 --- a/resources/views/partials/layout.blade.php +++ b/resources/views/partials/layout.blade.php @@ -85,6 +85,7 @@ navIsOpen: false, }" class="w-full h-full font-sans antialiased text-gray-900 language-php" + data-instant-intensity="0" > @yield('content') diff --git a/routes/web.php b/routes/web.php index d5464a16..b26640cc 100644 --- a/routes/web.php +++ b/routes/web.php @@ -10,22 +10,6 @@ define('DEFAULT_VERSION', '11.x'); } -if (! defined('SHOW_VAPOR')) { - define('SHOW_VAPOR', random_int(1, 2) === 1); -} - -if (! defined('SHOW_PROMO')) { - $int = random_int(1, 3); - - if ($int === 1) { - define('SHOW_PROMO', 'FORGE'); - } elseif ($int === 2) { - define('SHOW_PROMO', 'VAPOR'); - } elseif ($int === 3) { - define('SHOW_PROMO', 'PARTNERS'); - } -} - Route::get('docs', [DocsController::class, 'showRootPage']); Route::get('docs/cashier', function () {