Multiple style fixes, added top bar to layout

This commit is contained in:
mrfry 2021-05-26 18:36:57 +02:00
parent 53d955808a
commit 3a67f2a1aa
11 changed files with 314 additions and 351 deletions

View file

@ -301,13 +301,10 @@ export default function Index({ globalData }) {
const renderMotd = () => {
if (motd) {
return (
<div className={styles.motd_body}>
<div className={styles.motd}>
<div className={styles.title}>MOTD</div>
{motd ? (
<div
className={styles.motd}
dangerouslySetInnerHTML={{ __html: motd }}
/>
<div dangerouslySetInnerHTML={{ __html: motd }} />
) : (
<div>...</div>
)}
@ -324,7 +321,6 @@ export default function Index({ globalData }) {
<title>Qmining | Frylabs.net</title>
</Head>
{renderMotd()}
{/*{userSpecificMotd && renderUserSpecificMotd()} */}
<Sleep />
{renderNews()}
</div>