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

View File

@@ -55,13 +55,22 @@
</div> </div>
<div class="bg-black py-2"> <div class="bg-black py-2">
<p class="disclaimer text-white">Disclaimer</p> <p class="disclaimer text-white">Disclaimer</p>
<div class="disclaimer-message"> <div class="disclaimer-message">
Masks and gaiters sold by Merchbay are not intended for Masks and gaiters sold by Merchbay are not intended for
medical use. Merchbay does not make any medical or health medical use. Merchbay does not make any medical or health
claims. claims.
</div>
</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> </div>
@endif
</div> </div>
</div> </div>