Skip to content

Commit def1b93

Browse files
michael-smallMichael
andauthored
docs: embed mutations webinar (#241)
Co-authored-by: Michael <[email protected]>
1 parent 15db547 commit def1b93

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

docs/docs/mutations.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ This guide covers
7474
})),
7575
```
7676

77+
import MutationsVideo from '@site/src/components/MutationsVideo';
78+
79+
<MutationsVideo />
80+
7781
But before going into depth of the "How" and "When" to use mutations, it is important to give context about
7882
the "Why" and "Who" of why mutations were built for the toolkit like this.
7983

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import React from 'react';
2+
import styles from './styles.module.css';
3+
4+
export default function MutationsVideo(): React.JSX.Element {
5+
return (
6+
<div className={styles.iframeContainer}>
7+
<iframe
8+
className={styles.responsiveIframe}
9+
src="https://www.youtube.com/embed/kDGQNizSfa0?start=3257"
10+
title="[EN] Webinar: Reactive Angular with the new NgRx Signal Store"
11+
frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
12+
referrerpolicy="strict-origin-when-cross-origin"
13+
allowfullscreen>
14+
</iframe>
15+
</div>
16+
);
17+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.iframeContainer {
2+
position: relative;
3+
width: 100%;
4+
padding-top: 56.25%;
5+
overflow: hidden;
6+
}
7+
8+
.responsiveIframe {
9+
position: absolute;
10+
top: 0;
11+
left: 0;
12+
width: 100%;
13+
height: 100%;
14+
border: none;
15+
}

0 commit comments

Comments
 (0)