@extends('layouts.app') @section('css') @endsection @section('content')

{{ __('AI Writer') }}

{{ __('Seeking that perfect content? Look no further! Get ready to explore our fantastic lineup of templates') }}
@if (config('settings.custom_templates') == 'anyone') {{ __('Create Custom Template') }} @else @if ($check) {{ __('Create Custom Template') }} @endif @endif
@foreach ($categories as $category) @if (strtolower($category->name) != 'other')
{{ __($category->name) }}

{{ __($category->description) }}

@foreach ($favorite_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatus(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($favorite_custom_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($other_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatus(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($custom_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($private_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @endif @endforeach @foreach ($categories as $category) @if (strtolower($category->name) == 'other')
{{ __($category->name) }}

{{ __($category->description) }}

@foreach ($favorite_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatus(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($favorite_custom_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($other_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatus(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($custom_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($private_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @endif @endforeach
@foreach ($categories as $category)
@foreach ($favorite_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatus(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($favorite_custom_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($other_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatus(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($custom_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach @foreach ($private_templates as $template) @if ($template->group == $category->code)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endif @endforeach
@endforeach
@endsection @section('js') @endsection