2 lines
12 KiB
JavaScript
2 lines
12 KiB
JavaScript
import{M as w}from"./MainNavbar-CBx37KIe.js";import{i as b,Z as k,r as d,o as a,c as i,a as l,w as x,b as t,t as s,F as c,d as u,g as h,h as m,f as n}from"./app-DmJ8GS-7.js";import{F as z}from"./v3-rkPj73qv.js";import{C}from"./ClientScrollTimeline-zadrTdrA.js";import{C as j}from"./ClientFooterDown-D8UuGhzW.js";import{a as M,C as S}from"./ClientPostSearch-D0YX2x3W.js";import{C as E}from"./ClientPost-BP_ZUrbH.js";import{A}from"./AdminIndexHeader-CAfP1jQ8.js";import{_ as B}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./SearchModal.vue_vue_type_style_index_0_scoped_a4fc4416_lang-CbsljUTZ.js";/* empty css */const H={name:"Show",components:{ClientPostSearch:M,AdminIndexHeader:A,ClientPost:E,ClientPostFilter:S,ClientFooterDown:j,ClientScrollTimeline:C,Link:b,MainNavbar:w,FsLightbox:z,Head:k},data(){return{}},props:{additionalEducation:{type:Object}},methods:{getFormOfStudy(r){return Array.from(new Set(r.map(o=>o.form_edu)))},getYearOfStudy(r){return Array.from(new Set(r.map(o=>o.period_data)))}}},L=t("title",null,"Образовательная программа",-1),F=t("meta",{name:"description",content:"Your page description"},null,-1),N={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},O={class:"px-4 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},V={class:"space-y-5 md:space-y-4"},D={class:"space-y-5 md:space-y-4"},T={class:"container px-8 mx-auto xl:px-5 max-w-screen-lg py-5 lg:py-8"},Y=t("a",{onclick:"history.back()",class:"inline-flex items-center gap-x-1.5 text-sm text-gray-600 decoration-2 hover:underline dark:text-blue-500",href:"#"},[t("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"},[t("path",{d:"m15 18-6-6 6-6"})]),h(" Назад ")],-1),P={class:"space-y-3 flex flex-col items-center justify-center"},I={class:"text-2xl text-center font-bold md:text-4xl"},q={class:"max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8 lg:py-14 mx-auto"},Z={class:"grid sm:grid-cols-2 lg:grid-cols-3 items-start gap-12"},G={class:"text-center"},J=m('<div class="flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"><svg class="flex-shrink-0 size-5 text-gray-600" 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"><rect width="10" height="14" x="3" y="8" rx="2"></rect><path d="M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4"></path><path d="M8 18h.01"></path></svg></div>',1),K={class:"mt-3"},Q=t("h3",{class:"text-lg font-semibold text-gray-800"},"Направление подготовки",-1),R={class:"mt-1 text-gray-600"},U={class:"text-center"},W=m('<div class="flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"><svg class="flex-shrink-0 size-5 text-gray-600" 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"><path d="M20 7h-9"></path><path d="M14 17H5"></path><circle cx="17" cy="17" r="3"></circle><circle cx="7" cy="7" r="3"></circle></svg></div>',1),X={class:"mt-3"},$=t("h3",{class:"text-lg font-semibold text-gray-800"},"Срок обучения",-1),tt={class:"mt-1 text-gray-600"},et={class:"text-center"},st=t("div",{class:"flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"},[t("svg",{class:"flex-shrink-0 size-5 text-gray-600",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"},[t("path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"}),t("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"})])],-1),ot={class:"mt-3"},at=t("h3",{class:"text-lg font-semibold text-gray-800"},"Присваиваемая квалификация",-1),it={class:"mt-1 text-gray-600"},nt={class:"text-center"},rt=t("div",{class:"flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"},[t("svg",{class:"flex-shrink-0 size-5 text-gray-600",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"},[t("path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"}),t("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"})])],-1),dt={class:"mt-3"},lt=t("h3",{class:"text-lg font-semibold text-gray-800"},"Форма обучения",-1),ct={class:"mt-1 text-gray-600"},ht={class:"text-center"},_t=t("div",{class:"flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"},[t("svg",{class:"flex-shrink-0 size-5 text-gray-600",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"},[t("path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"}),t("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"})])],-1),xt={class:"mt-3"},ut=t("h3",{class:"text-lg font-semibold text-gray-800"},"Цена обучения",-1),mt={class:"mt-1 text-gray-600"},gt={class:"text-center"},pt=t("div",{class:"flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"},[t("svg",{class:"flex-shrink-0 size-5 text-gray-600",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"},[t("path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"}),t("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"})])],-1),ft={class:"mt-3"},vt=t("h3",{class:"text-lg font-semibold text-gray-800"},"Целевая аудитория",-1),yt={class:"mt-1 text-gray-600"},wt=t("div",{class:"space-y-3 flex flex-col mb-[50px] items-center justify-center"},[t("button",{type:"button",class:"py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none"}," Оставить заявку на консультацию ")],-1),bt=t("div",null,null,-1),kt=t("h2",{class:"text-xl font-bold md:text-2xl"},"О программе",-1),zt={class:"py-4 px-5"},Ct={key:0,class:"mb-4"},jt={class:"font-bold text-xl"},Mt={key:1},St=["src"],Et=["innerHTML"],At={key:3},Bt={class:"flex border rounded-lg px-4 py-2 items-center justify-between"},Ht={class:"flex items-center"},Lt=t("div",{class:"w-[35px] h-[35px] bg-black flex justify-center items-center rounded-xl mr-2"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13",stroke:"white"})])],-1),Ft=["href"],Nt=t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"})],-1),Ot=[Nt],Vt={key:4},Dt={key:0,class:"w-full mx-auto"},Tt=["href"],Yt=t("div",{class:"flex-shrink-0 relative w-full rounded-xl overflow-hidden w-full h-[350px] before:absolute before:inset-x-0 before:w-full before:h-full before:bg-gradient-to-t before:from-gray-900/[.7] before:z-[1]"},null,-1),Pt={class:"absolute top-0 inset-x-0 z-10"},It={class:"p-4 flex flex-col h-full sm:p-6"},qt={class:"flex items-center"},Zt={class:"ms-2.5 sm:ms-4"},Gt={class:"font-semibold text-white"},Jt={class:"text-xs text-white/[.8]"},Kt={class:"absolute bottom-0 inset-x-0 z-10"},Qt={class:"flex flex-col h-full p-4 sm:p-6"},Rt={class:"text-lg sm:text-3xl font-semibold text-white group-hover:text-white/[.8]"},Ut={class:"mt-2 text-white/[.8]"},Wt={key:1,class:"flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},Xt={class:"flex items-center gap-x-4"},$t=["src"],te={class:"grow"},ee={class:"text-xs text-gray-500 mt-2"},se={class:"text-xs text-gray-500 mt-2"},oe=["href"];function ae(r,_,o,ie,ne,re){const g=d("Head"),p=d("MainNavbar"),f=d("Link"),v=d("ClientFooterDown");return a(),i(c,null,[l(g,null,{default:x(()=>[L,F]),_:1}),l(p,{class:"border-b",sections:r.$page.props.navigation},null,8,["sections"]),t("div",N,[t("div",O,[t("div",null,[t("div",V,[t("div",D,[t("div",null,[t("div",T,[Y,t("div",P,[t("h1",I,s(o.additionalEducation.data.title),1)]),t("div",q,[t("div",Z,[t("div",G,[J,t("div",K,[Q,t("p",R,s(o.additionalEducation.data.directionAdditionalEducation.title)+" "+s(o.additionalEducation.data.category),1)])]),t("div",U,[W,t("div",X,[$,t("p",tt,s(o.additionalEducation.data.learning_time)+" часов",1)])]),t("div",et,[st,t("div",ot,[at,t("p",it,s(o.additionalEducation.data.qualification),1)])]),t("div",nt,[rt,t("div",dt,[lt,t("p",ct,s(o.additionalEducation.data.form_education),1)])]),t("div",ht,[_t,t("div",xt,[ut,t("p",mt,s(o.additionalEducation.data.price)+" ₽",1)])]),t("div",gt,[pt,t("div",ft,[vt,t("p",yt,s(o.additionalEducation.data.target_group),1)])])])]),wt,bt,t("div",null,[kt,t("div",zt,[(a(!0),i(c,null,u(this.additionalEducation.data.content,e=>(a(),i(c,{key:e.id},[e.type==="heading"?(a(),i("div",Ct,[t("h2",jt,s(e.data.content),1)])):n("",!0),e.type==="image"?(a(),i("div",Mt,[(a(!0),i(c,null,u(e.data.url,y=>(a(),i("img",{loading:"lazy",class:"mx-auto object-cover rounded-sm hover:opacity-95 hover:duration-200 transition",src:"/storage/"+y,alt:""},null,8,St))),256))])):n("",!0),e.type==="paragraph"?(a(),i("div",{key:2,class:"text-[16px] text-[#374151] leading-8 font-light paragraph-container",innerHTML:e.data.content},null,8,Et)):n("",!0),e.type==="attaches"?(a(),i("div",At,[t("div",Bt,[t("div",Ht,[Lt,t("div",null,s(e.data.title),1)]),t("a",{href:e.data.file.url,download:"",type:"button",class:"w-[35px] h-[35px] flex bg-gray-100 rounded-lg justify-center items-center hover:bg-gray-200 duration-200"},Ot,8,Ft)])])):n("",!0),e.type==="linkTool"?(a(),i("div",Vt,[e.data.meta.type==="post"?(a(),i("div",Dt,[t("a",{class:"group relative block rounded-xl dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600",href:e.data.link},[Yt,t("div",Pt,[t("div",It,[t("div",qt,[t("div",Zt,[t("h4",Gt,s(e.data.meta.data.authors[0].name),1),t("p",Jt,s(e.data.meta.data.created_post),1)])])])]),t("div",Kt,[t("div",Qt,[t("h3",Rt,s(e.data.meta.data.title),1),t("p",Ut,s(r.textLimit(e.data.meta.description,200)),1)])])],8,Tt)])):n("",!0),e.data.meta.type==="student"?(a(),i("div",Wt,[t("div",Xt,[t("img",{loading:"lazy",class:"rounded-xl w-[150px]",src:e.data.meta.data.photo,alt:"Image Description"},null,8,$t),t("div",te,[l(f,{href:e.data.link,class:"font-medium text-gray-800 hover:text-gray-500 underline"},{default:x(()=>[h(s(e.data.meta.title),1)]),_:2},1032,["href"]),t("p",ee,s(e.data.meta.data.position),1),t("p",se,[h(s(e.data.meta.data.contactEmail)+" / ",1),t("a",{href:e.data.meta.data.vk_link},"Вконтакте",8,oe)])])])])):n("",!0)])):n("",!0)],64))),128))])])])])])])])])]),l(v)],64)}const ve=B(H,[["render",ae]]);export{ve as default};
|