2 lines
4.0 KiB
JavaScript
2 lines
4.0 KiB
JavaScript
import{M as h}from"./MainNavbar-DYfeRcdr.js";import{i as y,Z as v,r as n,c,a as o,w as d,b as t,t as i,F as m,d as b,o as a,e as C}from"./app-CBssobj-.js";import{F as w}from"./v3-DnjJww8i.js";import{C as D}from"./ClientScrollTimeline-CnUXvyjc.js";import{C as F}from"./ClientFooterDown-B1P9jP1W.js";import{A as k,a as A,b as E}from"./AdminIndexHeaderTitle-CW1E5hbW.js";import{A as B}from"./AdminIndexHeader-C9rCJkLR.js";import{C as S,a as I}from"./ClientPostSearch-B5aUVN-Q.js";import{C as M}from"./ClientPost-DIJzEVBF.js";import{C as N}from"./ClientEventSelectDate-DSCwmyIV.js";import{C as P}from"./ClientEventFilter-DT5MRLcl.js";import{M as H}from"./MainPageNavbar-Cmz730h9.js";import{_ as L}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./SearchModal-BTKERLZv.js";/* empty css */import"./SortingByFilter-Ds4x3JAu.js";const j={name:"Index",components:{MainPageNavBar:H,ClientEventFilter:P,ClientEventSelectDate:N,AdminIndexHeaderTitle:k,AdminIndexHeader:B,AdminIndexFilter:A,AdminIndexSearch:E,ClientFooterDown:F,ClientScrollTimeline:D,ClientPostFilter:S,Link:y,MainNavbar:h,FsLightbox:w,Head:v,ClientPost:M,ClientPostSearch:I},props:{events:{type:Array},currentDate:{type:String},eventDates:{type:Array},navigation:{type:Array},filters:{type:Array},categories:{type:Array}},methods:{}},T={class:"flex flex-col h-screen"},V={class:"flex-grow"},G={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},Y={class:"px-4 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},Z={class:"space-y-5 md:space-y-4"},q={class:"flex items-center w-full justify-center"},z={class:"my-10 justify-center flex gap-x-3 items-center"},J={class:"shadow-sm w-[35px]"},K={class:"block w-[35px] h-[27px] bg-white text-center font-medium"},O={class:"font-light text-xl"},Q={class:"space-y-5 md:space-y-4"},R={class:"grid gap-y-10 mt-10"},U={class:"grow"},W={class:"flex flex-col h-full"},X={class:"mb-3"},$={class:"inline-flex items-center gap-1.5 py-1.5 px-3 rounded-md text-[12px] text-gray-600"},tt={class:"inline-flex items-center gap-1.5 py-1.5 px-3 rounded-md text-xs font-medium bg-[#E9F2FE] text-blue-600"},et={class:"text-lg sm:text-2xl font-semibold text-gray-800 group-hover:text-blue-600"};function st(l,e,s,nt,ot,it){const p=n("Head"),x=n("MainPageNavBar"),_=n("ClientEventFilter"),f=n("ClientEventSelectDate"),g=n("Link"),u=n("ClientFooterDown");return a(),c(m,null,[o(p,null,{default:d(()=>e[0]||(e[0]=[t("title",null,"Мероприятия",-1),t("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),o(x,{class:"border-b",sections:l.$page.props.navigation},null,8,["sections"]),t("div",T,[t("main",V,[t("div",G,[t("div",Y,[t("div",null,[t("div",Z,[t("div",q,[e[1]||(e[1]=t("h1",{class:"block text-brand-primary text-center mb-3 mt-2 mr-4 text-3xl font-semibold tracking-tight dark:text-white lg:text-[40px] lg:leading-tight"}," Мероприятия НТГСПИ ",-1)),o(_,{is_online_filter:s.filters.is_online_filter,categories:this.categories,category_filter:s.filters.category_filter,"sorting-by_filter":s.filters.sortingBy_filter},null,8,["is_online_filter","categories","category_filter","sorting-by_filter"])]),t("div",z,[e[3]||(e[3]=t("h3",{class:"font-light text-xl"},"Мероприятия на ",-1)),t("div",J,[e[2]||(e[2]=t("div",{class:"block w-[35px] h-[8px] bg-red-400 rounded-t"},null,-1)),t("div",K,i(s.currentDate.day),1)]),t("h3",O,i(s.currentDate.month),1)]),t("div",Q,[t("div",null,[o(f,{"current-date":s.currentDate.fullDate,dates:s.eventDates},null,8,["current-date","dates"])])])]),t("div",R,[(a(!0),c(m,null,b(s.events.data,r=>(a(),C(g,{class:"group sm:flex rounded-xl",href:l.route("client.event.show",r.slug)},{default:d(()=>[t("div",U,[t("div",W,[t("div",X,[t("p",$,i(r.event_time_start),1),t("p",tt,i(r.category),1)]),t("h3",et,i(r.title),1),e[4]||(e[4]=t("p",{class:"mt-2 text-gray-600"}," Great news we're eager to share. ",-1))])])]),_:2},1032,["href"]))),256))])])])])]),o(u)])],64)}const Ct=L(j,[["render",st]]);export{Ct as default};
|