1 line
1.4 KiB
JavaScript
1 line
1.4 KiB
JavaScript
import{A as e,D as t,I as n,J as r,L as i,M as a,N as o,R as s,Tt as c,Z as l,_ as u,n as d}from"./BasicIcon-B6lR-mG3.js";import{t as f}from"./IconChevronBack-BXRfc2bX.js";var p={class:`page profile-subpage mobile-only`},m={class:`page__scroll page__scroll--with-nav`},h={class:`profile-subpage__card card`},g={class:`profile-subpage__nav`},_={class:`profile-subpage__title`},v={type:`button`,class:`nav-btn nav-btn--ghost`,"aria-hidden":`true`,tabindex:`-1`},y={class:`desktop-page profile-subpage-desktop desktop-only`},b={class:`desktop-page__head profile-subpage-desktop__head`},x={class:`desktop-page__title`},S={key:0,class:`desktop-page__subtitle`},C={class:`profile-subpage-desktop__panel card`},w=d(s({__name:`ProfileSubpageLayout`,props:{title:{},subtitle:{}},setup(s){let d=u();function w(){d.push(`/profile`)}return(u,d)=>(r(),o(t,null,[e(`div`,p,[e(`div`,m,[e(`div`,h,[e(`header`,g,[e(`button`,{type:`button`,class:`nav-btn`,"aria-label":`بازگشت`,onClick:w},[i(f,{size:20})]),e(`h1`,_,c(s.title),1),e(`button`,v,[i(f,{size:18,class:`nav-btn__flip`})])]),l(u.$slots,`default`,{},void 0,!0)])])]),e(`div`,y,[e(`header`,b,[e(`button`,{type:`button`,class:`profile-subpage-desktop__back`,onClick:w},[i(f,{size:18}),d[0]||=n(` بازگشت به پروفایل `,-1)]),e(`h1`,x,c(s.title),1),s.subtitle?(r(),o(`p`,S,c(s.subtitle),1)):a(``,!0)]),e(`section`,C,[l(u.$slots,`default`,{},void 0,!0)])])],64))}}),[[`__scopeId`,`data-v-8d824229`]]);export{w as t}; |