@vite(['resources/css/app.css', 'resources/js/app.js'])
{{ config('app.name', 'Recipes') }}
@guest @else @endguest

{{ __('Recipes shared by the community') }}

{{ __('Public recipes anyone can browse — search by name or category.') }}

{{ __('Search') }} @if (request()->anyFilled(['name', 'category_id'])) {{ __('Clear') }} @endif
@forelse ($publicRecipes as $recipe)
@if ($recipe->media->isNotEmpty()) {{ $recipe->name }} @endif

{{ $recipe->name }}

{{ $recipe->category->name }}

{{ __('by') }} {{ $recipe->user->name }}

@empty

{{ request()->anyFilled(['name', 'category_id']) ? __('No public recipes match your search.') : __('No public recipes yet — be the first to share one!') }}

@endforelse
@if ($publicRecipes->hasPages())
{{ $publicRecipes->links() }}
@endif
@guest

{{ __('Everything you need to cook with confidence') }}

{{ __('No more scattered notes or bookmarked pages you can never find again.') }}

{{ __('Keep every recipe') }}

{{ __('Write down ingredients, steps, timing, and photos — all in one clean, searchable place.') }}

{{ __('Organize by category') }}

{{ __('Group recipes the way you think about them — desserts, weeknight dinners, family favorites.') }}

{{ __('Find it in seconds') }}

{{ __('Filter by name, category, tag, or date, so the recipe you want is never far away.') }}

{{ __('Ready to start cooking smarter?') }}

{{ __('Join free and have your first recipe saved in under a minute.') }}

@if (Route::has('register')) {{ __('Create your free account') }} @endif
@endguest