diff --git a/README.md b/README.md index 5a7f609..78acedf 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This is the website of the CDROMS robotics team. [![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-e557f9.svg)](LICENSE-CC) ![Stars](https://img.shields.io/github/stars/CDROMS-Robotics/cdroms-robotics.github.io?style=social) -![cdroms](https://github.com/user-attachments/assets/efd5609f-3e75-4364-b509-2203a587a18e) +![cdroms](/public/restricted-assets/cdroms/logos/cdroms-readme.jpg) ## Development setup diff --git a/public/restricted-assets/README.md b/public/restricted-assets/README.md index 9a06dc3..fc0eb55 100644 --- a/public/restricted-assets/README.md +++ b/public/restricted-assets/README.md @@ -2,5 +2,4 @@ LICENSE NOTICE === Except as stated elsewhere in this repository, the material in this directory (and its subdirectories) is **not** -licensed under the GPL or CC licenses of this repository. Some assets are owned by third parties, others by the project -author. \ No newline at end of file +licensed under the GPL or CC licenses of this repository. Some assets are owned by third parties, others by the project author. \ No newline at end of file diff --git a/public/restricted-assets/cdroms/logos/cdroms-readme.jpg b/public/restricted-assets/cdroms/logos/cdroms-readme.jpg new file mode 100755 index 0000000..d27d204 Binary files /dev/null and b/public/restricted-assets/cdroms/logos/cdroms-readme.jpg differ diff --git a/public/restricted-assets/cdroms/members/cdd.png b/public/restricted-assets/cdroms/members/cdd.png old mode 100644 new mode 100755 index 0bf95ba..2d636a5 Binary files a/public/restricted-assets/cdroms/members/cdd.png and b/public/restricted-assets/cdroms/members/cdd.png differ diff --git a/public/restricted-assets/cdroms/posters/poster-2025.jpg b/public/restricted-assets/cdroms/posters/poster-2025.jpg new file mode 100755 index 0000000..17713a3 Binary files /dev/null and b/public/restricted-assets/cdroms/posters/poster-2025.jpg differ diff --git a/public/restricted-assets/cdroms/posters/poster-2026.jpg b/public/restricted-assets/cdroms/posters/poster-2026.jpg new file mode 100755 index 0000000..11f300b Binary files /dev/null and b/public/restricted-assets/cdroms/posters/poster-2026.jpg differ diff --git a/src/components/Eurobot.tsx b/src/components/Eurobot.tsx index fe6c0a9..8814afb 100644 --- a/src/components/Eurobot.tsx +++ b/src/components/Eurobot.tsx @@ -9,7 +9,8 @@ interface EurobotProps { logo: string, name: string, url: string, - }[] + }[], + poster?: string, } import {MdOutlineLeaderboard} from "react-icons/md"; @@ -23,10 +24,11 @@ const Eurobot: React.FC = ({ points, result, leaderboard, - partners + partners, + poster, }: EurobotProps) => { return ( -
+

Coupe de France de Robotique {year}

@@ -81,6 +83,26 @@ const Eurobot: React.FC = ({
} + + {poster && ( +
+
Notre poster
+ + {`Poster (e.currentTarget.style.transform = "scale(1.05)")} + onMouseLeave={e => (e.currentTarget.style.transform = "scale(1)")} + /> + +
+ )}
) diff --git a/src/pages/Participations.tsx b/src/pages/Participations.tsx index f057c29..c11f165 100644 --- a/src/pages/Participations.tsx +++ b/src/pages/Participations.tsx @@ -3,7 +3,7 @@ import Eurobot from "../components/Eurobot.tsx"; const Participations: React.FC = () => { return ( -
+
{ url: "https://www.vanves.fr/" } ]} + poster="/restricted-assets/cdroms/posters/poster-2025.jpg" />
)