@php $recentBoards = $recentBoards ?? collect(); @endphp
Overview

운영 현황

플랫폼의 신규회원과 신규글을 빠르게 확인할 수 있는 대시보드입니다.

@if ($recentBoards->isNotEmpty())
Recent 7 days

이번주 신규글

게시판 {{ $recentBoards->count() }}
@foreach ($recentBoards as $recentBoard) @php $board = $recentBoard['board']; $recentPostsForBoard = $recentBoard['posts']; @endphp
{{ $board->title }}
{{ $recentPostsForBoard->count() }}
더보기
@foreach ($recentPostsForBoard as $post) @php $publishedAt = $post->published_at ?? $post->created_at; @endphp
{{ $post->title }}
@if ($post->boardCategory)
{{ $post->boardCategory->name }}
@endif
{{ $publishedAt->format('Y.m.d') }}
@endforeach
@endforeach
@endif