major tidy

This commit is contained in:
MrFry 2020-03-08 10:44:31 +01:00
parent 67b1fa2d37
commit c19f24de87
24 changed files with 339 additions and 17 deletions

35
src/pages/index.js Normal file
View file

@ -0,0 +1,35 @@
// TODO: css remove unnecesarry stuff
// TODO: resizing
// TODO: fetch data only once?
// TODO: move manual to this module instead of api
// TODO: feedback tab
// TODO: motd
import Layout from '../components/layout'
import links from '../data/links.json'
// import constants from '../constants.json'
export default function Index (props) {
return (
<Layout>
<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>
</Layout>
)
}