Push your static content. HTML, CSS, fonts, images or anything else.
"),sn=H('For apex domains where CNAME does not work.
Access your new website with this link:
or, use this handy form that can navigate for you!
What about custom domains?
To use custom domains, create a .domains
in the root of your repository
with the domain name you would like to use.
Then, add a DNS record for that domain:
(note): use the above form to auto-generate your DNS records! `),vn=H(" ",1);function fn(e,t){$t(t,!1);const n=M(),o=M();let s=M(""),a=M(""),i=M("");function b(){window.open("https://docs.codeberg.org/codeberg-pages/","_blank")}z(()=>(c(s),c(a),c(i)),()=>{S(n,`https://${c(s)}.${gt}${c(a)?`/${c(a)}`:""}${c(i)?`/@${c(i)}`:""}`)}),z(()=>(c(i),c(a),c(s),gt),()=>{S(o,`${c(i)?`${c(i)}.`:""}${c(a)?`${c(a)}.`:""}${c(s)}.${gt}`)}),Ft(),Ga(e,{buttonCompleteLabel:"Open Documentation",buttonComplete:"variant-filled-success",$$events:{complete:b},children:(m,p)=>{var l=vn(),f=lt(l);ue(f,{children:(v,_)=>{var g=nn(),d=A(lt(g),6);Kt(d,{buttonCopied:"Copied!",lineNumbers:!0,language:"shell",code:`git switch --orphan pages
git rm --cached -r .`}),C(v,g)},$$slots:{default:!0,navigation:(v,_)=>{var g=rn();ft(g,"href",`https://${qe}/repo/create`),C(v,g)},header:(v,_)=>{var g=mt("1 - Make a repository");C(v,g)}}});var u=A(f,2);ue(u,{children:(v,_)=>{var g=on();C(v,g)},$$slots:{default:!0,header:(v,_)=>{var g=mt("2 - Add your files");C(v,g)}}});var h=A(u,2);ue(h,{children:(v,_)=>{var g=un(),d=A(N(g),2);d.textContent=`https://USERNAME.${gt}[/REPOSITORY][/@BRANCH]`;var y=A(d,4),U=N(y),E=N(U);ne(E);var L=A(E,2);L.textContent=`.${gt}/`;var J=A(L,2);ne(J);var F=A(J,2);ne(F),T(U);var R=A(U,2);T(y);var Q=A(y,4),ct=A(N(Q),10);Ra(ct,{autocollapse:!0,children:(Z,xt)=>{var dt=dn(),j=lt(dt);de(j,{open:!0,$$slots:{summary:(G,nt)=>{var O=mt("CNAME (Prefered)");C(G,O)},content:(G,nt)=>{var O=sn(),V=lt(O);V.textContent=`CNAME [[branch.]repo.]user.${gt}.`;var X=A(V,2),at=jt(()=>`CNAME ${c(o)}.`);Kt(X,{buttonCopied:"Copied!",language:"dns",get code(){return c(at)}}),C(G,O)}}});var et=A(j,2);de(et,{$$slots:{summary:(G,nt)=>{var O=mt("ALIAS (If available)");C(G,O)},content:(G,nt)=>{var O=ln(),V=A(lt(O),2),X=N(V);X.textContent=`ALIAS ${gt}.`;var at=A(X,2);at.textContent=`TXT $[[branch.]repo.]user.${gt}`,T(V);var rt=A(V,2),D=jt(()=>`ALIAS ${gt}.
TXT ${c(o)}`);Kt(rt,{buttonCopied:"Copied!",language:"dns",get code(){return c(D)}}),C(G,O)}}});var it=A(et,2);de(it,{$$slots:{summary:(G,nt)=>{var O=mt("A/AAAA (Old reliable)");C(G,O)},content:(G,nt)=>{var O=cn(),V=A(lt(O),2),X=N(V);X.textContent=`A ${Pe}`;var at=A(X,2);at.textContent=`AAAA ${Ae}`;var rt=A(at,2);rt.textContent=`TXT $[[branch.]repo.]user.${gt}`,T(V);var D=A(V,2),ht=jt(()=>`A ${Pe}
AAAA ${Ae}
TXT ${c(o)}`);Kt(D,{buttonCopied:"Copied!",language:"dns",get code(){return c(ht)}}),C(G,O)}}}),C(Z,dt)},$$slots:{default:!0}}),T(Q),T(g),W(()=>{q(E,`input variant-form-material ${(c(s)?"":"input-error")??""}`),ft(R,"href",c(n))}),oe(E,()=>c(s),Z=>S(s,Z)),oe(J,()=>c(a),Z=>S(a,Z)),oe(F,()=>c(i),Z=>S(i,Z)),C(v,g)},$$slots:{default:!0,header:(v,_)=>{var g=mt("3 - You're Done!");C(v,g)}}}),C(m,l)},$$slots:{default:!0}}),Dt()}var bn=H(`Host static websites
It's quick, easy, free & fast - just put your project's homepage, developer blog or web
experiment into a Git repository at and we'll do the rest.
`);function yn(e){var t=bn(),n=N(t),o=N(n),s=A(N(o),2);s.nodeValue=` with ${an}!`,T(o);var a=A(o,2),i=A(N(a));ft(i,"href",`https://${qe}`),i.textContent=en,ya(),T(a);var b=A(a,4),m=N(b);fn(m,{}),T(b),T(n),T(t),C(e,t)}export{yn as _};
//# sourceMappingURL=2.B_C-dmA6.js.map