2021-12-08 03:38:31 +00:00
|
|
|
import Layout from '../components/layout';
|
2022-04-23 23:03:43 +00:00
|
|
|
import res from '../public/resources.yaml';
|
2022-04-24 04:27:51 +00:00
|
|
|
import { toListItem, mapChild } from '../util/resrec';
|
2021-12-08 03:38:31 +00:00
|
|
|
|
|
|
|
function Resources() {
|
|
|
|
return (
|
|
|
|
<Layout name='Resources' title='Some Useful Resources'>
|
2022-04-27 09:10:49 +00:00
|
|
|
{
|
|
|
|
res.map((item: Record<string, any>) => {
|
|
|
|
const lItem = toListItem(item)
|
|
|
|
if (lItem)
|
|
|
|
return mapChild(lItem, 0)
|
|
|
|
})
|
|
|
|
}
|
2021-12-08 03:38:31 +00:00
|
|
|
</Layout>);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Resources;
|