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 00:35:53 +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'>
|
|
|
|
<section className='block'>
|
2022-04-24 00:35:53 +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
|
|
|
</section>
|
|
|
|
</Layout>);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Resources;
|