Skip to content

Commit 836ec89

Browse files
simonhampclaude
andcommitted
Add "New" badge to Support nav links and update docs callout on /support
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2f8d4fc commit 836ec89

4 files changed

Lines changed: 14 additions & 5 deletions

File tree

resources/views/components/footer.blade.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,10 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
255255
href="{{ route('support.index') }}"
256256
class="inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
257257
>
258-
Support
258+
<span class="inline-flex items-center gap-1.5">
259+
Support
260+
<span class="rounded-full bg-emerald-500 px-1.5 py-px text-[10px] font-bold leading-tight text-white">New</span>
261+
</span>
259262
</a>
260263
</li>
261264
<li>

resources/views/components/navbar/mobile-menu.blade.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,10 @@ class="size-4 shrink-0"
291291
/>
292292
@endif
293293

294-
<div>Support</div>
294+
<div class="inline-flex items-center gap-2">
295+
Support
296+
<span class="rounded-full bg-emerald-500 px-1.5 py-px text-[10px] font-bold leading-tight text-white">New</span>
297+
</div>
295298
</a>
296299
</div>
297300

resources/views/components/navigation-bar.blade.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,10 @@ class="size-[3px] rotate-45 rounded-xs bg-gray-400 transition duration-200 dark:
200200
])
201201
aria-current="{{ request()->routeIs('support.*') ? 'page' : 'false' }}"
202202
>
203-
Support
203+
<span class="inline-flex items-center gap-1.5">
204+
Support
205+
<span class="rounded-full bg-emerald-500 px-1.5 py-px text-[10px] font-bold leading-tight text-white">New</span>
206+
</span>
204207
</a>
205208

206209
{{-- Login/Logout --}}

resources/views/support/index.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
{{-- Additional Support Information --}}
1313
<div class="my-10 rounded-xl bg-gradient-to-br from-[#FFF0DC] to-[#E8EEFF] p-8 dark:from-blue-900/10 dark:to-[#4c407f]/25">
14-
<h2 class="mb-4 text-2xl font-medium">Need more help?</h2>
14+
<h2 class="mb-4 text-2xl font-medium">Read the docs</h2>
1515
<p class="text-lg text-gray-700 dark:text-gray-300">
16-
Check out our <a href="/docs" class="font-medium text-violet-600 hover:text-violet-700 dark:text-violet-400 dark:hover:text-violet-300">documentation</a> for comprehensive guides and tutorials to help you get the most out of NativePHP.
16+
Before reaching out for help, take a look through our <a href="/docs" class="font-medium text-violet-600 hover:text-violet-700 dark:text-violet-400 dark:hover:text-violet-300">documentation</a>. It's concise by design &mdash; you can read the whole thing in under an hour &mdash; and most questions are answered there.
1717
</p>
1818
</div>
1919

0 commit comments

Comments
 (0)