Skip to content

Commit 50fdd74

Browse files
committed
feat: adds banner
1 parent 98f6935 commit 50fdd74

File tree

5 files changed

+27
-10
lines changed

5 files changed

+27
-10
lines changed
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/www/index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,16 @@
2828
<link rel="preconnect" href="https://fonts.googleapis.com">
2929
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
3030
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap">
31-
<script type="module" crossorigin src="/www/index.86f4dc27.js"></script>
32-
<link rel="stylesheet" href="/www/index-981a7840.css">
31+
<script type="module" crossorigin src="/www/index.363d2fbd.js"></script>
32+
<link rel="stylesheet" href="/www/index-8673ee7d.css">
3333
</head>
3434
<body class="w-full h-screen text-white bg-gray-900">
35+
<div class="w-full py-3 text-center text-white bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900 border-b border-gray-700">
36+
<p>
37+
You are currently viewing documentation for the upcoming release of <span class="font-bold">Pest 4.x</span>.
38+
<a href="https://pestphp.com" class="underline">Click here</a> to view the latest stable version of Pest.
39+
</p>
40+
</div>
3541
<main id="app">
3642
<header class="2xl:min-h-screen md:py-12 flex flex-col items-center justify-center text-center">
3743
<div class="from-gray-200 via-black to-black bg-gradient-to-br flex items-center justify-center rounded-[0.55rem] select-none mt-16 md:mt-0" style="padding:1px">
@@ -192,7 +198,7 @@ <h4 class="lg:text-2xl mt-6 text-xl font-bold">
192198
$response = <span class="text-pink">$this</span><span class="text-gray-400">-></span><span class="text-cyan">get</span>(<span class="text-green">'/'</span>);
193199

194200
<span class="text-cyan">expect</span>($response<span class="text-gray-400">-></span><span class="text-cyan">status</span>())<span class="text-gray-400">-></span><span class="text-cyan">toBe</span>(<span class="text-pink">200</span>);
195-
});</div>
201+
});</pre></div>
196202
</div>
197203
</section>
198204

resources/views/layouts/base.blade.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,19 @@
5353
</head>
5454

5555
<body {{ $attributes->except(['title', 'description']) }}>
56+
<div class="w-full py-3 text-center text-white bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900 border-b border-gray-700">
57+
<p class="mt-0 mb-0">
58+
You are currently viewing documentation for the upcoming release of <span class="font-bold">Pest 4.x</span>.
59+
<a href="https://pestphp.com" class="underline">Click here</a> to view the latest stable version of Pest.
60+
</p>
61+
</div>
5662

57-
{{ $slot }}
63+
{{ $slot }}
5864

59-
{{ $footer ?? "" }}
65+
{{ $footer ?? "" }}
6066

61-
@stack('scripts')
62-
63-
<script src="https://cdn.usefathom.com/script.js" data-site="NYURIQIN" defer></script>
67+
@stack('scripts')
6468

69+
<script src="https://cdn.usefathom.com/script.js" data-site="NYURIQIN" defer></script>
6570
</body>
6671
</html>

resources/www/index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap">
3131
</head>
3232
<body class="w-full h-screen text-white bg-gray-900">
33+
<div class="w-full py-3 text-center text-white bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900 border-b border-gray-700">
34+
<p>
35+
You are currently viewing documentation for the upcoming release of <span class="font-bold">Pest 4.x</span>.
36+
<a href="https://pestphp.com" class="underline">Click here</a> to view the latest stable version of Pest.
37+
</p>
38+
</div>
3339
<main id="app">
3440
<header class="2xl:min-h-screen md:py-12 flex flex-col items-center justify-center text-center">
3541
<div class="from-gray-200 via-black to-black bg-gradient-to-br flex items-center justify-center rounded-[0.55rem] select-none mt-16 md:mt-0" style="padding:1px">
@@ -190,7 +196,7 @@ <h4 class="lg:text-2xl mt-6 text-xl font-bold">
190196
$response = <span class="text-pink">$this</span><span class="text-gray-400">-></span><span class="text-cyan">get</span>(<span class="text-green">'/'</span>);
191197

192198
<span class="text-cyan">expect</span>($response<span class="text-gray-400">-></span><span class="text-cyan">status</span>())<span class="text-gray-400">-></span><span class="text-cyan">toBe</span>(<span class="text-pink">200</span>);
193-
});</div>
199+
});</pre></div>
194200
</div>
195201
</section>
196202

0 commit comments

Comments
 (0)