import{s as q,n as X,o as O}from"../chunks/scheduler.d6170356.js";import{S as Q,i as K,g as o,s,r as S,A as ee,h as i,f as a,c as l,j as N,u as V,x as y,k as $,y as te,a as n,v as F,d as W,t as Y,w as B}from"../chunks/index.fcd4cc08.js";import{C as ae}from"../chunks/CodeBlock.7b16bdef.js";import{H as ne}from"../chunks/Heading.8660bd0e.js";function se(Z){let r,b,T,z,p,v,u,A="You can create an organization card to help users learn more about what your organization is working on and how users can use your libraries, models, datasets, and Spaces.",x,m,R="An organization card is displayed on an organization’s profile:",j,c,L='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/org-card.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/org-card-dark.png"/>',_,g,G="If you’re a member of an organization, you’ll see a button to create or edit your organization card on the organization’s main page. Organization cards are a <code>README.md</code> static file inside a Space repo named <code>README</code>. The card can be as simple as Markdown text, or you can create a more customized appearance with HTML.",E,d,I='The card for the <a href="https://huggingface.co/huggingface-course" rel="nofollow">Hugging Face Course organization</a>, shown above, <a href="https://huggingface.co/spaces/huggingface-course/README/blob/main/README.md" rel="nofollow">contains the following HTML</a>:',U,h,C,f,P="For more examples, take a look at:",H,M,D='<li><a href="https://huggingface.co/spaces/amazon/README/blob/main/README.md" rel="nofollow">Amazon’s</a> organization card source code</li> <li><a href="https://huggingface.co/spaces/spacy/README/blob/main/README.md" rel="nofollow">spaCy’s</a> organization card source code.</li>',J,w,k;return p=new ne({props:{title:"Organization cards",local:"organization-cards",headingTag:"h1"}}),h=new ae({props:{code:"JTNDcCUzRSUwQVRoaXMlMjBpcyUyMHRoZSUyMG9yZ2FuaXphdGlvbiUyMGdyb3VwaW5nJTIwYWxsJTIwdGhlJTIwbW9kZWxzJTIwYW5kJTIwZGF0YXNldHMlMjB1c2VkJTIwaW4lMjB0aGUlMjAlM0NhJTIwaHJlZiUzRCUyMmh0dHBzJTNBJTJGJTJGaHVnZ2luZ2ZhY2UuY28lMkZjb3Vyc2UlMkZjaGFwdGVyMSUyMiUyMGNsYXNzJTNEJTIydW5kZXJsaW5lJTIyJTNFSHVnZ2luZyUyMEZhY2UlMjBjb3Vyc2UlM0MlMkZhJTNFLiUwQSUzQyUyRnAlM0U=",highlighted:`<span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>
This is the organization grouping all the models and datasets used in the <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">&quot;https://huggingface.co/course/chapter1&quot;</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;underline&quot;</span>&gt;</span>Hugging Face course<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>.
<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>`,wrap:!1}}),{c(){r=o("meta"),b=s(),T=o("p"),z=s(),S(p.$$.fragment),v=s(),u=o("p"),u.textContent=A,x=s(),m=o("p"),m.textContent=R,j=s(),c=o("div"),c.innerHTML=L,_=s(),g=o("p"),g.innerHTML=G,E=s(),d=o("p"),d.innerHTML=I,U=s(),S(h.$$.fragment),C=s(),f=o("p"),f.textContent=P,H=s(),M=o("ul"),M.innerHTML=D,J=s(),w=o("p"),this.h()},l(e){const t=ee("svelte-u9bgzb",document.head);r=i(t,"META",{name:!0,content:!0}),t.forEach(a),b=l(e),T=i(e,"P",{}),N(T).forEach(a),z=l(e),V(p.$$.fragment,e),v=l(e),u=i(e,"P",{"data-svelte-h":!0}),y(u)!=="svelte-181uxj6"&&(u.textContent=A),x=l(e),m=i(e,"P",{"data-svelte-h":!0}),y(m)!=="svelte-13ll3i3"&&(m.textContent=R),j=l(e),c=i(e,"DIV",{class:!0,"data-svelte-h":!0}),y(c)!=="svelte-ub7mdj"&&(c.innerHTML=L),_=l(e),g=i(e,"P",{"data-svelte-h":!0}),y(g)!=="svelte-1x02x4r"&&(g.innerHTML=G),E=l(e),d=i(e,"P",{"data-svelte-h":!0}),y(d)!=="svelte-11yev66"&&(d.innerHTML=I),U=l(e),V(h.$$.fragment,e),C=l(e),f=i(e,"P",{"data-svelte-h":!0}),y(f)!=="svelte-b64p11"&&(f.textContent=P),H=l(e),M=i(e,"UL",{"data-svelte-h":!0}),y(M)!=="svelte-nn8qai"&&(M.innerHTML=D),J=l(e),w=i(e,"P",{}),N(w).forEach(a),this.h()},h(){$(r,"name","hf:doc:metadata"),$(r,"content",le),$(c,"class","flex justify-center")},m(e,t){te(document.head,r),n(e,b,t),n(e,T,t),n(e,z,t),F(p,e,t),n(e,v,t),n(e,u,t),n(e,x,t),n(e,m,t),n(e,j,t),n(e,c,t),n(e,_,t),n(e,g,t),n(e,E,t),n(e,d,t),n(e,U,t),F(h,e,t),n(e,C,t),n(e,f,t),n(e,H,t),n(e,M,t),n(e,J,t),n(e,w,t),k=!0},p:X,i(e){k||(W(p.$$.fragment,e),W(h.$$.fragment,e),k=!0)},o(e){Y(p.$$.fragment,e),Y(h.$$.fragment,e),k=!1},d(e){e&&(a(b),a(T),a(z),a(v),a(u),a(x),a(m),a(j),a(c),a(_),a(g),a(E),a(d),a(U),a(C),a(f),a(H),a(M),a(J),a(w)),a(r),B(p,e),B(h,e)}}}const le='{"title":"Organization cards","local":"organization-cards","sections":[],"depth":1}';function oe(Z){return O(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ue extends Q{constructor(r){super(),K(this,r,oe,se,q,{})}}export{ue as component};
