PageSourceSearch

https://stijnshome.be/_nuxt/CHmW86sk.js

js stijnshome.be collected 2026-10-02 14:22:41 UTC 2,048 bytes, 1 lines download raw bytes

1import{_ as k}from"./C1D8lIFL.js";import{e as g,bo as C,c as v,h as L,i as c,o as p,d as s,b as t,t as x,w as n,N,M as w,g as y,a as l,F as O,r as S,a3 as b,j as B,aH as j}from"./B0TLEJS9.js";import{V as F}from"./-isiqQi-.js";import{V as d,a as u}from"./Cl6Qiv78.js";import{V as R}from"./DDAjAhww.js";import"./jQHn1R59.js";import"./CAR5OdIU.js";import"./D9JWZkfS.js";const T={key:0},E=g({__name:"LoginStatus",setup(V){const{logout:i,user:a}=C();function r(){i(),N().replace("/")}return(e,o)=>{const _=k;return c(a)?(p(),v("div",T,[s("Logged in as "+x(c(a).name)+". ",1),t(_,{to:"/admin"},{default:n(()=>o[1]||(o[1]=[s("Admin area",-1)])),_:1,__:[1]}),o[3]||(o[3]=s(". ",-1)),t(F,{onClick:o[0]||(o[0]=f=>r()),size:"small",rounded:"3",class:"mx-2"},{default:n(()=>o[2]||(o[2]=[s("Logout",-1)])),_:1,__:[2]})])):L("",!0)}}}),M=Object.assign(E,{__name:"LoginStatus"}),q=g({__name:"default",setup(V){const i=w(),a=[{link:"/",title:"HOME"},{link:"/info",title:"INFO"},{link:"/projects",title:"PROJECTS"},{link:"/contact",title:"CONTACT"}];return(r,e)=>{const o=k,_=M,f=j;return p(),y(R,{class:"container px-3 py-0 mx-auto"},{default:n(()=>[t(d,{class:"header"},{default:n(()=>[t(u,{class:"v-col-5 v-col-sm-4 v-col-md-3 logo"},{default:n(()=>[t(o,{to:"/"},{default:n(()=>e[0]||(e[0]=[l("span",null,null,-1)])),_:1,__:[0]}),e[1]||(e[1]=l("div",{class:"px-4"},[l("h1",null,"Stijn Vermeeren")],-1))]),_:1,__:[1]}),t(u,{class:"v-col-7 v-col-sm-8 v-col-md-9 menu"},{default:n(()=>[(p(),v(O,null,S(a,m=>l("div",{class:b(["d-inline-block",{active:c(i).meta.activeMenuLink===m.link}])},[t(o,{to:m.link},{default:n(()=>[s(x(m.title),1)]),_:2},1032,["to"])],2)),64))]),_:1})]),_:1}),t(d,{class:"content my-0 py-4"},{default:n(()=>[t(u,null,{default:n(()=>[B(r.$slots,"default")]),_:3})]),_:3}),t(d,{class:"attribution"},{default:n(()=>[t(u,null,{default:n(()=>[e[2]||(e[2]=l("div",null,[s("Icons from "),l("a",{href:"https://www.flaticon.com/"},"Flaticon"),s(".")],-1)),t(f,null,{default:n(()=>[t(_)]),_:1})]),_:1,__:[2]})]),_:1})]),_:3})}}});export{q 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.