diff --git a/resources/js/Pages/Home.vue b/resources/js/Pages/Home.vue index 83c3ecdf..d65a0c2b 100644 --- a/resources/js/Pages/Home.vue +++ b/resources/js/Pages/Home.vue @@ -117,8 +117,8 @@ const subscribe = async () => { @click="subscribe" class="px-6 py-3 rounded-lg font-semibold text-white transition-colors" style="background-color: #6b9080;" - @mouseover="$event.target.style.backgroundColor = '#5a8070'" - @mouseout="$event.target.style.backgroundColor = '#6b9080'" + @mouseover="($event.target as HTMLElement).style.backgroundColor = '#5a8070'" + @mouseout="($event.target as HTMLElement).style.backgroundColor = '#6b9080'" > Subscribe to Updates @@ -199,8 +199,8 @@ const subscribe = async () => { @click="openDocument(doc, $event)" class="inline-block px-4 py-2 rounded-lg text-white font-semibold mr-2 mb-2 transition-colors" style="background-color: #6b9080;" - @mouseover="$event.target.style.backgroundColor = '#5a8070'" - @mouseout="$event.target.style.backgroundColor = '#6b9080'" + @mouseover="($event.target as HTMLElement).style.backgroundColor = '#5a8070'" + @mouseout="($event.target as HTMLElement).style.backgroundColor = '#6b9080'" > 📄 {{ doc.title }}