Skip to content

Commit 93966f0

Browse files
feat: embed YT videos
1 parent 6b14a49 commit 93966f0

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

docs/tutorial/01-first-steps.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ socialImageTitle: Cadence First Steps
1717
socialImageDescription: Take your first steps to learn the Cadence smart contract programming language.
1818
---
1919

20+
<div style={{ position: 'relative', paddingBottom: '56.25%', height: 0, overflow: 'hidden', maxWidth: '100%' }}>
21+
<iframe
22+
style={{ position: 'absolute', top: 0, left: 0, width: '100%', height: '100%' }}
23+
src="https://www.youtube.com/embed/Mtqs4JHjiyI"
24+
title="YouTube video player"
25+
frameborder="0"
26+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
27+
allowfullscreen
28+
></iframe>
29+
</div>
30+
2031
Welcome to our series of guides that get you up to speed on [Cadence] as quickly as possible! In this program, we jump right into making meaningful projects. Don't worry, we'll point you to the important parts of the language reference as each concept is introduced.
2132

2233
This series makes use of the [Flow Playground], an online IDE that enables you to easily write and test Cadence code in a simulated environment.

docs/tutorial/02-hello-world.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ socialImageTitle: Hello World
1818
socialImageDescription: Write your own Hello World smart contract in Cadence.
1919
---
2020

21+
<div style={{ position: 'relative', paddingBottom: '56.25%', height: 0, overflow: 'hidden', maxWidth: '100%' }}>
22+
<iframe
23+
style={{ position: 'absolute', top: 0, left: 0, width: '100%', height: '100%' }}
24+
src="https://www.youtube.com/embed/bAvlVE7Wd7w"
25+
title="YouTube video player"
26+
frameborder="0"
27+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
28+
allowfullscreen
29+
></iframe>
30+
</div>
31+
2132
It's time to write your own "Hello World" contract. In this instance, the contract accomplishes the following:
2233

2334
1. Create and initialize a smart contract with a single field of type `String`.

0 commit comments

Comments
 (0)