Add Apollo 11 audio demo file and update references from .wav to .mp3
Browse files
app/src/content/assets/audio/audio-example.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25334bdbaf5980acb854078acdbeb9f413f2ff71be3874e77fb5cd175403d2c9
|
| 3 |
+
size 146330
|
app/src/content/chapters/demo/components.mdx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import { Image as AstroImage } from 'astro:assets';
|
| 2 |
import placeholder from '../../assets/image/placeholder.png';
|
| 3 |
-
import audioDemo from '../../assets/audio/audio-example.
|
| 4 |
import HtmlEmbed from '../../../components/HtmlEmbed.astro';
|
| 5 |
import Sidenote from '../../../components/Sidenote.astro';
|
| 6 |
import Wide from '../../../components/Wide.astro';
|
|
|
|
| 1 |
import { Image as AstroImage } from 'astro:assets';
|
| 2 |
import placeholder from '../../assets/image/placeholder.png';
|
| 3 |
+
import audioDemo from '../../assets/audio/audio-example.mp3';
|
| 4 |
import HtmlEmbed from '../../../components/HtmlEmbed.astro';
|
| 5 |
import Sidenote from '../../../components/Sidenote.astro';
|
| 6 |
import Wide from '../../../components/Wide.astro';
|
app/src/content/chapters/demo/markdown.mdx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import placeholder from '../../assets/image/placeholder.png';
|
| 2 |
-
import audioDemo from '../../assets/audio/audio-example.
|
| 3 |
import HtmlEmbed from '../../../components/HtmlEmbed.astro';
|
| 4 |
import Sidenote from '../../../components/Sidenote.astro';
|
| 5 |
import Wide from '../../../components/Wide.astro';
|
|
@@ -453,7 +453,7 @@ Embed audio using `<audio controls src={...} />`.
|
|
| 453 |
<br/>
|
| 454 |
<Accordion title="Code example">
|
| 455 |
```mdx
|
| 456 |
-
import audioDemo from './assets/audio/audio-example.
|
| 457 |
|
| 458 |
<audio controls src={audioDemo}/>
|
| 459 |
```
|
|
|
|
| 1 |
import placeholder from '../../assets/image/placeholder.png';
|
| 2 |
+
import audioDemo from '../../assets/audio/audio-example.mp3';
|
| 3 |
import HtmlEmbed from '../../../components/HtmlEmbed.astro';
|
| 4 |
import Sidenote from '../../../components/Sidenote.astro';
|
| 5 |
import Wide from '../../../components/Wide.astro';
|
|
|
|
| 453 |
<br/>
|
| 454 |
<Accordion title="Code example">
|
| 455 |
```mdx
|
| 456 |
+
import audioDemo from './assets/audio/audio-example.mp3'
|
| 457 |
|
| 458 |
<audio controls src={audioDemo}/>
|
| 459 |
```
|
app/src/content/chapters/demo/writing-your-content.mdx
CHANGED
|
@@ -8,7 +8,7 @@ import FullWidth from '../../../components/FullWidth.astro';
|
|
| 8 |
import HtmlEmbed from '../../../components/HtmlEmbed.astro';
|
| 9 |
import ColorPicker from '../../../components/demo/ColorPicker.astro';
|
| 10 |
import Palettes from '../../../components/demo/Palettes.astro';
|
| 11 |
-
import audioDemo from '../../assets/audio/audio-example.
|
| 12 |
import Accordion from '../../../components/Accordion.astro';
|
| 13 |
|
| 14 |
## Writing your content
|
|
|
|
| 8 |
import HtmlEmbed from '../../../components/HtmlEmbed.astro';
|
| 9 |
import ColorPicker from '../../../components/demo/ColorPicker.astro';
|
| 10 |
import Palettes from '../../../components/demo/Palettes.astro';
|
| 11 |
+
import audioDemo from '../../assets/audio/audio-example.mp3';
|
| 12 |
import Accordion from '../../../components/Accordion.astro';
|
| 13 |
|
| 14 |
## Writing your content
|