Revert "Update AppNews.vue"

This reverts commit 606c585299.
pull/2407/head
Tuğçe Küçükoğlu 2022-04-07 17:13:39 +03:00
parent 606c585299
commit c69263eb21
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
<i></i>
<div class="layout-news-content">
<span class="layout-news-text" :style="$appState.announcement.textStyle">{{$appState.announcement.content}}</span>
<a class="layout-news-link" :style="$appState.announcement.linkStyle" :href="$appState.announcement.linkHref">{{$appState.announcement.linkText}}</a>
<a class="layout-news-link" :style="[$appState.announcement.linkStyle, hovered ? $appState.announcement.linkHoverStyle : '']" :href="$appState.announcement.linkHref"
@mouseenter="hovered=true" @mouseleave="hovered=false">{{$appState.announcement.linkText}}</a>
</div>
<a class="layout-news-close" :style="$appState.announcement.textStyle" @click="onClose">
<span class="pi pi-times"></span>