Files
nademitex_user/dist/assets/ProfileSubpageLayout-VuAWanhC.js
T

1 line
1.4 KiB
JavaScript

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