mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-26 16:52:08 +05:30
fix
This commit is contained in:
parent
e0dd7d2bde
commit
727bfdaae7
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
$: backgroundColor = "#5cdd8b";
|
$: backgroundColor = "#5cdd8b";
|
||||||
|
|
||||||
$: if (!data.error) {
|
$: if (!data.announcements.error) {
|
||||||
if (data.announcements.incident) {
|
if (data.announcements.incident) {
|
||||||
if (data.announcements.incident.style === "info") {
|
if (data.announcements.incident.style === "info") {
|
||||||
backgroundColor = "#0dcaf0";
|
backgroundColor = "#0dcaf0";
|
||||||
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
<Hero />
|
<Hero />
|
||||||
|
|
||||||
{#if !data.error}
|
{#if !data.announcements.error}
|
||||||
{#if data.announcements.incident}
|
{#if data.announcements.incident}
|
||||||
<div class="flex flex-col items-center mt-16">
|
<div class="flex flex-col items-center mt-16">
|
||||||
<div
|
<div
|
||||||
@ -66,5 +66,5 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<p>{data.message}</p>
|
<p>{data.announcements.message}</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user