www/pages/resources.tsx
2022-04-23 20:35:53 -04:00

20 lines
616 B
TypeScript

import Layout from '../components/layout';
import res from '../public/resources.yaml';
import {toListItem, mapChild} from '../util/resrec';
function Resources() {
return (
<Layout name='Resources' title='Some Useful Resources'>
<section className='block'>
{
res.map((item: Record<string, any>) => {
const lItem = toListItem(item)
if (lItem)
return mapChild(lItem, 0)
})
}
</section>
</Layout>);
}
export default Resources;