@extends('admin.layouts.app')
@section('title', 'Blog Categories')
@section('breadcrumb')
Blog
Categories
@endsection
@section('heading', 'Blog Categories')
@section('subheading', 'Manage blog post categories and hierarchy.')
@section('content')
{{-- Add Form --}}
{{-- Table --}}
ID
Category
Slug
Parent
Posts Count
Status
Actions
@foreach ([
['id' => 1, 'name' => 'Real Estate Tips', 'slug' => 'real-estate-tips', 'parent' => '-', 'count' => 45, 'status' => 1],
['id' => 2, 'name' => 'Market Updates', 'slug' => 'market-updates', 'parent' => '-', 'count' => 32, 'status' => 1],
['id' => 3, 'name' => 'Home Decor', 'slug' => 'home-decor', 'parent' => '-', 'count' => 28, 'status' => 1],
['id' => 4, 'name' => 'Investment Guide', 'slug' => 'investment-guide', 'parent' => '-', 'count' => 19, 'status' => 1],
['id' => 5, 'name' => 'Legal Advice', 'slug' => 'legal-advice', 'parent' => '-', 'count' => 15, 'status' => 1],
['id' => 6, 'name' => 'Lifestyle', 'slug' => 'lifestyle', 'parent' => '-', 'count' => 22, 'status' => 1],
] as $cat)
{{ $cat['id'] }}
{{ $cat['name'] }}
{{ $cat['slug'] }}
{{ $cat['parent'] }}
{{ $cat['count'] }}
{{ $cat['status'] ? 'Active' : 'Inactive' }}
@endforeach
@endsection