Fix UI/UX errors
This commit is contained in:
parent
84d17ff732
commit
c0ef2c1391
|
|
@ -32,6 +32,9 @@ Sentry.init({
|
||||||
environment: import.meta.env.VITE_SENTRY_ENV,
|
environment: import.meta.env.VITE_SENTRY_ENV,
|
||||||
dsn: "https://2df6096a4fd94bd6b4802124d10e4b8d@o8544.ingest.sentry.io/4504157846372352",
|
dsn: "https://2df6096a4fd94bd6b4802124d10e4b8d@o8544.ingest.sentry.io/4504157846372352",
|
||||||
tracesSampleRate: 0.0,
|
tracesSampleRate: 0.0,
|
||||||
|
enabled:
|
||||||
|
import.meta.env.VITE_SENTRY_ENV == "production" ||
|
||||||
|
import.meta.env.VITE_SENTRY_ENV == "stage",
|
||||||
});
|
});
|
||||||
|
|
||||||
// todo: define lang setup
|
// todo: define lang setup
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ const countStatus = computed(() => {
|
||||||
<div class="container-large lg:mt-4">
|
<div class="container-large lg:mt-4">
|
||||||
<div
|
<div
|
||||||
v-if="competenceStore.competenceProfilePage"
|
v-if="competenceStore.competenceProfilePage"
|
||||||
class="flex flex-col lg:flex-row items-center justify-between mb-10"
|
class="flex flex-col lg:flex-row lg:items-center justify-between mb-10"
|
||||||
>
|
>
|
||||||
<h1>{{ $t("competences.title") }}</h1>
|
<h1>{{ $t("competences.title") }}</h1>
|
||||||
<ItDropdownSelect
|
<ItDropdownSelect
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,10 @@ function hasMoreItemsForType<T>(itemType: MediaBlockType, items: T[]) {
|
||||||
:link-text="mediaItem.value.link_display_text"
|
:link-text="mediaItem.value.link_display_text"
|
||||||
:open-window="mediaItem.value.open_window"
|
:open-window="mediaItem.value.open_window"
|
||||||
/>
|
/>
|
||||||
<div v-else class="flex items-center justify-between border-b py-4">
|
<div
|
||||||
|
v-else
|
||||||
|
class="flex flex-col lg:flex-row lg:items-center justify-between border-b py-4"
|
||||||
|
>
|
||||||
<h4 class="text-bold">{{ mediaItem.value.title }}</h4>
|
<h4 class="text-bold">{{ mediaItem.value.title }}</h4>
|
||||||
<MediaLink
|
<MediaLink
|
||||||
:blank="mediaItem.value.open_window"
|
:blank="mediaItem.value.open_window"
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ watch(dropdownSelected, (newValue) =>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="container-large">
|
<div class="container-large">
|
||||||
<div class="flex flex-col lg:flex-row items-center justify-between mb-12 mt-6">
|
<div class="flex flex-col lg:flex-row justify-between mb-12 mt-6">
|
||||||
<h1>{{ $t("mediaLibrary.title") }}</h1>
|
<h1>{{ $t("mediaLibrary.title") }}</h1>
|
||||||
<!-- <ItDropdownSelect-->
|
<!-- <ItDropdownSelect-->
|
||||||
<!-- v-model="dropdownSelected"-->
|
<!-- v-model="dropdownSelected"-->
|
||||||
|
|
|
||||||
|
|
@ -40,15 +40,14 @@ const mediaList = computed(() => {
|
||||||
<div class="bg-gray-200">
|
<div class="bg-gray-200">
|
||||||
<div class="container-large">
|
<div class="container-large">
|
||||||
<nav class="py-4 lg:pb-8">
|
<nav class="py-4 lg:pb-8">
|
||||||
<router-link
|
<a class="btn-text inline-flex items-center pl-0" @click="$router.back()">
|
||||||
class="btn-text inline-flex items-center pl-0"
|
|
||||||
:to="mediaStore.mediaLibraryPage.frontend_url"
|
|
||||||
>
|
|
||||||
<it-icon-arrow-left />
|
<it-icon-arrow-left />
|
||||||
<span>zurück</span>
|
<span>{{ $t("general.back") }}</span>
|
||||||
</router-link>
|
</a>
|
||||||
</nav>
|
</nav>
|
||||||
<h1 class="mb-4">{{ mediaList.title }}</h1>
|
<h1 class="mb-4">
|
||||||
|
{{ `${mediaCategory.title}: ${mediaList.title}` }}
|
||||||
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="container-large">
|
<div class="container-large">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue