PageSourceSearch

https://lecollectif.tv/assets/client.briefs.index-BO88weJy.js

js lecollectif.tv collected 2026-09-30 06:38:44 UTC 2,712 bytes, 1 lines download raw bytes

1import{j as s,L as f}from"./index-r9cUOzRa.js";import{A as m,P as x}from"./AppShell-DvW6AB7o.js";import{B as d}from"./BriefCard-2HXcdjbF.js";import{u as b,a as c}from"./demo-store-ZrvIcuC2.js";import{P as p}from"./plus-DAFVlMlf.js";import"./Footer-CByVw6dE.js";import"./logo-lc.svg.asset-CBSHmlfa.js";import"./chevron-down-C5hlrNDr.js";import"./users-CeYsQWva.js";import"./map-pin-BUZTJy6U.js";import"./calendar-xNq9XYWT.js";function I(){b();const i=c(e=>e.briefs),o=c(e=>e.submissions),n=i.filter(e=>e.status==="draft"),a=i.filter(e=>e.status==="live"),l=i.filter(e=>e.status==="closed");return s.jsxs(m,{children:[s.jsx(x,{eyebrow:"Your briefs",title:"Briefs",description:"Current briefs open to creators and expired briefs from past sprints.",actions:s.jsxs(f,{to:"/client/briefs/new",className:"inline-flex items-center gap-2 rounded-full bg-ink px-5 py-2.5 text-sm font-semibold text-paper shadow-pop",children:[s.jsx(p,{className:"size-4"})," New brief"]})}),s.jsxs("section",{children:[s.jsx("h2",{className:"mb-4 font-display text-xl font-bold tracking-tight",children:"Draft briefs"}),n.length===0?s.jsx("div",{className:"rounded-2xl border border-dashed border-border bg-card p-10 text-center text-sm text-ink-soft",children:"No draft briefs. Create one to get started."}):s.jsx("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3",children:n.map(e=>{const r=o.filter(t=>t.briefId===e.id).length;return s.jsx(d,{brief:e,href:`/client/briefs/${e.id}`,submissionsCount:r,badge:"Draft"},e.id)})})]}),s.jsxs("section",{className:"mt-12",children:[s.jsx("h2",{className:"mb-4 font-display text-xl font-bold tracking-tight",children:"Current briefs"}),a.length===0?s.jsx("div",{className:"rounded-2xl border border-dashed border-border bg-card p-10 text-center text-sm text-ink-soft",children:"No current briefs. Create one to get started."}):s.jsx("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3",children:a.map(e=>{const r=o.filter(t=>t.briefId===e.id).length;return s.jsx(d,{brief:e,href:`/client/briefs/${e.id}`,submissionsCount:r,badge:r>0?"Submissions in":void 0},e.id)})})]}),s.jsxs("section",{className:"mt-12",children:[s.jsx("h2",{className:"mb-4 font-display text-xl font-bold tracking-tight",children:"Expired briefs"}),l.length===0?s.jsx("div",{className:"rounded-2xl border border-dashed border-border bg-card p-10 text-center text-sm text-ink-soft",children:"No expired briefs yet."}):s.jsx("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3",children:l.map(e=>{const r=o.filter(t=>t.briefId===e.id).length;return s.jsx(d,{brief:e,href:`/client/briefs/${e.id}`,submissionsCount:r,dimmed:!0},e.id)})})]})]})}export{I as component};

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.