Marketing: route registration to checkout

This commit is contained in:
Codex Agent
2026-01-06 08:36:55 +01:00
parent 34eb2b94b3
commit f89f6d6223
14 changed files with 105 additions and 328 deletions

View File

@@ -89,7 +89,7 @@
@endforeach
@endif
</ul>
<a href="{{ route('register', ['package_id' => $package->id]) }}" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-md text-center font-semibold transition duration-300">
<a href="{{ route('packages', ['locale' => request()->route('locale') ?? app()->getLocale(), 'package_id' => $package->id]) }}" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-md text-center font-semibold transition duration-300">
{{ __('marketing.packages.register_buy') }}
</a>
</div>
@@ -138,7 +138,7 @@
@endforeach
@endif
</ul>
<a href="{{ route('register', ['package_id' => $package->id]) }}" class="w-full bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded-md text-center font-semibold transition duration-300">
<a href="{{ route('packages', ['locale' => request()->route('locale') ?? app()->getLocale(), 'package_id' => $package->id]) }}" class="w-full bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded-md text-center font-semibold transition duration-300">
{{ __('marketing.packages.register_subscribe') }}
</a>
</div>

View File

@@ -48,9 +48,6 @@
<a href="{{ route('login') }}" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-md font-medium transition duration-300 block mb-2">
{{ __('auth.login') }}
</a>
<p class="text-sm text-gray-600">
{{ __('auth.no_account') }} <a href="{{ route('register') }}" class="text-blue-600 hover:text-blue-500">{{ __('auth.register') }}</a>
</p>
</div>
</div>
@endauth