Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

192
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda