mirror of
https://gitlab.com/MrFry/qmining-page
synced 2026-04-28 11:17:37 +02:00
Feedback and test sender implement, minor fixes with links
This commit is contained in:
+22
-19
@@ -1,28 +1,31 @@
|
||||
import React, { PureComponent } from 'react'
|
||||
|
||||
import links from './links.json'
|
||||
import constants from '../constants.json'
|
||||
|
||||
// TODO: aludni
|
||||
class HomeTab extends PureComponent {
|
||||
render () {
|
||||
return (
|
||||
<div>
|
||||
{Object.keys(links).map((key) => {
|
||||
let link = links[key]
|
||||
return (
|
||||
<div
|
||||
className='link'
|
||||
key={key}
|
||||
>
|
||||
<a
|
||||
href={link.href}
|
||||
>
|
||||
{link.text}
|
||||
</a>
|
||||
</div>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
)
|
||||
return (<div>HAAAAAAAAAA</div>)
|
||||
// return (
|
||||
// <div>
|
||||
// {Object.keys(links).map((key) => {
|
||||
// const link = links[key]
|
||||
// return (
|
||||
// <div
|
||||
// className='link'
|
||||
// key={key}
|
||||
// >
|
||||
// <a
|
||||
// href={constants.serverUrl + link.href}
|
||||
// >
|
||||
// {link.text}
|
||||
// </a>
|
||||
// </div>
|
||||
// )
|
||||
// })}
|
||||
// </div>
|
||||
// )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user