From 170e7b3c31e71a1c1deb652ccee4600eb5e2cbd7 Mon Sep 17 00:00:00 2001 From: toimistokone Date: Wed, 18 Mar 2026 14:54:52 +0200 Subject: [PATCH] hallitusbigpick --- src/views/BoardPage/BoardPageView.tsx | 14 ++++++++++++++ src/views/BoardPage/board.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/views/BoardPage/BoardPageView.tsx b/src/views/BoardPage/BoardPageView.tsx index 41d6380..32c606e 100644 --- a/src/views/BoardPage/BoardPageView.tsx +++ b/src/views/BoardPage/BoardPageView.tsx @@ -42,6 +42,13 @@ const Container = styled.div` } `; +const BoardImage = styled.img` + width: 100%; + height: auto; + margin-bottom: 2rem; + border-radius: 8px; +`; + const ContactContainer = styled.div` overflow-x: hidden; @media (max-width: 950px) { @@ -54,6 +61,12 @@ const CommitteeContainer: React.FC<{ children: React.ReactNode; }> = ({ committee, children }) => ( + {committee.slug === "board" && ( + + )}
{committee.roles.map((role) => ( role.representatives.map((representative) => ( @@ -74,6 +87,7 @@ const CommitteeContainer: React.FC<{ ); interface Committee { + slug: string; name_fi: string; name_en: string; roles: Array; diff --git a/src/views/BoardPage/board.json b/src/views/BoardPage/board.json index 448f6fd..a8297df 100644 --- a/src/views/BoardPage/board.json +++ b/src/views/BoardPage/board.json @@ -1,6 +1,6 @@ { "slug": "board", - "name_fi": "Hallitus 2024", + "name_fi": "Hallitus 2026", "name_en": "Board", "roles": [ {