PageSourceSearch

https://about.gitea.com/_nuxt/_...slug_.bca96d08.js

js gitea.com collected 2026-10-01 08:57:22 UTC 3,038 bytes, 1 lines download raw bytes

1import d from"./ContentRenderer.570a6ad2.js";import g from"./ContentDoc.cbe017e2.js";import{u as h,w as p,a as f,c as n,b as r,d as t,e as c,f as i,g as m,t as a,h as y}from"./entry.ff824838.js";import{u as v}from"./asyncData.457018c1.js";import{q as b}from"./query.5afa2fe7.js";import{H as w,F as k}from"./Footer.56818c9d.js";import"./ContentRendererMarkdown.vue.99ea831e.js";import"./index.d7bbaf09.js";import"./preview.a607ab40.js";import"./cookie.9e9f2b27.js";import"./ContentQuery.ded42da2.js";const I={id:"main-content",tabindex:"-1"},C={class:"bg-white px-6 py-12 sm:py-16 lg:px-8 lg:py-24"},B={class:"mx-auto items-center justify-center text-base leading-7 text-gray-700"},D={class:"mx-auto max-w-4xl"},N=["src","alt"],T={class:"mt-5 mx-auto prose max-w-4xl lg:prose-3xl"},V={class:"mb-0"},j={class:"relative my-6 flex flex-wrap items-center gap-x-5 gap-y-3"},S=["src"],q={class:"font-semibold text-gray-900"},A=["href"],F=t("span",{class:"absolute inset-0"},null,-1),H={class:"text-xs leading-6"},R=["datetime"],$={key:0,class:"inline-flex items-baseline rounded-full px-2.5 py-0.5 text-sm font-medium bg-green-100 text-green-800"},z=["href"],E=t("div",{class:"mx-auto max-w-4xl py-16 text-center"},[t("p",{class:"text-sm font-semibold uppercase tracking-[0.2em] text-blue-600"},"404"),t("h1",{class:"mt-4 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl"},"We couldn't find that tutorial"),t("p",{class:"mt-3 text-base leading-7 text-gray-600"},"It may have been moved or renamed."),t("div",{class:"mt-6 flex flex-wrap items-center justify-center gap-x-4 gap-y-2 text-sm font-semibold"},[t("a",{href:"/resources/tutorials",class:"text-blue-600 hover:text-blue-500"},"← Back to tutorials"),t("span",{class:"text-gray-300","aria-hidden":"true"},"|"),t("a",{href:"/",class:"text-gray-700 hover:text-gray-900"},"Go to homepage")])],-1),et={__name:"[...slug]",async setup(G){let s,l;const u=h(),{data:o}=([s,l]=p(()=>v("currentDoc",()=>b(u.path).findOne())),s=await s,l(),s);return o&&o.value&&o.value.coverImage&&f().$patch({ogImage:o.value.coverImage}),(M,O)=>{const x=d,_=g;return i(),n("main",I,[r(w),t("div",C,[t("div",B,[r(_,null,{default:c(({doc:e})=>[t("div",D,[e.coverImage?(i(),n("img",{key:0,src:e.coverImage,alt:e.coverImageText||e.title,class:"rounded-lg",style:{"max-height":"400px",margin:"auto","object-fit":"cover",width:"100%",height:"100%"}},null,8,N)):m("",!0)]),t("article",T,[t("h1",V,a(e.title),1),t("div",j,[t("img",{src:e.author.imageUrl,alt:"",class:"h-10 w-10 rounded-full bg-gray-100"},null,8,S),t("div",q,[t("a",{href:e.author.href},[F,y(" "+a(e.author.name),1)],8,A)]),t("div",H,[t("time",{datetime:e.datetime,class:"text-gray-500"},a(e.date),9,R)]),e.readingTime?(i(),n("div",$,a(e.readingTime.text),1)):m("",!0)]),t("div",null,[t("a",{href:e.category.href,class:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100"},a(e.category.title),9,z)]),r(x,{value:e},null,8,["value"])])]),"not-found":c(()=>[E]),_:1})])]),r(k)])}}};export{et 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.