{% extends 'layouts/layoutSystem.twig' %}
{% block title %}{{ translate('Account') }}{% endblock %}

{% block content %}
	
	<h1 class="flex items-center text-3xl font-bold">{{ translate('Account') }}
		{% if jsdata.aiconfigured %}
			<span class="pl-4 text-lg">
				<a href="javascript:void(0)" onclick="eventBus.$emit('startHelp')" class="text-stone-400 hover:text-teal-600 transition duration-100">
					<svg class="icon icon-question"><use xlink:href="#icon-question"></use></svg>
				</a>
			</span>	
		{% endif %}
	</h1>
	
	<div id="account" v-cloak></div>

{% endblock %}

{% block javascript %}

	<script src="{{ base_url() }}/system/typemill/author/js/vue-user.js?v={{ settings.version }}"></script>
	<script src="{{ base_url() }}/system/typemill/author/js/vue-forms.js?v={{ settings.version }}"></script>
	<script>
		app.config.globalProperties.$filters = translatefilter;
		app.mount('#account');
	</script>

{% endblock %}
