PageSourceSearch

https://www.sggs.ac.in/assets/DepartmentInnerPageShell-DQBiW-EZ.js

js sggs.ac.in collected 2026-09-24 20:38:18 UTC 1,818 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-query-gPAv4kG9.js";import{u as j,D as c}from"./useDepartmentHeroImage-BYMgDIT8.js";import{u as N}from"./vendor-router-SMAsTmJe.js";import{a5 as _}from"./vendor-icons-JBeLBwXY.js";function D({deptSlug:r,eyebrow:n,title:s,subtitle:a,portalFallback:d="",fallbackImage:m,heroActions:t,children:h,mainClassName:p="",contentClassName:x="site-container py-10 sm:py-12",subNavbar:u=null}){const i=j(r,{variant:"inner",portalFallback:d,fallbackImage:m}),o=N(),g=()=>{window.history.state&&window.history.state.idx>0?o(-1):o(r?`/department/${r}`:"/")};return e.jsx("div",{className:"min-h-screen bg-slate-50 dark:bg-transparent text-slate-900 dark:text-slate-100",children:e.jsxs("main",{className:`dept-page dept-inner-page ${p}`.trim(),children:[e.jsxs("header",{id:"main-content",className:"dept-inner-hero",children:[e.jsx("img",{src:i,alt:"",onError:l=>{l.currentTarget.src.endsWith(c)||(l.currentTarget.src=c)},className:"dept-inner-hero__image"},i),e.jsx("div",{className:"dept-inner-hero__overlay","aria-hidden":"true"}),e.jsxs("div",{className:"site-container dept-inner-hero__content",children:[e.jsxs("button",{onClick:g,className:"mb-4 inline-flex items-center gap-1.5 text-white/80 hover:text-white transition-colors text-xs font-semibold py-1.5 px-3 rounded-full border border-white/20 hover:border-white/40 hover:bg-white/10 cursor-pointer",children:[e.jsx(_,{className:"h-3.5 w-3.5"}),"Back"]}),e.jsxs("div",{className:"max-w-3xl",children:[n?e.jsx("p",{className:"dept-inner-hero__eyebrow",children:n}):null,s?e.jsx("h1",{className:"dept-inner-hero__title",children:s}):null,a?e.jsx("p",{className:"dept-inner-hero__subtitle",children:a}):null,t?e.jsx("div",{className:"dept-inner-hero__actions",children:t}):null]})]})]}),u,e.jsx("section",{className:x,children:h})]})})}export{D};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.