Skip to content
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

Videos #40

Merged
merged 6 commits into from
Jan 29, 2025
Merged

Videos #40

merged 6 commits into from
Jan 29, 2025

Conversation

bgarcia11
Copy link
Collaborator

image

  • Added videos with carousel component
  • Used dummy youtube link
  • Circles change video

@bgarcia11 bgarcia11 self-assigned this Jan 26, 2025
@bgarcia11 bgarcia11 linked an issue Jan 26, 2025 that may be closed by this pull request
import Carousel from "./carousel";

const videos1 = [
"https://www.youtube.com/embed/xsh4_9VX9jM?si=4dlhoadJtRFfugTH",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

video is a W

<div
key={i}
onClick={() => setCurr(i)}
className={`h-3 w-3 rounded-full bg-ucr-yellow transition-all ${curr === i ? "p-1" : "bg-opacity-50"} `}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cursor-pointer so we can see the mouse

<div className="pb-20">
<p className="mb-3">3Blue1Brown Deep Learning Series</p>
<Carousel videos={videos1} />
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could easily use a map here since the code used repeated like 4x

@stormyy00 stormyy00 merged commit d055765 into dev Jan 29, 2025
5 checks passed
@stormyy00 stormyy00 deleted the bgarcia11/Videos branch January 29, 2025 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Videos
2 participants