Fix broken videos page

astro
Kamran Ahmed 2 years ago
parent 280c2b8623
commit 0e45a409da
  1. 10
      src/pages/videos/index.astro

@ -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>

Loading…
Cancel
Save