www/pages/resources.tsx

18 lines
532 B
TypeScript
Raw Normal View History

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-27 21:55:18 -04:00
import { toListItem, mapChild } from '../components/lists';
2021-12-07 22:38:31 -05:00
function Resources() {
return (
<Layout name='Resources' title='Some Useful Resources'>
2022-04-27 05:10:49 -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
</Layout>);
}
export default Resources;