@extends('user.layout.master') @section('title', 'Templates') @section('content')
Templates
All
@foreach ($templates->unique('category') as $template)
{{ $template->category }}
@endforeach
@forelse($templates as $template)
{{ $template->name }}
{{ Str::limit($template->description, 60) }}
@if ($template->is_featured) @endif @if ($template->type === 'premium')
Premium
@endif
{{ $template->category ?? 'General' }}
200
3.5
{{ strtoupper($template->type) }}
@empty
No templates available

Check back later for new templates

@endforelse
{{-- --}} @endsection