Files
ntspi-app/public/build/assets/Show-I4cdhEH8.js
T
2024-10-04 12:48:19 +05:00

2 lines
3.4 KiB
JavaScript

import{M as v}from"./MainNavbar-CK8Gfm-M.js";import{i as b,Z as C,r as e,c as a,a as o,w as B,b as t,t as n,F as m,d as k,o as i}from"./app-C722ecVx.js";import{F as w}from"./v3-918lQ39M.js";import{C as S}from"./ClientScrollTimeline-CBg4yF9s.js";import{C as T}from"./ClientFooterDown-nb4a-O5q.js";import{C as F}from"./ClientImageSlider-DIxDD91b.js";import{P as M,a as L,b as N,c as A,d as D}from"./PostGallery-B_nOxnzS.js";import{P as H}from"./PostBuilder-B7-qAkNW.js";import{P as G}from"./EventBadgeBuilder-BM5JLHrZ.js";import{a as R,C as j}from"./ClientPostSearch-kaUIQH-M.js";import{C as I}from"./ClientPost-BxLMuODS.js";import{A as O}from"./AdminIndexHeader-CZHN_Vzm.js";import{M as V}from"./MainPageNavbar-DcM2ZJ6Y.js";import{_ as E}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./SearchModal-72Hbiqqz.js";/* empty css */import"./PostItemBlock-BZ4FcbP2.js";import"./PageTabBuilder-CRT8Vrz4.js";import"./SortingByFilter-Bz0ugPNO.js";const Y={name:"Show",components:{MainPageNavBar:V,AdminIndexHeader:O,ClientPost:I,ClientPostSearch:R,ClientPostFilter:j,PostBadge:G,PostGallery:M,PostBuilder:H,PostTimeRead:L,PostAuthorsList:N,PostBackButton:A,PostTitle:D,ClientImageSlider:F,ClientFooterDown:T,ClientScrollTimeline:S,Link:b,MainNavbar:v,FsLightbox:w,Head:C},data(){return{blocks:this.post.data.content}},props:{post:{type:Object},navigation:{type:Object},searchMatch:{type:String,default:""}},mounted(){},methods:{}},Z={class:"flex flex-col h-screen"},q={class:"flex-grow"},z={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},J={class:"max-w-3xl lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},K={class:"space-y-5 md:space-y-10"},Q={class:"space-y-3"},U={class:"flex space-x-3 text-gray-500"},W={class:"flex items-center gap-3"},X={class:"md:flex md:items-center space-y-2 md:space-y-0 md:space-x-4 text-sm"},$={class:"block text-gray-500"},tt={class:"space-y-3 md:space-y-4"},et=["href"];function ot(l,r,s,st,at,nt){const d=e("Head"),p=e("ClientScrollTimeline"),_=e("MainPageNavBar"),u=e("PostBackButton"),f=e("PostTitle"),g=e("PostAuthorsList"),h=e("PostTimeRead"),x=e("PostBuilder"),P=e("PostGallery"),y=e("ClientFooterDown");return i(),a(m,null,[o(d,null,{default:B(()=>[t("title",null,n(s.post.data.title),1),r[0]||(r[0]=t("meta",{name:"description",content:"Your page description"},null,-1))]),_:1}),o(p),o(_,{class:"border-b",sections:l.$page.props.navigation},null,8,["sections"]),t("div",Z,[t("main",q,[t("div",z,[t("div",J,[t("div",null,[t("div",K,[t("div",Q,[o(u,{title:"Назад"}),o(f,{header:s.post.data.title},null,8,["header"])]),t("div",U,[t("div",W,[t("div",X,[o(g,{authors:s.post.data.authors},null,8,["authors"]),t("time",$,"Опубликовано "+n(s.post.data.created_post),1),o(h,{time:s.post.data.reading_time},null,8,["time"])])])]),t("div",tt,[o(x,{blocks:this.blocks},null,8,["blocks"])]),t("div",null,[o(P,{title:s.post.data.title,images:s.post.data.gallery},null,8,["title","images"])]),t("div",null,[(i(!0),a(m,null,k(s.post.data.tags,c=>(i(),a("a",{href:l.route("client.post.index",{"tag[]":c.slug}),class:"m-1 inline-flex items-center gap-1.5 py-2 px-3 rounded-full text-sm bg-gray-100 text-gray-800 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 dark:bg-neutral-800 dark:text-neutral-200 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"},n(c.name),9,et))),256))])])])])])]),o(y)])],64)}const kt=E(Y,[["render",ot]]);export{kt as default};