@extends('layouts.nova')

@php
    $forumIndexProps = json_encode([
        'categories' => $categories ?? [],
    ], JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE);
@endphp

@section('content')
<div id="forum-index-root"></div>
<script type="application/json" id="forum-index-props">{!! $forumIndexProps !!}</script>
@endsection

@push('scripts')
    @vite(['resources/js/entry-forum.jsx'])
@endpush
