@php $pageTitle = '공지사항'; $pageDesc = '서비스 운영 및 결제/발송 관련 안내를 확인하세요.'; $breadcrumbs = [ ['label' => '홈', 'url' => url('/')], ['label' => '고객센터', 'url' => url('/cs')], ['label' => '공지사항', 'url' => url('/cs/notice')], ['label' => $notice->subject, 'url' => url()->current()], ]; $csActive = 'notice'; $dt = $notice->regdateCarbon(); // 첨부파일명 추출(경로/URL 모두 대응) $file1 = $notice->file_01 ? basename(parse_url($notice->file_01, PHP_URL_PATH) ?? $notice->file_01) : null; $file2 = $notice->file_02 ? basename(parse_url($notice->file_02, PHP_URL_PATH) ?? $notice->file_02) : null; @endphp @extends('web.layouts.subpage') @section('title', e($notice->subject) . ' | 공지사항 | PIN FOR YOU') @section('meta_description', 'PIN FOR YOU 공지사항 상세 페이지입니다.') @section('canonical', url('/cs/notice/'.$notice->seq)) @push('styles') @endpush @section('subcontent')
{{-- 상단: 목록보기 버튼 --}}
목록보기

{{ $notice->subject }}

· 조회 {{ number_format((int)$notice->hit) }}
{{-- ✅ 내용 박스 라인 + 내부 패딩 --}}
{!! $notice->content !!}
{{-- 첨부/링크 --}} @php $link1 = $notice->safeLink($notice->link_01); $link2 = $notice->safeLink($notice->link_02); @endphp @if($link1 || $link2 || $notice->file_01 || $notice->file_02)
첨부 / 관련 링크
@if($notice->file_01) {{ $file1 }} 다운로드 @endif @if($notice->file_02) {{ $file2 }} 다운로드 @endif @if($link1) 관련 링크 1 열기 @endif @if($link2) 관련 링크 2 열기 @endif
@endif {{-- ✅ 박스 안에서 하단 네비(이전/다음/목록) --}}
@include('web.partials.cs-quick-actions') @endsection