Feedback and test sender implement, minor fixes with links

This commit is contained in:
MrFry
2020-03-15 10:53:28 +01:00
parent 8a1149d223
commit c5d6518ceb
11 changed files with 154 additions and 89 deletions
+22 -19
View File
@@ -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>
// )
}
}