Loheide-eu-mitarbeiterplatt.../resources/js/components/apps/AppMark.vue
Friederich Loheide a618927a52
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m7s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m30s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 8m6s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 8m21s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 17m13s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 17m12s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 9m52s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m29s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 47s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m23s
Schnellzugriffe mit Logo, Kategorien und Sichtbar für (0.51.0)
Untertitel, Logo, Kategorie, Rollen und Anheften je Eintrag; Knopf
„Anwendungen“ in der Kopfzeile mit allen sichtbaren Einträgen.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-29 18:44:53 +00:00

15 lines
611 B
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup>
import AppIcon from '@/components/AppIcon.vue';
/** Logo einer Anwendung – oder ihr Symbol, wenn kein Logo hochgeladen ist */
defineProps({
app: { type: Object, required: true },
});
</script>
<template>
<span class="grid shrink-0 place-items-center overflow-hidden rounded-lg" :class="app.logo_url ? 'bg-white ring-1 ring-border' : 'bg-brand-soft text-brand-text'">
<img v-if="app.logo_url" :src="app.logo_url" alt="" class="size-full object-contain p-1" />
<AppIcon v-else :name="app.icon || 'link'" class="size-[55%]" :stroke-width="1.7" />
</span>
</template>