Add built-in screens (login, profile, menu, posts), per-user and site themes
This commit is contained in:
1 parent
4bf0a8bbb0
commit
351667abaf
46 files changed
+3720
-12
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<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>
|
||||
Reference in new issue
Block a user