@extends('public.layout.app') @section('title', 'Download Center') @php $fileExtension = function ($path, $url = null) { $source = $path ?: $url; return strtoupper(pathinfo(parse_url($source ?? '', PHP_URL_PATH) ?: '', PATHINFO_EXTENSION) ?: 'FILE'); }; @endphp @section('body')
Download Center

Forms, regulations, policies, reports, and prospectus

Find official public files, institutional documents, and LMS course resources in one place.

All @foreach($categories as $value => $label) {{ $label }} @endforeach
@forelse($downloadItems as $item)
{{ $categories[$item->category] ?? ucfirst($item->category) }} @if($item->version)Version {{ $item->version }}@endif
{{ $item->title }}
{{ $item->published_date?->format('M d, Y') ?? $item->created_at?->format('M d, Y') }}
@if($item->description)

{{ \Illuminate\Support\Str::limit($item->description, 140) }}

@endif
{{ $fileExtension($item->file_path, $item->external_url) }}
@if($item->download_url) Download @endif
@empty
No dedicated public downloads found for this filter.
@endforelse
@if($downloadItems->hasPages())
{{ $downloadItems->links('pagination::bootstrap-4') }}
@endif @if($materials->count())
LMS Resources

Course resource downloads

@foreach($materials as $material)
{{ $material->title }}
{{ $material->course?->title ?? 'General course resource' }}
{{ $fileExtension($material->file_path) }}
Download
@endforeach
@endif
@endsection