@extends('admin.layouts.app') @section('title', 'Create Category') @section('content')
{{-- Header --}}
Back

Create Category

Add a new content category

{{-- Errors --}} @if($errors->any())
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@csrf
{{-- Left: Form --}}
{{-- Basic Info --}}
Basic Information
{{-- Type --}}
Type *
@foreach([ 'temple' => ['icon' => 'fa-landmark', 'bg' => 'rgba(249,115,22,.08)', 'color' => '#fb923c'], 'place' => ['icon' => 'fa-location-dot', 'bg' => 'rgba(59,130,246,.08)', 'color' => '#60a5fa'], 'event' => ['icon' => 'fa-calendar-days', 'bg' => 'rgba(168,85,247,.08)', 'color' => '#c084fc'], 'news' => ['icon' => 'fa-newspaper', 'bg' => 'rgba(6,182,212,.08)', 'color' => '#22d3ee'], 'organization' => ['icon' => 'fa-building-columns', 'bg' => 'rgba(236,72,153,.08)', 'color' => '#f472b6'], 'other' => ['icon' => 'fa-folder', 'bg' => 'rgba(156,163,175,.08)', 'color' => '#9ca3af'], ] as $key => $info) @endforeach
{{-- Submit --}}
{{-- Right: Sidebar --}}
{{-- Status --}}
Visibility
Active
Show on frontend
{{-- Preview --}}
Preview
Category Name
Type
@endsection