Add cap theorem video
This commit is contained in:
@ -1,4 +1,15 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"id": "what-is-cap-theorem",
|
||||||
|
"title": "What is CAP Theorem?",
|
||||||
|
"description": "An illustrated explanation to CAP theorem with examples and proof.",
|
||||||
|
"isPro": false,
|
||||||
|
"youtubeLink": "https://www.youtube.com/watch?v=_RbsFXWRZ10",
|
||||||
|
"authorUsername": "kamranahmedse",
|
||||||
|
"duration": "8 minutes",
|
||||||
|
"updatedAt": "2021-10-05T19:59:14.191Z",
|
||||||
|
"createdAt": "2021-10-05T19:59:14.191Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "acid-explained",
|
"id": "acid-explained",
|
||||||
"title": "ACID Explained: Atomic, Consistent, Isolated Durable",
|
"title": "ACID Explained: Atomic, Consistent, Isolated Durable",
|
||||||
|
1
content/videos/what-is-cap-theorem.md
Normal file
1
content/videos/what-is-cap-theorem.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
<iframe src="https://www.youtube.com/embed/_RbsFXWRZ10" title="What is CAP Theorem?" />
|
@ -50,7 +50,7 @@ function TextualRoadmap(props: RoadmapProps) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function NewBanner() {
|
export function NewBanner() {
|
||||||
return (
|
return (
|
||||||
<Text _hover={{ textDecoration: 'none', color: 'blue.700', '& .new-badge': { bg: 'blue.700' } }}
|
<Text _hover={{ textDecoration: 'none', color: 'blue.700', '& .new-badge': { bg: 'blue.700' } }}
|
||||||
as={Link}
|
as={Link}
|
||||||
|
@ -7,6 +7,7 @@ import { PageHeader } from '../components/page-header';
|
|||||||
import { RoadmapGridItem } from '../components/roadmap/roadmap-grid-item';
|
import { RoadmapGridItem } from '../components/roadmap/roadmap-grid-item';
|
||||||
import { getAllRoadmaps, RoadmapType } from '../lib/roadmap';
|
import { getAllRoadmaps, RoadmapType } from '../lib/roadmap';
|
||||||
import Helmet from '../components/helmet';
|
import Helmet from '../components/helmet';
|
||||||
|
import { NewBanner } from './[roadmap]';
|
||||||
|
|
||||||
type RoadmapsProps = {
|
type RoadmapsProps = {
|
||||||
roadmaps: RoadmapType[];
|
roadmaps: RoadmapType[];
|
||||||
@ -24,6 +25,7 @@ export default function Roadmaps(props: RoadmapsProps) {
|
|||||||
/>
|
/>
|
||||||
<Box mb='60px'>
|
<Box mb='60px'>
|
||||||
<PageHeader
|
<PageHeader
|
||||||
|
beforeTitle={<NewBanner />}
|
||||||
title={'Developer Roadmaps'}
|
title={'Developer Roadmaps'}
|
||||||
subtitle={'Step by step guides and paths to learn different tools or technologies'}
|
subtitle={'Step by step guides and paths to learn different tools or technologies'}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user