master_template/resources/views/hulaki_khabar/article.blade.php

37 lines
1.3 KiB
PHP
Raw Normal View History

2024-06-18 05:46:51 +00:00
@extends('hulaki_khabar.layout.layout')
@section('content')
<div class="page-title-area">
<div class="container">
<div class="page-title-content">
<h2>{{$article->title}}</h2>
<ul>
<li><a href="index.html">Home</a></li>
<li>{{$article->title}}</li>
</ul>
</div>
</div>
</div>
<!-- End Page Banner -->
<!-- Start Terms of service Area -->
<section class="terms-of-service-area ptb-50">
<div class="container">
<div class="faq-accordion">
<ul class="accordion">
@foreach ($article->childrens as $item)
<li class="accordion-item">
<a class="accordion-title @if($loop->first)active @endif" href="javascript:void(0)">
<i class='bx bx-plus'></i>
{{ $item->title }}
</a>
<p class="accordion-content @if($loop->first)show @endif">
{!! $item->text !!}
</p>
</li>
@endforeach
</ul>
</div>
</div>
</section>
@endsection