import React from "react"; import styled from "styled-components"; import { Divider, TextSection, Link } from "@components/index"; import { colors } from "@theme/colors"; import ContactCard from "@components/ContactCard"; import BoardJson from "./board.json"; import HvtmkJson from "./hvtmk.json"; import MtmkJson from "./mtmk.json"; import OptmkJson from "./optmk.json"; import OtmkJson from "./otmk.json"; import PtmkJson from "./ptmk.json"; import SstmkJson from "./sstmk.json"; import TtmkJson from "./ttmk.json"; import UtmkJson from "./utmk.json"; import YtmkJson from "./ytmk.json"; const blank_profile = "/img/blank_profile.png"; const BlueLink = styled(Link)` color: ${colors.blue1}; &:hover { color: ${colors.lightBlue}; } `; const Container = styled.div` color: ${colors.darkBlue}; & > h2 { text-transform: uppercase; width: 100%; } & > div { display: flex; flex-flow: row wrap; } `; const CommitteeContainer: React.FC<{ committee: Committee; }> = ({ committee, children }) => (

{committee.name_fi || committee.name_en}

{committee.roles.map((role) => ( role.representatives.map((representative) => ( )) ))}
{children}
); interface Committee { name_fi: string; name_en: string; roles: Array; } interface Role { name_fi: string; name_en: string; representatives: Array } interface Representative { name: string; phone_number?: string; email?: string; image?: string; } const ContactsPageView: React.FC = () => ( <>

Yhteystiedot

Asiaa olisi, mutta kehen ottaa yhteyttä?
Tämä sivu yrittää valottaa sen oikean ihmisen puhelinnumeroa ja sähköpostiosoitetta.

{"Hallitukseen saa yhteyden lähettämällä sähköpostia "} hallitus@sahkoinsinoorikilta.fi

); export default ContactsPageView;