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
|
@ -1,4 +1,4 @@
|
|||
import styles from './feedback.module.css'
|
||||
import IrcButton from '../components/IrcButton.js'
|
||||
|
||||
import constants from '../constants.json'
|
||||
|
||||
|
@ -51,13 +51,7 @@ export default function Feedback (props) {
|
|||
|
||||
return (
|
||||
<div>
|
||||
<center>
|
||||
<a href='/irc'>
|
||||
<div className={styles.ircLink}>
|
||||
IRC chat
|
||||
</div>
|
||||
</a>
|
||||
</center>
|
||||
<IrcButton />
|
||||
<p />
|
||||
<hr />
|
||||
<p />
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
.ircLink {
|
||||
background-color: #9999ff;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 15px 32px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
}
|
|
@ -86,21 +86,24 @@ export default function Index (props) {
|
|||
return (
|
||||
<div>
|
||||
{renderMotd()}
|
||||
{Object.keys(links).map((key) => {
|
||||
let link = links[key]
|
||||
return (
|
||||
<span
|
||||
className='link'
|
||||
key={key}
|
||||
>
|
||||
<a
|
||||
href={link.href}
|
||||
<center>
|
||||
|
||||
{Object.keys(links).map((key) => {
|
||||
let link = links[key]
|
||||
return (
|
||||
<span
|
||||
className='link'
|
||||
key={key}
|
||||
>
|
||||
{link.text}
|
||||
</a>
|
||||
</span>
|
||||
)
|
||||
})}
|
||||
<a
|
||||
href={link.href}
|
||||
>
|
||||
{link.text}
|
||||
</a>
|
||||
</span>
|
||||
)
|
||||
})}
|
||||
</center>
|
||||
{renderNews()}
|
||||
</div>
|
||||
)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import IrcButton from '../components/IrcButton.js'
|
||||
|
||||
import styles from './repos.module.css'
|
||||
import repos from '../data/repos.json'
|
||||
|
@ -50,6 +51,7 @@ export default function Repos (props) {
|
|||
})}
|
||||
</tbody>
|
||||
</table>
|
||||
<IrcButton />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue