<template>
  <div>
    <q-toolbar class="bg-grey-3">
      <q-breadcrumbs>
        <q-breadcrumbs-el icon="home" to="/" />
        <q-breadcrumbs-el :label="$t('profile')" />
      </q-breadcrumbs>
    </q-toolbar>
    <q-page class="q-pa-md">
      <div class="text-h5 q-mb-md">
        {{ $t('user_profile.title') }}
      </div>
      <profile-user />

      <div class="text-h6 q-mt-lg q-mb-md">
        {{ $t('r_activity') }}
      </div>
      <div class="text-help q-mb-md">
        {{ $t('r_activity_info') }}
      </div>
      <r-activity :principal="authStore.profile.principal" />
    </q-page>
  </div>
</template>

<script setup lang="ts">
import ProfileUser from 'src/components/profile/ProfileUser.vue';
import RActivity from 'src/components/admin/profiles/RActivity.vue';

const authStore = useAuthStore();
</script>
