<template>
  <div v-if="isSystemAdmin">
    <AppCard :to="{ name: 'administration/AdministrationDashboardPage' }">
      You are a system admin
    </AppCard>
  </div>
</template>

<script lang="ts" setup>
import useBreadcrumbs from "@/use/use-breadcrumbs"
import useCurrentUser from "@/use/use-current-user"

import AppCard from "@/components/common/AppCard.vue"

const { isSystemAdmin } = useCurrentUser<true>()

useBreadcrumbs()
</script>
