-
-
Notifications
You must be signed in to change notification settings - Fork 0
Add youtube video to about #208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
All items in the checklist have been checked🎉 |
|
@josh-wong Not all items in the checklist have been checked👀 Please review the unchecked items in the PR description. |
|
All items in the checklist have been checked🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR integrates the react-lite-youtube-embed library to add a YouTube video embed on the About Me page, styles the embed for responsiveness and centering, and surfaces a new notification in the site header.
- Added
react-lite-youtube-embeddependency and imported its CSS. - Embedded the YouTube video within a
<details>block onabout/index.mdx. - Introduced
.youtube-embedCSS rules and a new notification entry in the header.
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/pages/about/index.mdx | Imported LiteYouTubeEmbed and wrapped the video in a <details> element. |
| src/css/custom.css | Added .youtube-embed rules for layout and sizing. |
| package.json | Added react-lite-youtube-embed dependency. |
| docusaurus.config.js | Added notification for the "Life + Data" episode. |
|
All items in the checklist have been checked🎉 |
da39239 to
a41acf3
Compare
|
All items in the checklist have been checked🎉 |
|
All items in the checklist have been checked🎉 |
Description
This PR adds a new feature to embed YouTube videos on my "About Me" page and includes associated styling and dependency updates. The changes focus on integrating the
react-lite-youtube-embedlibrary, styling the embed component, and adding a YouTube video embed for my episode on the "Life + Data" show.Related issues and/or PRs
N/A
Changes made
react-lite-youtube-embedlibrary topackage.jsonto enable lightweight YouTube embedding. (package.json).youtube-embedCSS class tocustom.cssfor styling the YouTube embed, ensuring proper alignment and responsiveness. (src/css/custom.css)react-lite-youtube-embedcomponent on the "About Me" page, wrapped in a<details>element for better user experience. Also imported the library's CSS for styling. (src/pages/about/index.mdx)Checklist
The following is a best-effort checklist. If any items in this checklist aren't applicable to this PR, add
N/Aafter each item.Documentation
N/AN/ABuild, deploy, and test
N/AN/A