{{-- resources/views/library/tipitaka/index.blade.php 三藏首页:分类(复用 library 首页的两级卡片)→ 译本 → 最近更新。 变量:$categoryData(顶级分类 + 下一级)、$channels(公开 channel,按作品数)、$recentBooks(书卡片) --}} @extends('layouts.library') @section('title', __('library.tipitaka') . ' · ' . __('library.site_name')) @push('styles') @vite(['resources/css/modules/library-index.css', 'resources/css/modules/tipitaka.css']) @endpush @section('hero') {{-- 底图是深色的,hero-section--dark 把标题改成白字 --}}

{{ __('library.tipitaka') }}

{{ __('library.tipitaka_hero_subtitle') }}

@endsection @section('content')
{{-- ── 分类 ── --}}

{{ __('library.categories') }}

@foreach($categoryData as $data)
{{ $data['category']['local_name'] }} {{ __('library.more') }}
@endforeach
{{-- ── 译本 ── --}} @if(!empty($channels)) @endif {{-- ── 最近更新 ── --}} @if(!empty($recentBooks))

{{ __('library.recent_updates') }}

@endif
@endsection