@extends('layouts.app') @section('site_title', formatTitle([__('Tools'), config('settings.title')])) @section('head_content') @endsection @section('content')
@if(config('settings.tools_guest') && !Auth::check())

{{ __('Tools') }}

{{ __('Web tools and utilities.') }}

@else @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('dashboard'), 'title' => __('Home')], ['title' => __('Tools')], ]])

{{ __('Tools') }}

@endif
@include('shared.message')
{{ __('All') }} {{ $tools->count() }} @foreach($tools as $tool) @if(!isset($menuCategoryName) || isset($menuCategoryName) && $menuCategoryName != $tool->category->name)
{{ __($tool->category->name) }} {{ $tools->countBy('category_id')->toArray()[$tool->category_id] }} @endif @php $menuCategoryName = $tool->category->name; @endphp @endforeach
@foreach($tools as $tool) @if(!isset($categoryName) || isset($categoryName) && $categoryName != $tool->category->name)
{{ __($tool->category->name) }}
@endif
@include('icons.' . $tool->icon, ['class' => 'fill-current width-5 height-5'])
{{ __($tool->name) }}
{{ __($tool->description) }}
@php $categoryName = $tool->category->name; @endphp @endforeach
@if ($tools->hasPages())
{{ $tools->onEachSide(1)->links() }}
@endif
@endsection @include('shared.sidebars.user')