PageSourceSearch

https://elysiajs.com/assets/chunks/Layout.vue_vue_type_style_index_0_lang.vFOpJKBI.js

js elysiajs.com collected 2026-10-03 22:02:15 UTC 2,189 bytes, 1 lines download raw bytes

1import{_ as p}from"./banner.vue_vue_type_style_index_0_lang.Bqo9-Ljo.js";import{j as h,H as c,J as _,q as i,k as g,S as y,D as t,s as m,u as o,E as w,p as b,l as k,v,W as V,bV as B,y as E,r as S}from"./framework.DitISda3.js";const C={id:"blog",class:"flex flex-col max-w-3xl w-full mx-auto mt-8"},N={class:"!text-3xl !md:text-4xl font-medium"},$={class:"flex gap-2 items-center mt-3"},q=["alt"],D={class:"flex flex-col justify-start"},F={class:"!text-sm !m-0 opacity-75"},L={class:"flex flex-row items-center gap-2 !text-xs !m-0 opacity-75"},j=["datetime"],H=["src","alt"],P={id:"blog-content"},J=h({__name:"Layout",props:{title:{},src:{},alt:{},author:{},date:{},shadow:{type:Boolean}},setup(d){const n=S(!1);c(()=>{n.value=!0});const u={saltyaom:{src:"ely.webp",twitter:"saltyaom"}},e=d,l=u[e.author],f=`/blog/authors/${l.src}`,x=`https://twitter.com/${l.twitter}`,r=[".aside",".content",".content-container",".VPDocFooter"];return c(()=>{r.forEach(a=>{document.querySelector(a)?.classList.add("blog")})}),_(()=>{r.forEach(a=>{document.querySelector(a)?.classList.remove("blog")})}),(a,s)=>(i(),g(y,null,[t("article",C,[s[1]||(s[1]=t("a",{href:"/blog",class:"inline-flex items-center gap-2 text-base !text-mauve-500 dark:!text-mauve-400 !no-underline hover:!text-pink-500 focus:!text-pink-500 my-2 mr-auto"},[t("span",null,"←"),m(" Blog ")],-1)),t("h1",N,o(e.title),1),t("aside",$,[t("img",{class:"w-9 h-9 rounded-full",src:f,alt:e.author},null,8,q),t("div",D,[t("h3",F,o(e.author),1),t("p",L,[t("time",{datetime:e.date},o(e.date),9,j),s[0]||(s[0]=t("span",null,"ー",-1)),t("a",{href:x,target:"_blank"},"@"+o(w(l).twitter),1)])])]),t("img",{src:e.src,alt:e.alt,class:b(["w-full mt-5 mb-2",e.shadow?"shadow-xl shadow-black/7.5":"border"])},null,10,H),t("main",P,[k(a.$slots,"default")]),s[2]||(s[2]=t("a",{href:"/",class:"inline-flex items-center gap-2 text-base !text-mauve-500 dark:!text-mauve-400 !no-underline hover:!text-pink-500 focus:!text-pink-500 mt-2 mr-auto"},[t("span",null,"←"),m(" Elysia: Ergonomic Framework for Humans ")],-1))]),n.value?(i(),v(B,{key:0,defer:"",to:"#VPContent"},[V(p,{class:"-translate-y-12 md:-translate-y-18"})])):E("",!0)],64))}});export{J as _};

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.