Fix broken videos page
This commit is contained in:
1 parent
280c2b8623
commit
0e45a409da
1 file changed
+5
-5
@@ -4,19 +4,19 @@ import SimplePageHeader from '../../components/SimplePageHeader.astro';
|
||||
import BaseLayout from '../../layouts/BaseLayout.astro';
|
||||
import { getAllVideos } from '../../lib/video';
|
||||
|
||||
const guides = await getAllGuides();
|
||||
const videos = await getAllVideos();
|
||||
---
|
||||
|
||||
<BaseLayout title='Guides'>
|
||||
<BaseLayout title='Videos'>
|
||||
<SimplePageHeader
|
||||
title='Guides'
|
||||
description='Succinct graphical explanations to engineering topics.'
|
||||
title='Videos'
|
||||
description='Graphical video demonstrations on software engineering topics.'
|
||||
/>
|
||||
|
||||
<div class='pb-20 pt-2 bg-gray-50'>
|
||||
<div class='container'>
|
||||
<div class='mt-3 sm:my-5'>
|
||||
{guides.map((guide) => <GuideListItem guide={guide} />)}
|
||||
{videos.map((video) => <VideoListItem video={video} />)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user