{t("home")}
@@ -86,7 +154,132 @@ export function LegislatorPage(props: { id: string }) {
{profile.fullName}
- Header Info Goes Here
+
+
+
+
+
+
+
+ {profile.fullName}
+
+
+
+
+ {branch == "Senate" ? (
+ {t("stateSenator")}
+ ) : (
+ {t("stateRepresentative")}
+ )}
+ ·
+ {district}
+
+
+
+
+ {/* Incumbent Label */}
+ {/* District Label */}
+
+
+
+
+
+ {email}
+
+
+
+ {profile.website ? (
+
+ ·
+
+ {profile.website}
+
+
+ ) : (
+
+ ·
+
+ {`malegislature.gov/Legislators/Profile/${profile.memberId}`}
+
+
+ )}
+
+ {phoneNumber ? (
+
+
·
+
{formatPhoneNumber(phoneNumber)}
+
+ ) : (
+ <>>
+ )}
+
+
+ {profile?.social?.twitter ||
+ profile?.social?.linkedIn ||
+ profile?.social?.blueSky ? (
+
·
+ ) : (
+ <>>
+ )}
+
+ {profile?.social?.twitter ? (
+
+
+
+ ) : (
+ <>>
+ )}
+ {profile?.social?.linkedIn ? (
+
+
+
+ ) : (
+ <>>
+ )}
+ {profile?.social?.blueSky ? (
+
+
+
+ ) : (
+ <>>
+ )}
+
+
+
+
+ Buttons
+
+
@@ -97,13 +290,21 @@ export function LegislatorPage(props: { id: string }) {
- ?
+
+ {sponsoredBills?.length ? <>{sponsoredBills.length}> : <>?>}
+
{t("billsSponsored")}
- ?
+
+ {cosponsoredBills?.length ? (
+ <>{cosponsoredBills.length}>
+ ) : (
+ <>?>
+ )}
+
{t("cosponsored")}
diff --git a/public/locales/en/legislators.json b/public/locales/en/legislators.json
index 4974cfc9d..c3046b8c0 100644
--- a/public/locales/en/legislators.json
+++ b/public/locales/en/legislators.json
@@ -4,6 +4,13 @@
"fundsRaised": "Funds Raised",
"home": "Home",
"legislators": "Legislators",
+ "party": {
+ "democratic": "Democratic Party",
+ "party": "Party",
+ "republican": "Republican Party"
+ },
+ "stateRepresentative": "State Representative",
+ "stateSenator": "State Senator",
"tabs": {
"bills": "Bills",
"district": "District",