Skip to content

Commit ed2c964

Browse files
feat: add youtube tutorial imbed
1 parent e42015a commit ed2c964

File tree

3 files changed

+64
-8
lines changed

3 files changed

+64
-8
lines changed

package-lock.json

Lines changed: 57 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"lucide-react": "^0.548.0",
1616
"next": "15.5.3",
1717
"react": "19.1.0",
18-
"react-dom": "19.1.0"
18+
"react-dom": "19.1.0",
19+
"react-youtube": "^10.1.0"
1920
},
2021
"devDependencies": {
2122
"@eslint/eslintrc": "^3",

src/app/tutorial-hello-world/page.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
"use client";
2+
13
import BackToDashBoardLink from "@/components/back-to-dashboard-link";
4+
import YouTube from "react-youtube";
25

36
export default function TutorialHelloWorld() {
47
return (
@@ -92,6 +95,8 @@ export default function TutorialHelloWorld() {
9295
</p>
9396
</section>
9497
<hr className="my-6" />
98+
99+
<YouTube videoId="hp4pYFASTrc"></YouTube>
95100
</article>
96101
</div>
97102
);

0 commit comments

Comments
 (0)