Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

186
Views
I want that if a user click on the marked image than reels start playing on other page

I want that if a user click on the marked image than reels start playing on other page for eg YouTube shorts so i first added a on click on the image and imported app.js file from the reels folder but it is not working so is their any way to do that pls if you are not sure about how to do that at least try if you didn't work no problem we will get a way that didn't work. just try! i am not a very good programmer image

import { Header } from "../../features/theme/Header";
import styles from "./Home.module.css";
import { useAppSelector } from "../../app/hooks";
import { Feed } from "../../features";


export function Home(): JSX.Element {
  const { currentUserImage } = useAppSelector((state) => state.currentUser);

  return (
    <div className={styles.home}>
      <Header page="Home" />
      <div className={styles.tweetField}>
        <div className={styles.userAvatar}>
          <img src={currentUserImage} alt="" />
          <h1>Mowe</h1>
        </div>
        <div className={styles.userAvatar}>
          <img src={currentUserImage} alt="" />
          <h1>Haewae</h1>
        </div>
        <div className={styles.userAvatar}>
          <img src={currentUserImage} alt="" onClick={reels}/>
          <h1>‎ ‎ ‎  Lveewe</h1>
        </div>
        <div className={styles.userAvatar}>
          <img src={currentUserImage} alt=""/>
          <h1>gy</h1>
        </div>
        <div>

          <div>
          </div>
        </div>
      </div>
      <Feed />
    </div>
  );

}
about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

<a href="YOUTUBE-SHORTS-LINK" className={styles.userAvatar}>
 <img src={currentUserImage} alt="" />
 <h1>‎ ‎ ‎  Lveewe</h1>
</a>

or

<a href="YOUTUBE-SHORTS-LINK">
    <div className={styles.userAvatar}>
      <img src={currentUserImage} alt="" />
      <h1>‎ ‎ ‎  Lveewe</h1>
    </div>
</a>
about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!