mirror of
https://github.com/Rakantor/personal-portfolio.git
synced 2025-12-17 19:36:32 +01:00
2 lines
714 B
JavaScript
2 lines
714 B
JavaScript
import{_}from"./nuxt-link.BltHa6-Z.js";import{_ as d,v as p,w as o,R as u,o as t,c as r,t as a,b as i,d as l}from"./entry.XZ73OZLO.js";const h={name:"EmptyLayout",layout:"empty",props:{error:{type:Object,default:null}},data(){return{pageNotFound:"404 Not Found",otherError:"An error occurred"}},head(){return{title:this.error.statusCode===404?this.pageNotFound:this.otherError}}},m={key:0},f={key:1};function y(s,k,n,x,e,N){const c=_;return t(),p(u,{dark:""},{default:o(()=>[n.error.statusCode===404?(t(),r("h1",m,a(e.pageNotFound),1)):(t(),r("h1",f,a(e.otherError),1)),i(c,{to:"/"},{default:o(()=>[l(" Home page ")]),_:1})]),_:1})}const F=d(h,[["render",y],["__scopeId","data-v-f5e084b9"]]);export{F as default};
|