You've already forked isop-mirror
feat: enhance dashboard pages with metadata and user greeting
This commit is contained in:
@@ -1,3 +1,22 @@
|
||||
<script setup lang="ts">
|
||||
import type { User } from '~/types/user';
|
||||
|
||||
useSeoMeta({
|
||||
title: "Portál administrátora | ISOP",
|
||||
ogTitle: "Portál administrátora",
|
||||
description: "Portál administrátora ISOP",
|
||||
ogDescription: "Portál administrátora",
|
||||
});
|
||||
|
||||
const user = useSanctumUser<User>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div></div>
|
||||
<v-container fluid>
|
||||
<v-card id="footer-card">
|
||||
<h1>Vitajte, {{ user?.name }}</h1>
|
||||
|
||||
|
||||
</v-card>
|
||||
</v-container>
|
||||
</template>
|
||||
@@ -1,3 +1,22 @@
|
||||
<script setup lang="ts">
|
||||
import type { User } from '~/types/user';
|
||||
|
||||
useSeoMeta({
|
||||
title: "Portál firmy | ISOP",
|
||||
ogTitle: "Portál firmy",
|
||||
description: "Portál firmy ISOP",
|
||||
ogDescription: "Portál firmy",
|
||||
});
|
||||
|
||||
const user = useSanctumUser<User>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div></div>
|
||||
<v-container fluid>
|
||||
<v-card id="footer-card">
|
||||
<h1>Vitajte, {{ user?.name }} <em>({{ user?.company_data?.name }})</em></h1>
|
||||
|
||||
|
||||
</v-card>
|
||||
</v-container>
|
||||
</template>
|
||||
@@ -1,3 +1,22 @@
|
||||
<script setup lang="ts">
|
||||
import type { User } from '~/types/user';
|
||||
|
||||
useSeoMeta({
|
||||
title: "Portál študenta | ISOP",
|
||||
ogTitle: "Portál študenta",
|
||||
description: "Portál študenta ISOP",
|
||||
ogDescription: "Portál študenta",
|
||||
});
|
||||
|
||||
const user = useSanctumUser<User>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div></div>
|
||||
<v-container fluid>
|
||||
<v-card id="footer-card">
|
||||
<h1>Vitajte, {{ user?.name }}</h1>
|
||||
|
||||
|
||||
</v-card>
|
||||
</v-container>
|
||||
</template>
|
||||
Reference in New Issue
Block a user