added announcement

This commit is contained in:
franknstayn
2021-09-02 02:58:31 +08:00
parent 84a194f872
commit 4d138ab08a
2 changed files with 26 additions and 6 deletions

View File

@@ -243,7 +243,7 @@ li.footer-menu-item a:hover {
}
.please-read-title,
.disclaimer {
.disclaimer, .announcement {
font-size: 0.8rem;
color: #000000;
font-weight: bold;
@@ -260,6 +260,13 @@ li.footer-menu-item a:hover {
padding-left: 1.3rem;
}
.announcement-message {
font-size: 0.7rem;
color: #ffffff;
padding: 0px;
margin: 0px;
padding-left: 1.3rem;
}
.please-read li {
font-size: 0.7rem;
color: #858585;
@@ -269,6 +276,10 @@ li.footer-menu-item a:hover {
background-color: #000000;
}
.bg-announcement {
background-color: #000000;
}
.navbar-toggler {
border: 1px solid #fff !important;
}

View File

@@ -62,6 +62,15 @@
claims.
</div>
</div>
@if ($announcement->IsActive)
<div class="bg-announcement py-2 mt-2">
<p class="announcement text-white">Announcements:</p>
<div class="announcement-message">
{!! nl2br(e($announcement->Announcement)) !!}
</div>
</div>
@endif
</div>
</div>