PageSourceSearch

https://coinbarrel.com/assets/CommunityAboutPage-CW_ZO3LE.js

js coinbarrel.com collected 2026-10-08 12:43:54 UTC 2,861 bytes, 1 lines download raw bytes

1import{bn as a,be as s,cj as n}from"./index-B2IiaqCb.js";import{u as t}from"./queries-BZgxHjI4.js";import{c as o,r}from"./format-BE4Z6Xhe.js";import{u as l}from"./usePageTitle-B904pnvW.js";import"./useMutation-B78V9naO.js";import"./api-CZaULBoh.js";const d={public:"Public: anyone can browse",private:"Private: listed but content is members-only",unlisted:"Unlisted: link-only access"},b={open:"Open joining: anyone can join instantly",approval:"Approval-required: mods review join requests",invite:"Invite-only: members by direct invite"},m={members:"Members only",members_or_followers:"Members + token holders",open:"Anyone with an account"};function p(){const{slug:c=""}=a(),i=t(c);if(l(i.data?.name),i.isLoading)return s.jsx("div",{className:"cb-about cb-about--loading",children:"Loading…"});if(i.isError||!i.data)return s.jsxs("div",{className:"cb-about",children:[s.jsx("h1",{children:"Community not found"}),s.jsxs("p",{children:["We couldn't find ",s.jsxs("code",{children:["@",c]}),"."," ",s.jsx(n,{to:"/communities",children:"Browse communities →"})]})]});const e=i.data;return s.jsxs("article",{className:"cb-about",children:[s.jsxs("header",{className:"cb-about__head",children:[s.jsx(n,{className:"cb-about__back",to:`/c/${e.slug}`,children:"← Back to feed"}),s.jsxs("h1",{className:"cb-about__title",children:["About @",e.slug]})]}),s.jsxs("section",{className:"cb-about__section",children:[s.jsx("h2",{children:e.name}),s.jsx("p",{className:"cb-about__desc",children:e.description})]}),s.jsxs("section",{className:"cb-about__section",children:[s.jsx("h3",{children:"Stats"}),s.jsxs("dl",{className:"cb-about__stats",children:[s.jsxs("div",{className:"cb-about__row",children:[s.jsx("dt",{children:"Members"}),s.jsx("dd",{className:"tabular",children:o(e.memberCount)})]}),s.jsxs("div",{className:"cb-about__row",children:[s.jsx("dt",{children:"Created"}),s.jsxs("dd",{children:[new Date(e.createdAt).toLocaleDateString()," ·"," ",r(e.createdAt)," ago"]})]})]})]}),s.jsxs("section",{className:"cb-about__section",children:[s.jsx("h3",{children:"Settings"}),s.jsxs("dl",{className:"cb-about__stats",children:[s.jsxs("div",{className:"cb-about__row",children:[s.jsx("dt",{children:"Visibility"}),s.jsx("dd",{children:d[e.visibility]})]}),s.jsxs("div",{className:"cb-about__row",children:[s.jsx("dt",{children:"Joining"}),s.jsx("dd",{children:b[e.joiningModel]})]}),s.jsxs("div",{className:"cb-about__row",children:[s.jsx("dt",{children:"Posting"}),s.jsx("dd",{children:m[e.postingPermission]})]}),s.jsxs("div",{className:"cb-about__row",children:[s.jsx("dt",{children:"Reactions"}),s.jsx("dd",{children:e.reactionsEnabled?"Enabled":"Disabled"})]})]})]}),s.jsxs("section",{className:"cb-about__section",children:[s.jsx("h3",{children:"Rules"}),s.jsx("p",{className:"cb-about__empty",children:"No rules set yet."})]})]})}export{p 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.