Skip to content

Commit 05ccd86

Browse files
Fix homepage subscription link and create public premium features page for unauthenticated visitors
Co-authored-by: delicatacurtis <247246500+delicatacurtis@users.noreply.github.com>
1 parent e10763f commit 05ccd86

File tree

3 files changed

+333
-7
lines changed

3 files changed

+333
-7
lines changed

resources/views/home.blade.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class="inline-flex items-center px-8 py-4 bg-emerald-600 hover:bg-emerald-700 te
3131
</svg>
3232
Go to Dashboard
3333
</a>
34-
<a href="{{ route('filament.app.tenant') }}/subscription"
34+
<a href="{{ url('/app/subscription') }}"
3535
class="inline-flex items-center px-6 py-4 bg-white hover:bg-gray-50 text-emerald-600 font-semibold rounded-lg border-2 border-emerald-200 hover:border-emerald-300 transition-all duration-200">
3636
✨ Explore Premium Features
3737
</a>
@@ -45,12 +45,9 @@ class="inline-flex items-center px-8 py-4 bg-emerald-600 hover:bg-emerald-700 te
4545
</svg>
4646
Start Free Today
4747
</a>
48-
<a href="{{ route('login') }}"
48+
<a href="{{ route('subscription') }}"
4949
class="inline-flex items-center px-6 py-4 bg-white hover:bg-gray-50 text-emerald-600 font-semibold rounded-lg border-2 border-emerald-200 hover:border-emerald-300 transition-all duration-200">
50-
<svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
51-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"/>
52-
</svg>
53-
Sign In
50+
✨ Explore Premium Features
5451
</a>
5552
</div>
5653

@@ -225,8 +222,12 @@ class="block w-full bg-emerald-600 hover:bg-emerald-700 text-white font-semibold
225222
Start Free Trial
226223
</a>
227224
<p class="text-xs text-gray-500 mt-3">No credit card required</p>
225+
<a href="{{ route('subscription') }}"
226+
class="block w-full mt-2 text-center text-emerald-600 hover:text-emerald-700 text-sm font-medium transition-colors duration-200">
227+
Learn more about premium →
228+
</a>
228229
@else
229-
<a href="{{ route('filament.app.tenant') }}/subscription"
230+
<a href="{{ url('/app/subscription') }}"
230231
class="block w-full bg-emerald-600 hover:bg-emerald-700 text-white font-semibold py-3 px-6 rounded-lg transition-colors duration-200">
231232
Upgrade to Premium
232233
</a>

0 commit comments

Comments
 (0)