diff --git a/src/components/ProfileBanner.vue b/src/components/ProfileBanner.vue index aa4c3038..45780443 100644 --- a/src/components/ProfileBanner.vue +++ b/src/components/ProfileBanner.vue @@ -3,12 +3,12 @@ import { ref } from 'vue'; defineProps<{ icon?: string; + fallbackCover?: string; color?: string; img?: string | null; bgColor?: string; title?: string; caption?: string; - cover?: string | null; hideFade?: boolean; active?: boolean; @@ -22,49 +22,75 @@ defineEmits<{ (e: 'edit'): void; }>(); +const coverUrl = defineModel('coverUrl', { + required: false, + default: '', +}); + const showOverlay = ref(false);