mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
merged master
This commit is contained in:
parent
98fc6ba9ca
commit
f7d737c6dc
5 changed files with 7 additions and 36 deletions
|
@ -242,9 +242,7 @@ export default function Index({ globalData }) {
|
|||
|
||||
return (
|
||||
<div>
|
||||
<div className={styles.title}>Hírek</div>
|
||||
<hr />
|
||||
<div className={styles.title}>Forum</div>
|
||||
<div className={styles.title}>Fórum</div>
|
||||
<hr />
|
||||
<Composer
|
||||
onSubmit={(type, title, content, file) => {
|
||||
|
@ -269,7 +267,6 @@ export default function Index({ globalData }) {
|
|||
}
|
||||
}}
|
||||
/>
|
||||
<hr />
|
||||
<div>{newsItems}</div>
|
||||
</div>
|
||||
)
|
||||
|
@ -282,7 +279,6 @@ export default function Index({ globalData }) {
|
|||
return (
|
||||
<div className={styles.motd_body}>
|
||||
<div className={styles.title}>MOTD</div>
|
||||
<hr />
|
||||
{motd ? (
|
||||
<div
|
||||
className={styles.motd}
|
||||
|
@ -295,23 +291,6 @@ export default function Index({ globalData }) {
|
|||
)
|
||||
}
|
||||
|
||||
// const renderUserSpecificMotd = () => {
|
||||
// return (
|
||||
// <div>
|
||||
// <hr />
|
||||
// <div className={styles.subtitle}>Üzenet admintól:</div>
|
||||
// {userSpecificMotd ? (
|
||||
// <div
|
||||
// className={styles.motd}
|
||||
// dangerouslySetInnerHTML={{ __html: userSpecificMotd.msg }}
|
||||
// />
|
||||
// ) : (
|
||||
// <div>...</div>
|
||||
// )}
|
||||
// </div>
|
||||
// )
|
||||
// }
|
||||
|
||||
const renderDbSelector = () => {
|
||||
if (allQrSelector) {
|
||||
return (
|
||||
|
@ -366,14 +345,6 @@ export default function Index({ globalData }) {
|
|||
>
|
||||
{'Összes kérdés TXT'}
|
||||
</a>
|
||||
<a
|
||||
onClick={() => {
|
||||
setAllQrSelector('json')
|
||||
}}
|
||||
className={styles.button}
|
||||
>
|
||||
{'Összes kérdés JSON'}
|
||||
</a>
|
||||
</div>
|
||||
{renderMotd()}
|
||||
{/*{userSpecificMotd && renderUserSpecificMotd()} */}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue