diff --git a/src/components/content/Profile.tsx b/src/components/content/Profile.tsx index 003d8c4..946c49f 100644 --- a/src/components/content/Profile.tsx +++ b/src/components/content/Profile.tsx @@ -6,6 +6,7 @@ import { SocialMediaLinks, } from "../../data/types"; import { + CaretDown, FacebookLogo, InstagramLogo, LinkedinLogo, @@ -48,66 +49,72 @@ export const ProfileHeader: React.FC<{ } }; return ( -
-
- - {profile ? ( - MP Headshot - ) : ( - - )} - -
-

{name}

+
+
+
-

{bio}

-

{constituency}

- {contact && ( -

- Contact details: - - {contact} - -

+ {profile ? ( + MP Headshot + ) : ( + )}
+
+

{name}

+ +

{bio}

+

{constituency}

+ {contact && ( +

+ Contact details: + + {contact} + +

+ )} +
+
-
-
- - {Object.keys(socials) - .filter((site) => socials[site as keyof SocialMediaLinks] !== "") - .map((site: string) => { - const link = socials[site as keyof SocialMediaLinks]; - return ( - - {getLogo(site)} - - ); +
+ + {Object.keys(socials) + .filter((site) => socials[site as keyof SocialMediaLinks] !== "") + .map((site: string) => { + const link = socials[site as keyof SocialMediaLinks]; + return ( + + {getLogo(site)} + + ); + })} + +
+ {Object.keys(policyInterests).map((policyType) => { + const policy = policyInterests[policyType]; + if (policy.source) { + return ( + + ); + } + return
; })} - -
- {Object.keys(policyInterests).map((policyType) => { - const policy = policyInterests[policyType]; - if (policy.source) { - return ( - - ); - } - return
; - })} +
+
+

expand for more info

+ +
); };