1 line
1.4 KiB
JavaScript
1 line
1.4 KiB
JavaScript
import{Et as e,L as t,N as n,O as r,P as i,Q as a,R as o,Y as s,_ as c,j as l,n as u,z as d}from"./BasicIcon-C6boaehV.js";import{t as f}from"./IconChevronBack-DORV2H0q.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=u(d({__name:`ProfileSubpageLayout`,props:{title:{},subtitle:{}},setup(u){let d=c();function w(){d.push(`/profile`)}return(c,d)=>(s(),i(r,null,[l(`div`,p,[l(`div`,m,[l(`div`,h,[l(`header`,g,[l(`button`,{type:`button`,class:`nav-btn`,"aria-label":`بازگشت`,onClick:w},[o(f,{size:20})]),l(`h1`,_,e(u.title),1),l(`button`,v,[o(f,{size:18,class:`nav-btn__flip`})])]),a(c.$slots,`default`,{},void 0,!0)])])]),l(`div`,y,[l(`header`,b,[l(`button`,{type:`button`,class:`profile-subpage-desktop__back`,onClick:w},[o(f,{size:18}),d[0]||=t(` بازگشت به پروفایل `,-1)]),l(`h1`,x,e(u.title),1),u.subtitle?(s(),i(`p`,S,e(u.subtitle),1)):n(``,!0)]),l(`section`,C,[a(c.$slots,`default`,{},void 0,!0)])])],64))}}),[[`__scopeId`,`data-v-8d824229`]]);export{w as t}; |