mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-25 18:20:46 +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 { 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