PR CI / ledger (pull_request) Successful in 4s
PR CI / flow (pull_request) Successful in 4s
PR CI / test (stable) (pull_request) Successful in 45s
PR CI / ui (pull_request) Successful in 48s
PR CI / test (lowest) (pull_request) Successful in 50s
PR CI / security (pull_request) Successful in 54s
PR CI / pr-ci (pull_request) Successful in 2s
PR CI / release-automerge (pull_request) Successful in 3s
18 lines
629 B
Vue
18 lines
629 B
Vue
<script setup lang="ts">
|
|
import { boot } from '../api';
|
|
import Link from '../components/Link.vue';
|
|
import { t } from '../i18n';
|
|
|
|
defineProps<{ navigation: { label: string; href: string }[] }>();
|
|
</script>
|
|
|
|
<template>
|
|
<h1 class="font-display mb-6 text-2xl font-bold">{{ t('Dashboard') }}</h1>
|
|
<p class="mb-4 text-muted">{{ boot.user?.name }}</p>
|
|
<div class="grid gap-3 sm:grid-cols-2 lg:grid-cols-3">
|
|
<Link v-for="item in navigation" :key="item.href" :href="item.href" class="m-card block p-5 font-semibold transition hover:border-brand">
|
|
{{ t(item.label) }}
|
|
</Link>
|
|
</div>
|
|
</template>
|