@extends('layouts.opac')
@section('title', 'Welcome to MTU Library Catalog')
@section('breadcrumb-trail')
›
Home
@endsection
@section('styles')
@endsection
@section('sidebar')
@endsection
@section('content')
@auth
👋 Welcome back, {{ Auth::user()->firstname }} {{ Auth::user()->surname }}!
Card Number: {{ Auth::user()->cardnumber }} | Mountain Top University Library Member
@else
Welcome to Mountain Top University — Library Catalog
Search the MTU library collection of books, journals, theses, and digital resources.
@endauth
{{-- Library News Card --}}
📢 Library News
@foreach($news as $item)
{{ $item->title }}
({{ $item->published_date }})
{{ $item->content }}
@endforeach
{{-- New Arrivals Card --}}
📚 New Arrivals
@foreach($newArrivals as $book)
{{ $book->title }}
{{ $book->publisher }}{{ $book->pub_year ? ', ' . $book->pub_year : '' }}
@endforeach
@endsection