Skip to content

Commit

Permalink
fix(aftermovie.section.tsx): update video URLs to correct aftermovie …
Browse files Browse the repository at this point in the history
…links for better user experience and accuracy
  • Loading branch information
h-campos committed Jul 6, 2024
1 parent 4b9c1e3 commit 6ac6acf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/sections/aftermovie.section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useState, type ReactElement } from "react";
import { Button } from "@/lib/components/ui/button/button";

const AftermovieSection = (): ReactElement => {
const [videoUrl, setVideoUrl] = useState<string>("https://www.youtube.com/embed/B23eCA_GXxU?si=ndkiMthBxff87Vvw");
const [videoUrl, setVideoUrl] = useState<string>("https://www.youtube.com/embed/uVFtK7z_2Hg?si=AuFcG_dcYlXUjzhC");

const handleClick = (url: string): void => {
setVideoUrl(url);
Expand Down Expand Up @@ -34,6 +34,12 @@ const AftermovieSection = (): ReactElement => {
/>
</div>
<div className="flex items-center justify-center gap-4 mt-10 md:mt-8">
<Button
onClick={() => void handleClick("https://www.youtube.com/embed/uVFtK7z_2Hg?si=AuFcG_dcYlXUjzhC")}
variant="hoverScaleYellow"
>
Édition 2024
</Button>
<Button
onClick={() => void handleClick("https://www.youtube.com/embed/B23eCA_GXxU?si=ndkiMthBxff87Vvw")}
variant="hoverScaleYellow"
Expand Down

0 comments on commit 6ac6acf

Please sign in to comment.