www/pages/resources.tsx

18 lines
527 B
TypeScript
Raw Normal View History

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';
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;