diff --git a/components/HotBillCard/HotBillCard.tsx b/components/HotBillCard/HotBillCard.tsx
deleted file mode 100644
index 5816543fc..000000000
--- a/components/HotBillCard/HotBillCard.tsx
+++ /dev/null
@@ -1,39 +0,0 @@
-import { CardTitle, ListItem } from "components/Card"
-import { Card as MapleCard } from "../Card/Card"
-import { Positions } from "./Positions"
-
-type bill = {
- id: string
- billNumber: string
- title: string
- endorseCount: number
- opposeCount: number
- neutralCount: number
-}
-
-export const HotBillCard = (props: {
- bills: bill[]
- selectedBillId: string
- session: string
-}) => {
- const items = props.bills.map((bill, index) => {
- return (
-
- }
- />
- )
- })
-
- const header =
-
- return
-}
diff --git a/components/HotBillCard/Positions.tsx b/components/HotBillCard/Positions.tsx
deleted file mode 100644
index 1d9b293b0..000000000
--- a/components/HotBillCard/Positions.tsx
+++ /dev/null
@@ -1,81 +0,0 @@
-import React from "react"
-import { Container, CardImg } from "react-bootstrap"
-import Image from "react-bootstrap/Image"
-import styled from "styled-components"
-import { useTranslation } from "next-i18next"
-
-export const Positions = (props: {
- endorseCount: number
- opposeCount: number
- neutralCount: number
-}) => {
- const { t } = useTranslation("testimony")
-
- return (
-
-
- Endorse
-
-
-
{props.endorseCount}
-
-
-
- Neutral
-
-
-
{props.neutralCount}
-
-
-
- Oppose
-
-
-
{props.opposeCount}
-
-
-
- )
-}
-
-const PositionsStyle = styled.div`
- display: flex;
- margin-right: 5%;
-
- font-family: "Nunito";
- font-style: normal;
-
- @media (max-width: 1250px) {
- margin-right: 10%;
- }
-`
-const PositionStyle = styled.div`
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-left: 10%;
- margin-bottom: 0;
- .stanceTitle {
- color: #8999d6;
- }
- p {
- margin: 0;
- }
- div {
- margin: 5%;
- display: flex;
- align-items: center;
- text-align: center;
- .svg {
- margin-right: 5%;
- }
- }
-`
diff --git a/components/bill/TestimonyCounts.tsx b/components/bill/TestimonyCounts.tsx
index 23ccee792..52632fc91 100644
--- a/components/bill/TestimonyCounts.tsx
+++ b/components/bill/TestimonyCounts.tsx
@@ -66,11 +66,11 @@ export const TestimonyCounts = ({
{total} Total Testimonies
- Endorse
+ {t("counts.endorsements.title")}
@@ -79,11 +79,11 @@ export const TestimonyCounts = ({
- Neutral
+ {t("counts.neutral.title")}
@@ -92,11 +92,11 @@ export const TestimonyCounts = ({
- Oppose
+ {t("counts.oppose.title")}
diff --git a/public/locales/en/testimony.json b/public/locales/en/testimony.json
index b40290e83..3641724f6 100644
--- a/public/locales/en/testimony.json
+++ b/public/locales/en/testimony.json
@@ -1,9 +1,18 @@
{
"counts": {
- "endorsements": "The total number of testimonies that endorse the bill.",
- "neutral":"The total number of testimonies that are neutral towards the bill.",
- "oppose":"The total number of testimonies that oppose the bill."
+ "endorsements": {
+ "title": "Endorse",
+ "alt": "The total number of testimonies that endorse the bill."
},
+ "neutral": {
+ "title": "Neutral",
+ "alt": "The total number of testimonies that are neutral towards the bill."
+ },
+ "oppose": {
+ "title": "Oppose",
+ "alt": "The total number of testimonies that oppose the bill."
+ }
+ },
"link": {
"tweetContent": "I provided testimony on Bill {{billNumber}}. See {{link}} for details.",
"twitter": "Tweet Your Published Testimony"
@@ -61,7 +70,7 @@
"reporting": "Reporting",
"report": "Report",
"rescind": "You may request that your testimony be deleted by completing this form. Since MAPLE is an archive, deletion requests will only be granted if the testimony was submitted on the wrong bill, if it contained sensitive personal information, or if the user is below 18 years old.",
- "personalInformation": "Personal Information",
+ "personalInformation": "Personal Information",
"wrongBill": "Submitted to wrong bill",
"offensive": "Offensive",
"violent": "Violent",
@@ -156,4 +165,4 @@
"draft": "Draft",
"emailCta": "Email Your Published Testimony"
}
-}
\ No newline at end of file
+}
diff --git a/scripts/stories.yml b/scripts/stories.yml
index 3db5579a0..b3efee5d4 100644
--- a/scripts/stories.yml
+++ b/scripts/stories.yml
@@ -134,11 +134,6 @@ figmaUrl: https://www.figma.com/file/3ifz37EOwDfmnEG8320KlD/CS1---MAPLE?node-id=
# Dashboard Newsfeed
---
-name: HotBillCard
-folder: dashboard/newsfeed
-grouping: Dashboard/Newsfeed
-figmaUrl: https://www.figma.com/file/3ifz37EOwDfmnEG8320KlD/CS1---MAPLE?node-id=158%3A3865
----
name: NewsfeedCard
folder: dashboard/newsfeed
grouping: Dashboard/Newsfeed
diff --git a/stories_hold/organisms/newsfeed/HotBillCard.stories.tsx b/stories_hold/organisms/newsfeed/HotBillCard.stories.tsx
deleted file mode 100644
index 818384bc5..000000000
--- a/stories_hold/organisms/newsfeed/HotBillCard.stories.tsx
+++ /dev/null
@@ -1,68 +0,0 @@
-import { ComponentStory } from "@storybook/react"
-import React, { useState } from "react"
-import { createMeta } from "stories/utils"
-import { HotBillCard } from "components/HotBillCard/HotBillCard"
-
-// TODO: move into components directory
-//const HotBillCard = () => TODO
-
-export default createMeta({
- title: "Dashboard/Newsfeed/HotBillCard",
- component: HotBillCard
-})
-
-const Template: ComponentStory = props => {
- return
-}
-
-export const Primary = Template.bind({})
-Primary.args = {
- bills: [
- {
- id: "123",
- billNumber: "hc.508",
- title:
- "An Act that goes by no other name but... I forget. But it was good",
- endorseCount: 41,
- opposeCount: 182,
- neutralCount: 98
- },
- {
- id: "456",
- billNumber: "hc.411",
- title:
- "An Act that goes by no other name but... I forget. But it was good",
- endorseCount: 41,
- opposeCount: 182,
- neutralCount: 98
- },
- {
- id: "789",
- billNumber: "hc.999",
- title:
- "An Act that goes by no other name but... I forget. But it was good",
- endorseCount: 41,
- opposeCount: 182,
- neutralCount: 98
- },
- {
- id: "012",
- billNumber: "hc.911",
- title:
- "An Act that goes by no other name but... I forget. But it was good",
- endorseCount: 41,
- opposeCount: 182,
- neutralCount: 98
- },
- {
- id: "345",
- billNumber: "hc.888",
- title:
- "An Act that goes by no other name but... I forget. But it was good",
- endorseCount: 41,
- opposeCount: 182,
- neutralCount: 98
- }
- ],
- session: "123"
-}