Skip to content

Conversation

@josh-wong
Copy link
Owner

@josh-wong josh-wong commented Jun 30, 2025

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-embed library, styling the embed component, and adding a YouTube video embed for my episode on the "Life + Data" show.

  • This PR includes a new feature.

Related issues and/or PRs

N/A

Changes made

  • Dependency update: Added the react-lite-youtube-embed library to package.json to enable lightweight YouTube embedding. (package.json)
  • New embed styling: Added a .youtube-embed CSS class to custom.css for styling the YouTube embed, ensuring proper alignment and responsiveness. (src/css/custom.css)
  • "About Me" page update: Integrated a YouTube video embed using the react-lite-youtube-embed component 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/A after each item.

Documentation

  • I have updated the side navigation as necessary. N/A
  • I have updated the documentation to reflect the changes. N/A
  • I have documented or updated any remaining open issues linked to this PR in GitHub, Obsidian, etc.

Build, deploy, and test

  • I have merged and published any dependent changes in other PRs. N/A
  • I have commented my code, particularly in hard-to-understand areas. N/A
  • I have checked that my changes look as expected on a locally built version of the docs site.
  • My changes generate no new warnings.

@josh-wong josh-wong requested a review from Copilot June 30, 2025 13:23
@josh-wong josh-wong self-assigned this Jun 30, 2025
@josh-wong josh-wong added the docusaurus Feature related to Docusaurus label Jun 30, 2025
@github-actions
Copy link
Contributor

All items in the checklist have been checked🎉

@github-actions
Copy link
Contributor

@josh-wong Not all items in the checklist have been checked👀

Please review the unchecked items in the PR description.

@github-actions
Copy link
Contributor

All items in the checklist have been checked🎉

@josh-wong josh-wong added the new feature New feature or request label Jun 30, 2025
Copy link

Copilot AI left a 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-embed dependency and imported its CSS.
  • Embedded the YouTube video within a <details> block on about/index.mdx.
  • Introduced .youtube-embed CSS 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.

@github-actions
Copy link
Contributor

All items in the checklist have been checked🎉

@josh-wong josh-wong force-pushed the add-youtube-video-to-about branch from da39239 to a41acf3 Compare June 30, 2025 13:29
@github-actions
Copy link
Contributor

All items in the checklist have been checked🎉

@github-actions
Copy link
Contributor

All items in the checklist have been checked🎉

@josh-wong josh-wong merged commit 2536169 into main Jun 30, 2025
2 of 3 checks passed
@josh-wong josh-wong deleted the add-youtube-video-to-about branch June 30, 2025 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docusaurus Feature related to Docusaurus new feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants