18 lines
527 B
TypeScript
18 lines
527 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'>
|
|
{
|
|
res.map((item: Record<string, any>) => {
|
|
const lItem = toListItem(item)
|
|
if (lItem)
|
|
return mapChild(lItem, 0)
|
|
})
|
|
}
|
|
</Layout>);
|
|
}
|
|
|
|
export default Resources; |