{{-- TOP BAR --}}

@include('frontend.includes.topmenuheader')
@php /* * College branding, editable from the admin: Static Content. * - type "header-banner" -> image = ONE full-width image used as the entire header * (logos + name + text all baked into a single graphic). * Takes over from everything below when set. * - type "header-logo-left" -> image = the logo shown on the left (e.g. the college emblem) * - type "header-logo-right" -> image = the logo shown on the right (e.g. the state/government emblem) * - type "header-details" -> title = college name (the big heading); * content = the lines under it (NAAC grade, affiliation, address, ...), * edited as rich text so any number of lines/styles can be set from the admin. * Any row that hasn't been set yet falls back to the original hard-coded look, so nothing breaks * until someone fills it in. */ $headerBanner = getContent('header-banner'); $headerLogoLeft = getContent('header-logo-left'); $headerLogoRight = getContent('header-logo-right'); $headerDetails = getContent('header-details'); $collegeName = ($headerDetails->title ?? null) ?: (getSettings()->name ?? 'PRR & VS GOVERNMENT COLLEGE'); @endphp @if(!empty($headerBanner->image))
{{ $headerBanner->title ?: $collegeName }}
@else
{{ $headerLogoLeft->title ?? 'College Logo' }}

{{ $collegeName }}

@if(!empty($headerDetails->content)) {!! $headerDetails->content !!} @else

Re-Accredited by NAAC with 'B+' Grade in cycle-III

Affiliated to Sri Vikrama Simhapuri University

Vidavalur, SPSR Nellore Dist,Andhra Pradesh

@endif
{{ $headerLogoRight->title ?? 'Government Logo' }}
@endif