Files
ntspi-app/public/build/assets/Error-Di_6EIG6.js
T
2024-10-14 14:56:10 +05:00

2 lines
2.4 KiB
JavaScript

import{A as c,r as s,c as d,a as n,w as p,b as e,t as r,g as m,F as u,o as f}from"./app-lWrE2aWG.js";import"./v3-CDJmn87G.js";import{C as x}from"./SearchModal-CGHtjMJb.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import{M as g}from"./MainPageNavbar-BsdceJwT.js";const h=c({components:{ClientFooterDown:x,MainPageNavBar:g},props:{status:Number},computed:{title(){return{503:"503",500:"500",404:"404",403:"403"}[this.status]},description(){return{503:"Простите, мы проводим технические работы на странице.",500:"Упс, проблема на стороне сервера. Мы уже решаем проблему!",404:"Упс, страница не найдена!",403:"Извините, у вас нет доступа к этой секции."}[this.status]}}}),w={class:"flex flex-col h-screen justify-between"},b={class:"max-w-[50rem] flex flex-col mx-auto size-full"},v={class:"my-auto",id:"content"},y={class:"text-center py-10 px-4 sm:px-6 lg:px-8"},k={class:"block text-7xl font-bold text-gray-800 sm:text-9xl"},C={class:"text-gray-600"},B={class:"mt-5 flex flex-col justify-center items-center gap-2 sm:flex-row sm:gap-3"},N=["href"];function F(t,o,$,j,D,M){const a=s("Head"),i=s("MainPageNavBar"),l=s("ClientFooterDown");return f(),d(u,null,[n(a,null,{default:p(()=>[e("title",null,"Ошибка "+r(t.title),1),o[0]||(o[0]=e("meta",{name:"description",content:"Your page description"},null,-1))]),_:1}),e("div",w,[n(i,{class:"border-b",sections:t.$page.props.navigation},null,8,["sections"]),e("div",b,[e("main",v,[e("div",y,[e("h1",k,r(t.title),1),e("p",C,r(t.description),1),e("div",B,[e("a",{href:t.route("index"),class:"w-full sm:w-auto py-3 px-4 inline-flex justify-center items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none"},o[1]||(o[1]=[e("svg",{class:"flex-shrink-0 size-4",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m15 18-6-6 6-6"})],-1),m(" На домашнюю страницу ")]),8,N)])])])]),n(l)])],64)}const I=_(h,[["render",F],["__scopeId","data-v-f864d284"]]);export{I as default};