Created
May 5, 2026 00:08
-
-
Save codigoconjuan/c2a546fa4c6226a346378c6b435272fb to your computer and use it in GitHub Desktop.
Componente que muestra tipo de Cuenta de Usuario desde CashTrackr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @if (auth()->user()->isOnYearlyPlan()) | |
| <p class="border-2 text-lg border-amber-500 rounded-lg text-amber-500 py-2 px-5 font-black">PRO Anual</p> | |
| @elseif (auth()->user()->isOnMonthlyPlan()) | |
| <p class="border-2 text-lg border-amber-500 rounded-lg text-amber-500 py-2 px-5 font-black">PRO Mensual</p> | |
| @else | |
| <a class="border-2 text-lg border-amber-500 rounded-lg text-amber-500 py-2 px-5 font-black" href="{{ route('plans') }}">Suscribirse a PRO</a> | |
| @endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment