www/pages/recommended.tsx

24 lines
955 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 rec from '../public/recommended.yaml';
2022-04-24 00:35:53 +00:00
import {toListItem, mapChild} from '../util/resrec';
2021-12-08 03:38:31 +00: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 08:54:18 +00: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-24 00:35:53 +00:00
{
rec.map((item: Record<string, any>) => {
const lItem = toListItem(item)
if (lItem)
return mapChild(lItem, 0)
})
}
2021-12-08 03:38:31 +00:00
</section>
</Layout>
);
}
2022-04-20 20:12:27 +00:00
export default Recommended;