import './profilePage.scss';
import AccountBlock from '../../block/account/Account.jsx';
import Cross from '/svg/cross.svg';

const Profile = D.declare('view.page.Profile', () => {
    return <div class="profile-page">
        <button class="profile-page__link-back" onclick={()=> ACTION.NAVIGATE.execute( 'Account')} type="button" aria-label="Вернуться на страницу аккаунта">
            <Cross width="24" height="24"/>
        </button>
        <div class="profile-page__wrapper">
            <AccountBlock/>
        </div>
    </div>
});

export default Profile;
export {Profile};
