Merge pull request #2407 from tugcekucukoglu/refactor

Refactor
pull/2424/head
Tuğçe Küçükoğlu 2022-04-07 17:15:52 +03:00 committed by GitHub
commit 5acd2aee65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

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