mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Multiple style fixes, added top bar to layout
This commit is contained in:
parent
53d955808a
commit
3a67f2a1aa
11 changed files with 314 additions and 351 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue