mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-28 11:39:52 +02:00
Fix broken videos page
This commit is contained in:
@@ -4,19 +4,19 @@ import SimplePageHeader from '../../components/SimplePageHeader.astro';
|
|||||||
import BaseLayout from '../../layouts/BaseLayout.astro';
|
import BaseLayout from '../../layouts/BaseLayout.astro';
|
||||||
import { getAllVideos } from '../../lib/video';
|
import { getAllVideos } from '../../lib/video';
|
||||||
|
|
||||||
const guides = await getAllGuides();
|
const videos = await getAllVideos();
|
||||||
---
|
---
|
||||||
|
|
||||||
<BaseLayout title='Guides'>
|
<BaseLayout title='Videos'>
|
||||||
<SimplePageHeader
|
<SimplePageHeader
|
||||||
title='Guides'
|
title='Videos'
|
||||||
description='Succinct graphical explanations to engineering topics.'
|
description='Graphical video demonstrations on software engineering topics.'
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class='pb-20 pt-2 bg-gray-50'>
|
<div class='pb-20 pt-2 bg-gray-50'>
|
||||||
<div class='container'>
|
<div class='container'>
|
||||||
<div class='mt-3 sm:my-5'>
|
<div class='mt-3 sm:my-5'>
|
||||||
{guides.map((guide) => <GuideListItem guide={guide} />)}
|
{videos.map((video) => <VideoListItem video={video} />)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user