mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Added missign files
This commit is contained in:
parent
bd574acf65
commit
dcb36beda9
4 changed files with 218 additions and 0 deletions
55
src/pages/repos.js
Normal file
55
src/pages/repos.js
Normal file
|
@ -0,0 +1,55 @@
|
|||
|
||||
import styles from './repos.module.css'
|
||||
import repos from '../data/repos.json'
|
||||
|
||||
export default function Repos (props) {
|
||||
return (
|
||||
<div>
|
||||
<div className={styles.description}>
|
||||
{repos.description}
|
||||
</div>
|
||||
<table className={styles.repoTable}>
|
||||
<thead>
|
||||
<tr>
|
||||
{repos.header.map((x, i) => {
|
||||
return (
|
||||
<td key={i}>
|
||||
{x}
|
||||
</td>
|
||||
)
|
||||
})}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{Object.keys(repos.repos).map((key) => {
|
||||
let repo = repos.repos[key]
|
||||
return (
|
||||
<tr
|
||||
key={key}
|
||||
>
|
||||
<td>
|
||||
{repo.description}
|
||||
</td>
|
||||
<td>
|
||||
<a href={repo.href}>
|
||||
GitLab repo
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href={repo.href + '/issues'}>
|
||||
Issues
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href={repo.href + '/docsTODO'}>
|
||||
Devel docs
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
)
|
||||
})}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue