@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
👤 My Account
@else
Welcome to Mountain Top University — Library Catalog

Search the MTU library collection of books, journals, theses, and digital resources.

🔒 Sign In to Your Account
@endauth
marine ecology Irish history engineering business management nursing biodiversity data science
{{-- 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 }} cover
{{ $book->title }}
{{ $book->publisher }}{{ $book->pub_year ? ', ' . $book->pub_year : '' }}
@endforeach
@endsection