www/pages/recommended.tsx

24 lines
955 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 rec from '../public/recommended.yaml';
2022-04-23 20:35:53 -04:00
import {toListItem, mapChild} from '../util/resrec';
2021-12-07 22:38:31 -05:00
function Recommended() {
return (
<Layout name='Recommended' title='My Recommendations'>
<section className='block'>
<p>This page is really for me to not forget/revisit the good things I have read, seen, heard, and/or experienced. This list may change, just as my opinions.</p>
2021-12-08 03:54:18 -05:00
<p>If the one you are looking for is not on this list, it is most likely I have not had the chance to read/listen to/watch it yet.</p>
2022-04-23 20:35:53 -04:00
{
rec.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>
);
}
2022-04-20 16:12:27 -04:00
export default Recommended;