@extends('layouts.app') @section('title', 'Universities') @section('content')

Find Your Perfect University

Discover top universities from around the world. Search through our comprehensive database to find the institution that matches your academic goals.

@if ($universities->count() > 0)

@if ($search) Search Results ({{ $universities->total() }} found) @else All Universities ({{ $universities->total() }} total) @endif

@foreach ($universities as $university)
@if ($university->logo) @else
@endif
{{ $university->name }}
{{--
{{ Str::limit($university->address, 60) }}
--}} @if ($university->phone) {{-- --}} @endif @if ($university->email) {{-- --}} @endif
{{-- @if ($university->email) @endif @if ($university->phone) @endif --}}
@endforeach
{{ $universities->appends(request()->query())->links() }}
@else

@if ($search) No universities found for "{{ $search }}" @else No universities available @endif

@if ($search) Try adjusting your search terms or browse all universities. @else Universities will appear here once they are added by administrators. @endif

@if ($search) View All Universities @endif
@endif
@endsection