-
Notifications
You must be signed in to change notification settings - Fork 0
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
Videos #40
Conversation
bgarcia11
commented
Jan 26, 2025
- Added videos with carousel component
- Used dummy youtube link
- Circles change video
src/components/resources/videos.tsx
Outdated
import Carousel from "./carousel"; | ||
|
||
const videos1 = [ | ||
"https://www.youtube.com/embed/xsh4_9VX9jM?si=4dlhoadJtRFfugTH", |
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.
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"} `} |
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.
cursor-pointer so we can see the mouse
src/components/resources/videos.tsx
Outdated
<div className="pb-20"> | ||
<p className="mb-3">3Blue1Brown Deep Learning Series</p> | ||
<Carousel videos={videos1} /> | ||
</div> |
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.
you could easily use a map here since the code used repeated like 4x