Skip to content

Commit a940766

Browse files
committed
Add challenge details for 2026 event
1 parent 383037f commit a940766

File tree

7 files changed

+60
-63
lines changed

7 files changed

+60
-63
lines changed

package-lock.json

Lines changed: 17 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/data/banners.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
},
66
"event": {
77
"enable": true,
8-
"title": "Green Code Initiative I/O 2026",
9-
"content": "Un nouveau chapitre, de nouvelles ambitions ! LE rendez vous annuel pour découvrir la roadmap et les nouveautés du collectif... Disponible en replay sur notre chaîne YouTube !",
8+
"title": "Green Code Challenge 2026",
9+
"content": "Venez nous retrouver cette année pour (re)découvrir la Green Code Initiative et collaborer au développement de logiciels bas carbone ! Rendez-vous du <strong>19 au 20 mai 2026</strong> !",
1010
"action": {
11-
"label": "Je regarde la rediffusion",
12-
"link": "https://www.youtube.com/watch?v=zWmsi92s27o"
11+
"label": "Je veux en savoir plus",
12+
"link": "/challenge"
1313
}
1414
}
1515
}

src/components/challenge/ChallengeHero.vue

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import CalendarIcon from "@/assets/icons/calendar.svg";
3-
import CameraIcon from "@/assets/icons/camera.svg";
3+
import ExternalLinkIcon from "@/assets/icons/external_link.svg";
44
import HeartHandshakeIcon from "@/assets/icons/heart_handshake.svg";
55
import PinIcon from "@/assets/icons/pin.svg";
66
</script>
@@ -10,14 +10,14 @@ import PinIcon from "@/assets/icons/pin.svg";
1010
<div class="content">
1111
<div class="top">
1212
<h1>
13-
<span class="green">Green</span> Code Challenge <small>2025</small>
13+
<span class="green">Green</span> Code Challenge <small>2026</small>
1414
</h1>
1515
<a
16-
href="https://photos.app.goo.gl/uMnY9iRW2HJ3GZN38"
17-
class="action"
16+
href="https://www.helloasso.com/associations/green-code-initiative/evenements/inscription-au-green-code-challenge-2026-adhoc"
17+
class="registration"
1818
target="_blank"
19-
><CameraIcon width="24" height="24" /> Accéder à la galerie photo</a
20-
>
19+
>Je m'inscris <ExternalLinkIcon width="18" height="18"
20+
/></a>
2121
</div>
2222
<div class="meta-info">
2323
<a
@@ -32,7 +32,7 @@ import PinIcon from "@/assets/icons/pin.svg";
3232
<div class="line">
3333
<div class="badge bold">
3434
<CalendarIcon width="18" height="18" />
35-
20 et 21 Mai 2025
35+
19 et 20 Mai 2026
3636
</div>
3737
<div class="badge">
3838
<HeartHandshakeIcon width="18" height="18" />
@@ -83,38 +83,17 @@ import PinIcon from "@/assets/icons/pin.svg";
8383
}
8484
}
8585
86-
.action {
87-
position: relative;
86+
.registration {
8887
display: flex;
8988
align-items: center;
9089
padding: 8px 16px;
9190
gap: 8px;
9291
white-space: nowrap;
9392
94-
background: black;
95-
color: white;
96-
font-weight: bold;
97-
border-radius: 100px;
98-
99-
.badge {
100-
position: absolute;
101-
padding: 4px 8px;
102-
right: -10px;
103-
bottom: -20px;
104-
105-
background: hsl(var(--primary-300));
106-
color: hsl(var(--text-neutral));
107-
border-radius: 100px;
108-
109-
font-weight: 600;
110-
111-
transform: rotate(-5deg);
112-
}
113-
}
114-
115-
a.action {
11693
background: hsl(var(--primary-300));
11794
color: hsl(var(--text-neutral));
95+
font-weight: bold;
96+
border-radius: 100px;
11897
11998
&:hover {
12099
background: hsl(var(--primary-400));

src/components/challenge/ChallengeSponsors.vue

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
2-
import PartnerOrganizationList from "@/components/collective/PartnerOrganizationList.vue";
3-
import organizations from "@/assets/data/challenge-organizations.json";
2+
// import PartnerOrganizationList from "@/components/collective/PartnerOrganizationList.vue";
3+
// import organizations from "@/assets/data/challenge-organizations.json";
44
</script>
55

66
<template>
@@ -17,8 +17,12 @@ import organizations from "@/assets/data/challenge-organizations.json";
1717
</a>
1818
</div>
1919
<div class="sponsor-list">
20-
<p>De <strong>nombreux partenaires</strong> prennent part au défi :</p>
21-
<PartnerOrganizationList :custom-list="organizations" />
20+
<p>
21+
🙏 Merci à <strong>nos partenaires</strong> pour leur engagement<br />
22+
en faveur d'un numérique responsable.
23+
</p>
24+
<!-- <p>De <strong>nombreux partenaires</strong> prennent part au défi :</p> -->
25+
<!-- <PartnerOrganizationList :custom-list="organizations" /> -->
2226
</div>
2327
</div>
2428
</template>

src/components/shared/layout/AppHeader.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import GitHubIcon from "@/assets/icons/github.svg";
33
import LinkedinIcon from "@/assets/icons/linkedin.svg";
44
import SlackIcon from "@/assets/icons/slack.svg";
5-
// import TrophyIcon from "@/assets/icons/trophy.svg";
5+
import TrophyIcon from "@/assets/icons/trophy.svg";
66
import Logo from "@/assets/img/logo.svg";
77
import BurgerMenuButton from "@/components/shared/layout/header/BurgerMenuButton.vue";
88
import NavItem from "@/components/shared/layout/header/HeaderNavItem.vue";
@@ -14,12 +14,12 @@ const closeMenu = () => (isMenuOpen.value = false);
1414
1515
const navItems: HeaderNavItem[] = [
1616
{ name: "Nos projets", to: "/projets" },
17-
// {
18-
// name: "Challenge 2025",
19-
// to: "/challenge",
20-
// icon: TrophyIcon,
21-
// highlight: true,
22-
// },
17+
{
18+
name: "Challenge 2026",
19+
to: "/challenge",
20+
icon: TrophyIcon,
21+
highlight: true,
22+
},
2323
{ name: "Notre collectif", to: "/collectif" },
2424
{ name: "Nos partenaires", to: "/partenaires" },
2525
];

src/router.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ export const routes: RouterOptions["routes"] = [
7373
},
7474
],
7575
},
76-
// {
77-
// path: "/challenge",
78-
// name: "challenge",
79-
// component: () => import("./views/ChallengeView.vue"),
80-
// },
76+
{
77+
path: "/challenge",
78+
name: "challenge",
79+
component: () => import("./views/ChallengeView.vue"),
80+
},
8181
{
8282
path: "/rules",
8383
name: "rules",

src/views/ChallengeView.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<script setup lang="ts">
2-
import ChallengeCalendar from "@/components/challenge/ChallengeCalendar.vue";
2+
// import ChallengeCalendar from "@/components/challenge/ChallengeCalendar.vue";
33
import ChallengeContact from "@/components/challenge/ChallengeContact.vue";
44
import ChallengeGoals from "@/components/challenge/ChallengeGoals.vue";
55
import ChallengeHero from "@/components/challenge/ChallengeHero.vue";
6-
import ChallengeHistory from "@/components/challenge/ChallengeHistory.vue";
6+
// import ChallengeHistory from "@/components/challenge/ChallengeHistory.vue";
77
import ChallengeSponsors from "@/components/challenge/ChallengeSponsors.vue";
88
import { useHead } from "@unhead/vue";
99
1010
useHead({
11-
title: "Challenge 2025 - Green Code Initiative",
11+
title: "Challenge 2026 - Green Code Initiative",
1212
meta: [
1313
{
1414
name: "description",
1515
content:
16-
"Notre hackathon avec le Crédit Agricole revient du 20 au 21 mai 2025 ! Mettez vos compétences au service d'un numérique plus responsable.",
16+
"Retrouvez-nous cette année pour (re)découvrir la Green Code Initiative et collaborer au développement de logiciels bas carbone ! Rendez-vous du 19 au 20 mai 2026 !",
1717
},
1818
],
1919
});
@@ -40,16 +40,16 @@ useHead({
4040
<section>
4141
<ChallengeGoals />
4242
</section>
43-
<section id="planning">
43+
<!-- <section id="planning">
4444
<ChallengeCalendar />
45-
</section>
45+
</section> -->
4646
<section class="neutral">
4747
<ChallengeSponsors />
4848
</section>
49-
<section>
49+
<!-- <section>
5050
<ChallengeHistory />
51-
</section>
52-
<section class="neutral">
51+
</section> -->
52+
<section>
5353
<ChallengeContact />
5454
</section>
5555
</div>

0 commit comments

Comments
 (0)