Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/docs/mutations.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ This guide covers
})),
```

import MutationsVideo from '@site/src/components/MutationsVideo';

<MutationsVideo />

But before going into depth of the "How" and "When" to use mutations, it is important to give context about
the "Why" and "Who" of why mutations were built for the toolkit like this.

Expand Down
17 changes: 17 additions & 0 deletions docs/src/components/MutationsVideo/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from 'react';
import styles from './styles.module.css';

export default function MutationsVideo(): React.JSX.Element {
return (
<div className={styles.iframeContainer}>
<iframe
className={styles.responsiveIframe}
src="https://www.youtube.com/embed/kDGQNizSfa0?start=3257"
title="[EN] Webinar: Reactive Angular with the new NgRx Signal Store"
frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen>
</iframe>
</div>
);
}
15 changes: 15 additions & 0 deletions docs/src/components/MutationsVideo/styles.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.iframeContainer {
position: relative;
width: 100%;
padding-top: 56.25%;
overflow: hidden;
}

.responsiveIframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}