Files
ntspi-app/public/build/assets/Index-DiTvP9AK.js
T
2024-10-04 16:05:23 +05:00

2 lines
4.5 KiB
JavaScript

import{M as f}from"./MainNavbar-DYfeRcdr.js";import{i as h,Z as b,r as a,c,a as n,w as r,b as e,F as x,d as _,o as d,e as v,t as i}from"./app-CBssobj-.js";import{F as y}from"./v3-DnjJww8i.js";import{C as w}from"./ClientScrollTimeline-CnUXvyjc.js";import{C as k}from"./ClientFooterDown-B1P9jP1W.js";import{A as C,a as F,b as B}from"./AdminIndexHeaderTitle-CW1E5hbW.js";import{A}from"./AdminIndexHeader-C9rCJkLR.js";import{C as M}from"./ClientEventSelectDate-DSCwmyIV.js";import{M as I}from"./MainPageNavbar-Cmz730h9.js";import{_ as N}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./SearchModal-BTKERLZv.js";/* empty css */const D={name:"Index",components:{MainPageNavBar:I,ClientEventSelectDate:M,AdminIndexHeaderTitle:C,AdminIndexHeader:A,AdminIndexFilter:F,AdminIndexSearch:B,ClientFooterDown:k,ClientScrollTimeline:w,Link:h,MainNavbar:f,FsLightbox:y,Head:b},props:{exhibitions:{type:Array}},methods:{},mounted(){}},H={class:"flex flex-col h-screen"},L={class:"flex-grow"},E={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},P={class:"px-4 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},S={class:"container px-8 mx-auto xl:px-5 max-w-screen-md"},j={class:"my-10 sm:my-14"},z={class:"grow"},T={class:"flex flex-col h-full"},V={class:"mb-3"},W={class:"inline-flex items-center gap-1.5 py-1.5 px-3 rounded-md text-[12px] text-gray-600"},Y={class:"inline-flex items-center gap-1.5 py-1.5 px-3 rounded-md text-xs font-medium bg-[#E9F2FE] text-blue-600"},Z={class:"text-lg sm:text-2xl font-semibold text-gray-800 group-hover:text-blue-600"},q={class:"mt-2 text-gray-600"},G={class:"mt-10 flex items-center justify-center"},J={class:"isolate inline-flex -space-x-px rounded-md shadow-sm","aria-label":"Pagination"};function K(m,t,s,O,Q,R){const p=a("Head"),g=a("MainPageNavBar"),l=a("Link"),u=a("ClientFooterDown");return d(),c(x,null,[n(p,null,{default:r(()=>t[0]||(t[0]=[e("title",null,"Виртуальные выставки",-1),e("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),n(g,{class:"border-b",sections:m.$page.props.navigation},null,8,["sections"]),e("div",H,[e("main",L,[e("div",E,[e("div",P,[e("div",null,[t[3]||(t[3]=e("div",{class:"space-y-5 md:space-y-4"},[e("div",{class:"max-w-2xl text-center mx-auto mb-10 lg:mb-14"},[e("h2",{class:"text-2xl font-bold md:text-4xl md:leading-tight dark:text-white"},"Виртуальные выставки"),e("p",{class:"mt-1 text-gray-600 dark:text-neutral-400"},"We've helped some great companies brand, design and get to market.")])],-1)),e("div",S,[e("div",j,[(d(!0),c(x,null,_(s.exhibitions.data,o=>(d(),v(l,{href:m.route("client.library.exhibition.show",o.id),class:"group sm:flex rounded-xl mb-4"},{default:r(()=>[e("div",z,[e("div",T,[e("div",V,[e("p",W,i(o.created_at),1),e("p",Y,i(o.category),1)]),e("h3",Z,i(o.title),1),e("p",q,i(o.preview_text),1)])])]),_:2},1032,["href"]))),256)),e("div",G,[e("nav",J,[n(l,{as:"button",href:s.exhibitions.links.prev,disabled:s.exhibitions.links.prev===null,class:"relative inline-flex items-center gap-1 rounded-l-md border border-gray-300 bg-white px-3 py-2 pr-4 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20 disabled:pointer-events-none disabled:opacity-40 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300"},{default:r(()=>t[1]||(t[1]=[e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon",class:"h-3 w-3"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})],-1),e("span",null,"Предыдущая",-1)])),_:1},8,["href","disabled"]),n(l,{as:"button",href:s.exhibitions.links.next,disabled:s.exhibitions.links.next===null,class:"relative inline-flex items-center gap-1 rounded-r-md border border-gray-300 bg-white px-3 py-2 pl-4 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20 disabled:pointer-events-none disabled:opacity-40 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300"},{default:r(()=>t[2]||(t[2]=[e("span",null,"Следующая",-1),e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon",class:"h-3 w-3"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})],-1)])),_:1},8,["href","disabled"])])])])])])])])]),n(u)])],64)}const de=N(D,[["render",K]]);export{de as default};