PageSourceSearch

https://www.faithassembly.org.uk/assets/YouthLayout-CcKJWdWO.js

js faithassembly.org.uk collected 2026-10-03 19:01:18 UTC 3,292 bytes, 1 lines download raw bytes

1import{ay as h,ae as x,j as e,ad as l,au as d}from"./vendor-BFIOfVip.js";import{b as p,x as m}from"./vendor-firebase-IWWIlHC2.js";import{S as u,c2 as b,a as g,b as f,O as j,ct as y,bu as v}from"./vendor-icons-BjlO8Ivt.js";const H=()=>{var o;const s=h(),a=x(),n=p(),i=async()=>{try{await m(n),s("/youth/login")}catch(t){console.error("Error signing out:",t)}},r=[{path:"/youth/dashboard",label:"Home",icon:e.jsx(g,{className:"w-6 h-6"})},{path:"/youth/events",label:"Events",icon:e.jsx(f,{className:"w-6 h-6"})},{path:"/youth/groups",label:"Squads",icon:e.jsx(j,{className:"w-6 h-6"})},{path:"/youth/chat",label:"Chat",icon:e.jsx(y,{className:"w-6 h-6"})},{path:"/youth/media",label:"Media",icon:e.jsx(v,{className:"w-6 h-6"})}];return e.jsxs("div",{className:"flex h-screen bg-black text-white font-sans overflow-hidden",children:[e.jsx("div",{className:"md:hidden fixed bottom-0 left-0 right-0 bg-gray-900 border-t border-gray-800 flex justify-around p-4 z-50",children:r.map(t=>e.jsx(l,{to:t.path,className:`text - gray - 400 ${a.pathname.startsWith(t.path)?"text-yellow-400":""} `,children:t.icon},t.path))}),e.jsxs("aside",{className:"hidden md:flex w-64 bg-gray-900 flex-col border-r border-gray-800",children:[e.jsxs("div",{onClick:()=>s("/youth/dashboard"),className:"p-8 flex items-center space-x-3 cursor-pointer group",children:[e.jsx("div",{className:"w-10 h-10 bg-yellow-400 rounded-lg flex items-center justify-center transform -rotate-6 group-hover:rotate-0 transition-transform",children:e.jsx(u,{className:"w-6 h-6 text-black"})}),e.jsx("div",{children:e.jsxs("h1",{className:"font-black text-2xl tracking-tighter italic text-white group-hover:text-yellow-400 transition-colors",children:["YTH",e.jsx("span",{className:"text-yellow-400 group-hover:text-white transition-colors",children:"NATION"})]})})]}),e.jsx("nav",{className:"flex-1 px-4 space-y-2 mt-4",children:r.map(t=>{const c=a.pathname.startsWith(t.path);return e.jsxs(l,{to:t.path,className:`flex items - center px - 4 py - 4 rounded - xl transition - all font - bold ${c?"bg-yellow-400 text-black translate-x-2":"text-gray-400 hover:text-white hover:bg-gray-800"} `,children:[e.jsx("span",{className:"mr-3",children:t.icon}),t.label]},t.path)})}),e.jsx("div",{className:"p-6",children:e.jsxs("button",{onClick:i,className:"flex items-center w-full px-4 py-3 text-red-400 hover:text-red-300 transition-colors font-bold text-sm",children:[e.jsx(b,{className:"w-5 h-5 mr-3"}),"Log Out"]})})]}),e.jsxs("main",{className:"flex-1 overflow-y-auto pb-20 md:pb-0 relative",children:[e.jsx("div",{className:"fixed top-0 right-0 w-[500px] h-[500px] bg-purple-600/20 rounded-full blur-[120px] pointer-events-none"}),e.jsx("div",{className:"fixed bottom-0 left-0 w-[500px] h-[500px] bg-yellow-600/10 rounded-full blur-[120px] pointer-events-none"}),e.jsxs("div",{className:"p-6 md:p-10 relative z-10",children:[e.jsxs("div",{className:"flex justify-between items-center mb-8",children:[e.jsx("h2",{className:"text-3xl font-black text-white italic uppercase tracking-wide",children:((o=a.pathname.split("/").pop())==null?void 0:o.toUpperCase())||"DASHBOARD"}),e.jsx("div",{className:"w-10 h-10 rounded-full bg-gradient-to-tr from-purple-500 to-pink-500 border-2 border-white/20"})]}),e.jsx(d,{})]})]})]})};export{H as default};

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.