mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
IRC button module, removed some links
This commit is contained in:
parent
647ca26892
commit
833b641578
6 changed files with 36 additions and 38 deletions
15
src/components/IrcButton.js
Normal file
15
src/components/IrcButton.js
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
import styles from './ircButton.module.css'
|
||||||
|
|
||||||
|
export default function IrcButton (props) {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<center>
|
||||||
|
<a href='/irc'>
|
||||||
|
<div className={styles.ircLink}>
|
||||||
|
IRC chat
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</center>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
|
@ -10,21 +10,5 @@
|
||||||
"data": {
|
"data": {
|
||||||
"href": "data.json",
|
"href": "data.json",
|
||||||
"text": "Összes kérdés JSON"
|
"text": "Összes kérdés JSON"
|
||||||
},
|
|
||||||
"server": {
|
|
||||||
"href": "servergit",
|
|
||||||
"text": "Szerver repó"
|
|
||||||
},
|
|
||||||
"client": {
|
|
||||||
"href": "scriptgit",
|
|
||||||
"text": "Script git"
|
|
||||||
},
|
|
||||||
"classes": {
|
|
||||||
"href": "classesgit",
|
|
||||||
"text": "Classes git"
|
|
||||||
},
|
|
||||||
"qmining": {
|
|
||||||
"href": "qminingSite",
|
|
||||||
"text": "Qmining module website"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import styles from './feedback.module.css'
|
import IrcButton from '../components/IrcButton.js'
|
||||||
|
|
||||||
import constants from '../constants.json'
|
import constants from '../constants.json'
|
||||||
|
|
||||||
|
@ -51,13 +51,7 @@ export default function Feedback (props) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<center>
|
<IrcButton />
|
||||||
<a href='/irc'>
|
|
||||||
<div className={styles.ircLink}>
|
|
||||||
IRC chat
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</center>
|
|
||||||
<p />
|
<p />
|
||||||
<hr />
|
<hr />
|
||||||
<p />
|
<p />
|
||||||
|
|
|
@ -86,6 +86,8 @@ export default function Index (props) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
{renderMotd()}
|
{renderMotd()}
|
||||||
|
<center>
|
||||||
|
|
||||||
{Object.keys(links).map((key) => {
|
{Object.keys(links).map((key) => {
|
||||||
let link = links[key]
|
let link = links[key]
|
||||||
return (
|
return (
|
||||||
|
@ -101,6 +103,7 @@ export default function Index (props) {
|
||||||
</span>
|
</span>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
</center>
|
||||||
{renderNews()}
|
{renderNews()}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import IrcButton from '../components/IrcButton.js'
|
||||||
|
|
||||||
import styles from './repos.module.css'
|
import styles from './repos.module.css'
|
||||||
import repos from '../data/repos.json'
|
import repos from '../data/repos.json'
|
||||||
|
@ -50,6 +51,7 @@ export default function Repos (props) {
|
||||||
})}
|
})}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<IrcButton />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue