@extends('front-end.layouts.apps')
@section('title')
    Details
@endsection
@section('page_title')
    Details
@endsection
@section('main_container')
    <div class="container" dir="rtl">
        <div class="row">
            <div class="card" id="main_card">
                <div class="card-body">
                    @include('front-end.poet-details.search-pages')
                    @include('front-end.poet-details.bio-pages')
                    <div class="row">
                        <div class="col-md-12 centry_box mb-1">
                            <h4 class="text-light">د قافیه د حروفو له لحاظه</h4>
                        </div>
                        <div class="col-md-12 mt-2" dir="rtl">
                            @foreach ($alphabits as $row)
                            <a href="{{ route('public.alphabit_related',$row->name) }}" class="badge badge-light">{{ $row->name }}</a>
                            @endforeach
                        </div>
                    </div>
                 
                    <div class="row mt-3">
                        <div class="col-md-12">
                            @php
                                $i = 1;
                            @endphp
                            @foreach ($poetries as $row)
                                <p class="">
                                    <strong class=""><a
                                            href="{{ route('public.poet_poetry_single_details', $row->id) }}"
                                            class="text-dark">{{ $row->category->title_ps }} شماره
                                            {{ $i }}:</a> </strong>
                                    {{ $row->title }}
                                </p>
                                @php
                                    $i++;
                                @endphp
                            @endforeach
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
