Page: Fixed when database could not be reached. Sidebar-Component: Added shadow to icons.

This commit is contained in:
Yohan Boujon 2023-11-13 00:06:08 +01:00
parent e8ba507e55
commit 285ccc0691
2 changed files with 3 additions and 2 deletions

View file

@ -11,6 +11,7 @@
align-items: center;
margin-bottom: 0.5rem;
color: var(--color-background);
filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.15));
}
.text {

View file

@ -10,8 +10,8 @@
import { mdiAccount, mdiCogs, mdiEmailOutline, mdiLocationEnter, mdiMapMarker, mdiPhone, mdiStar } from '@mdi/js';
export let data;
let cv = processData(data);
let birth_year = formatDate(cv.info.birth_year);
const cv = data.status == 0 ? processData(data) : undefined;
const birth_year = data.status == 0 ? formatDate(cv.info.birth_year) : undefined;
</script>
{#if data.status == 0}