2021-12-07 22:38:31 -05:00
|
|
|
import Layout from '../components/layout';
|
2022-04-23 19:03:43 -04:00
|
|
|
import res from '../public/resources.yaml';
|
2022-04-23 20:35:53 -04:00
|
|
|
import {toListItem, mapChild} from '../util/resrec';
|
2021-12-07 22:38:31 -05:00
|
|
|
|
|
|
|
function Resources() {
|
|
|
|
return (
|
|
|
|
<Layout name='Resources' title='Some Useful Resources'>
|
|
|
|
<section className='block'>
|
2022-04-23 20:35:53 -04:00
|
|
|
{
|
|
|
|
res.map((item: Record<string, any>) => {
|
|
|
|
const lItem = toListItem(item)
|
|
|
|
if (lItem)
|
|
|
|
return mapChild(lItem, 0)
|
|
|
|
})
|
|
|
|
}
|
2021-12-07 22:38:31 -05:00
|
|
|
</section>
|
|
|
|
</Layout>);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Resources;
|