diff --git a/src/components/page-blocks/blocks/PartyPlatformBlock.js b/src/components/page-blocks/blocks/PartyPlatformBlock.js
index 8dc7d93..599a5f3 100644
--- a/src/components/page-blocks/blocks/PartyPlatformBlock.js
+++ b/src/components/page-blocks/blocks/PartyPlatformBlock.js
@@ -48,21 +48,20 @@ export const PlatformBlock = (props) => {
}
{sources_details &&
-
-
- {sources_details.map( source_detail => (
-
+
+ {sources_details.map( (source_detail, index) => (
+ -
{' '}
{source_detail.title} ({getDomainFromUrl(source_detail.url)})
-
+
))}
-
+
}
- {demographics &&
+ {demographics && demographics.length >0 &&
Groups Affected: {' '}
{demographics.map(group => (
@@ -102,7 +101,9 @@ function partyToTitleTransform(party){
return title;
}
const PartyPlatformBlock = (props) => {
- const {party, partyPlatforms, nColWidth} = props.data;
+ // TODO figure out why this is causing ypeError: Converting circular structure to JSON
+ // const {party, partyPlatforms, nColWidth} = PlatformUtils.addMissingPlatformData(props.data);
+ const {party, partyPlatforms, nColWidth} = props.data
const nWidth = nColWidth || 6; // default hack
const offset = Math.floor((12-nWidth)/2);
diff --git a/src/data/Citations.js b/src/data/Citations.js
index a06f2f6..a0352aa 100644
--- a/src/data/Citations.js
+++ b/src/data/Citations.js
@@ -167,6 +167,42 @@ export const ALL_CITATIONS = {
directQuote: "A carbon tax offers the most cost-effective lever to reduce carbon emissions at a large scale and very quickly." +
"Sometimes market fail, and the price of a carbon tax will incentivize carbon emitters to use less carbon."
},
+ CMHC: {
+ link: "https://www.investopedia.com/terms/c/cmhc.asp",
+ publication: "Investopedia",
+ headline: "What Is the Canada Mortgage and Housing Corporation (CMHC)?",
+ directQuote: <>The Canada Mortgage and Housing Corporation (CMHC) is a government department that acts as Canada's national housing agency.
+ The goal of the CMHCC is to help Canadians access affordable housing options, mainly by providing mortgage insurance to homebuyers.
+
+ Mortgage insurance is an insurance policy which compensates mortgage lenders if the bororower of the mortgage defaults on their loan.
+ >
+ },
+ HomeCoOwnership: {
+ link: "https://www.ontario.ca/document/co-owning-home",
+ publication: "Ontario Government",
+ headline: "Co-owning a home",
+ directQuote: <>Co-ownership housing is a shared living arrangement where two or more people own and live in a home together.
+ Co-owners may share living spaces like kitchens and living rooms, or the home may be divided into separate units.
+
+ Co-ownership housing has recently become more popular (for example in
+ Vancouver and
+ Toronto) as house prices have become more expensive
+ and more people seek alternative ways to afford a home.
+ >
+ },
+ GuaranteedLivableIncome: {
+ link: "https://en.wikipedia.org/wiki/Guaranteed_minimum_income",
+ publication: "Wikipedia",
+ headline: "Guaranteed Minimum Income",
+ directQuote: <>Guaranteed Livable Income (commonly known as Guaranteed Minimum Income (GMI)) is similar to
+ Universal Basic Income
+ .
+
+ However, in UBI, everyone gets the same amount of money. GMI is means-based so people who have less income receive more money. It's similar to
+ welfare programs that already exist, but the biggest difference is that these programs typically involve direct cash payments given to the recipients
+ and they have more freedom in how they choose to spend the money.
+ >
+ },
BillC69: {
link: "https://openparliament.ca/bills/42-1/C-69/",
publication: "Open Parliament",
@@ -190,5 +226,23 @@ export const ALL_CITATIONS = {
The anti NIMBYISM perspective says that building more high homes and higher density homes,
creates more affordable housing for everyone
+ },
+ FRACKING: {
+ link: "https://www.vox.com/2014/4/14/18076690/fracking",
+ // TODO add Pros and cons sections:
+ publication: "VOX",
+ headline: "Fracking, explained",
+ directQuote:
+ Fracking is the process of injecting water, chemicals and sand underground at a very high pressure
+ to release the oil trapped inside.
+
+
+ Some people say Fracking is bad because it can contaminate the groundwater and pollute the air.
+
+
+ Some people say Fracking is good because it lowers carbon emissions when
+ used in the place of coal. It's also cheaper than other methods of getting gas.
+ Therefore, consumers pay lower gas prices and mroe jobs are added to the economy.
+
}
};
diff --git a/src/data/Constants.js b/src/data/Constants.js
index 582404f..1395e9d 100644
--- a/src/data/Constants.js
+++ b/src/data/Constants.js
@@ -1,4 +1,5 @@
// export const RECENT_GRADS = 'recent grads';
+import React from "react";
import LinksBlock from "../components/page-blocks/blocks/LinksBlock";
import SectionTitleBlock from "../components/page-blocks/blocks/SectionTitleBlock";
import { References } from "./References";
@@ -56,7 +57,7 @@ export const ELECTION_TOPICS = [
SENIORS_TOPIC,
];
-export const CONTRIBUTION_INSTRUCTIONS_LINK = "https://github.com/atilatech/government-fyi/tree/update_2021_policies#how-to-contribute"
+export const CONTRIBUTION_INSTRUCTIONS_LINK = "https://github.com/atilatech/government-fyi#how-to-contribute"
export const ELECTION_YEAR = 2021;
export const CREATION_DATE = `September 11, ${ELECTION_YEAR} 7:00:00`;
@@ -95,3 +96,10 @@ export const ReferencesBlock = [
}
}
];
+
+export const IncompletePartyInformation = () => (
+ (
+ Information for this party is incomplete, however, you can contribute policy information here.
+ )
+);
\ No newline at end of file
diff --git a/src/data/PartyPlatformDataEnergyClimate.js b/src/data/PartyPlatformDataEnergyClimate.js
index 520b3b7..3773ce8 100644
--- a/src/data/PartyPlatformDataEnergyClimate.js
+++ b/src/data/PartyPlatformDataEnergyClimate.js
@@ -1,7 +1,6 @@
-import {Citations} from "../pages/1/expandables";
import React from "react";
import Citation from "../components/interactive/citation/citation";
-import {CLIMATE_CONSCIOUS, ENERGY_AND_CLIMATE, OIL_WORKERS} from "./Constants";
+import {CLIMATE_CONSCIOUS, ENERGY_AND_CLIMATE, IncompletePartyInformation, OIL_WORKERS} from "./Constants";
import { ALL_CITATIONS } from "./Citations";
import {EmojiLg} from "../components/static/iMessageStyles";
@@ -10,7 +9,7 @@ export const CONSERVATIVES_ENERGY_CLIMATE = {
topic: ENERGY_AND_CLIMATE,
partyPlatforms: [
{
- text: "Introduce a zero emissions vehicle rule based on the one in British Columbia: 30% of light duty vehicles sold must be zero emissions by 2030.",
+ text: "Require that 30% of light duty vehicles (e.g. passenger vehicles) sold must be zero emissions by 2030. (Nased on the British Columbia rule)",
sources_details: [
{
url: "https://cpcassets.conservative.ca/wp-content/uploads/2021/04/15104504/24068610becf2561.pdf#page=5",
@@ -19,31 +18,25 @@ export const CONSERVATIVES_ENERGY_CLIMATE = {
]
},
{
- text: "Cancel the carbon tax",
- source: "https://www.conservative.ca/cpc/build-the-pipe/",
+ text: "Requiring that every building where the federal government has employees or offers services to the public and provides parking to have a charging station by 2025",
demographics: [
OIL_WORKERS,
CLIMATE_CONSCIOUS,
],
},
{
- text: "End the shipping ban in British Columbia",
- source: "https://www.conservative.ca/cpc/build-the-pipe/",
+ text: "Require 15% of downstream natural gas consumption to be renewable by 2030. (based on the British Columbia rule)", // TODO: explain "downstream natural gas consumption"
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/04/15104504/24068610becf2561.pdf#page=7",
demographics: [
OIL_WORKERS,
],
},
{
+ // TODO make Personal Low Carbon Savings Account a Citation
text:
- Cancel
-
- Bill C-69
-
+ Introduce a Personal Low Carbon Savings Account: each time Canadians buy Hydrocarbon-based fuel that money will be applied to an account that can be used to buy clean energy products. E.g. bicycle, public transit, electric vehicle, energy efficient furnace, energy efficient windows etc.
,
- demographics: [
- OIL_WORKERS,
- CLIMATE_CONSCIOUS,
- ]
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/04/15104504/24068610becf2561.pdf#page=4",
}
],
};
@@ -59,23 +52,27 @@ export const LIBERALS_ENERGY_CLIMATE = {
url: "https://liberal.ca/our-platform/eliminating-subsidies-and-public-financing-for-fossil-fuel/",
title: "Eliminating Subsidies and Public Financing for Fossil Fuel"
}
- ]
+ ],
+ demographics: [
+ OIL_WORKERS,
+ CLIMATE_CONSCIOUS,
+ ],
},
{
- text: "phase out coal power by 2030 to help exceed the Paris climate change agreement",
- source: "https://www.liberal.ca/liberals-move-forward-to-legislate-net-zero-emissions-by-2050/",
+ text: "Make sure the oil and gas sector reduces emissions at a rate needed to achieve net-zero by 2050, with 5-year targets to stay on track to achieving this shared goal", //TODO add Citation explaining what net-zero means
+ source: "https://liberal.ca/our-platform/cap-and-cut-emissions-from-oil-and-gas/#:~:text=Make%20sure%20the%20oil%20and%20gas%20sector%20reduces%20emissions%20at%20a%20pace%20and%20scale%20needed%20to%20achieve%20net-zero%20by%202050%2C%20with%205-year%20targets%20to%20stay%20on%20track%20to%20achieving%20this%20shared%20goal",
demographics: [
OIL_WORKERS,
CLIMATE_CONSCIOUS,
],
},
{
- text: "Ban single use plastics",
- source: "https://www.liberal.ca/liberals-move-forward-to-legislate-net-zero-emissions-by-2050/",
+ text: "Require that all plastic packaging in Canada contain at least 50% recycled content by 2030.",
+ source: "https://liberal.ca/our-platform/zero-plastic-waste-by-2030/",
},
{
text: "Plant two billion trees over ten years",
- source: "https://www.liberal.ca/liberals-move-forward-to-plant-two-billion-trees/",
+ source: "https://liberal.ca/our-platform/natural-climate-solutions/#:~:text=planting%202%20billion%20trees%20across%20the%20country",
demographics: [
CLIMATE_CONSCIOUS,
]
@@ -88,31 +85,22 @@ export const NDP_ENERGY_CLIMATE = {
topic: ENERGY_AND_CLIMATE,
partyPlatforms: [
{
- text: "Electrify transit fleets by 2030",
- source: "https://action.ndp.ca/page/-/2019/Q2/Power-to-change-full-announcement.pdf",
- demographics: [
- CLIMATE_CONSCIOUS,
- ],
+ text: "Reduce emissions by at least 50% from 2005 levels by 2030 and eliminate fossil fuel subsidies",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=46",
},
{
- text: "Eliminate fossil fuel subsidies immediately and get Canada powered by net carbon-free electricity by 2030",
- demographics: [
- OIL_WORKERS,
- ],
+ text: "Set a target of net carbon-free electricity by 2030, and move to 100% nonemitting electricity by 2040."
},
{
- text: "Reducing Canada’s greenhouse gas emissions to 450 Mt by 2030",
- demographics: [
- CLIMATE_CONSCIOUS,
- OIL_WORKERS,
- ]
+ text: "Renovate all buildings in Canada by 2050 to make them energy efficient, beginning with upgrades to all buildings built before 2020 in the next 20 years",
},
{
- text: "Ban all single-use plastics by 2022",
- source: "https://www.ndp.ca/news/ndp-lets-ban-single-use-plastics-2022",
- demographics: [
- CLIMATE_CONSCIOUS,
- ]
+ text: "Immediately ban single-use plastics",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=57",
+ },
+ {
+ text: "Make having a healthy environment a Canadian human right by creating a Canadian Environmental Bill of Right",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=57"
}
],
};
@@ -122,39 +110,49 @@ export const GREEN_ENERGY_CLIMATE = {
topic: ENERGY_AND_CLIMATE,
partyPlatforms: [
{
- text: "Reduce greenhouse gas emissions by 60 percent by 2030, zero emissions by 2050",
- source: "https://www.greenparty.ca/en/mission-possible",
- demographics: [
- OIL_WORKERS,
- CLIMATE_CONSCIOUS,
- ],
+ text: "Ban the sale of all passenger cars powered by gas by 2030.",
+ source: "https://www.greenparty.ca/en/platform/green-future#:~:text=Ban%20the%20sale%20of%20all%20internal%20combustion%20engine%20passenger%20vehicles%20by%202030%2C%20and%20expand%20charging%20stations%20for%20electric%20vehicles%2C%20including%20charging%20stations%20in%20smaller%20communities%20and%20rural%20areas.%C2%A0",
+ },
+ {
+ text: "Expand charging stations for electric vehicles, including charging stations in smaller communities and rural areas.",
+ source: "https://www.greenparty.ca/en/platform/green-future#:~:text=Ban%20the%20sale%20of%20all%20internal%20combustion%20engine%20passenger%20vehicles%20by%202030%2C%20and%20expand%20charging%20stations%20for%20electric%20vehicles%2C%20including%20charging%20stations%20in%20smaller%20communities%20and%20rural%20areas.%C2%A0",
},
{
- text: "Ban fracking",
+ text: "No construction of new oil and gas pipelines and exploration projects, including in the offshore. End the expansion of the federally owned Trans Mountain pipeline.",
+ source: "https://www.macleans.ca/rankings/2021-federal-election-platform-guide/#:~:text=No%20construction%20of%20new%20oil%20and%20gas%20pipelines%2C%20including%20an%20end%20to%20the%20federally%20owned%20Trans%20Mountain%20pipeline%20expansion.",
+ sources_details: [
+ {
+ title: "Green Party opposes the construction of any new gas or oil pipelines in Quebec",
+ url: "https://www.greenparty.ca/en/media-release/2021-05-11/green-party-opposes-construction-any-new-gas-or-oil-pipelines-quebec"
+ },
+ {
+ title: "A Green Future",
+ url: "https://www.greenparty.ca/en/platform/green-future#:~:text=Cancel%20all%20new%20oil%20exploration%20projects%2C%20including%20in%20the%20off-shore"
+ },
+ ],
demographics: [
OIL_WORKERS,
- CLIMATE_CONSCIOUS,
],
},
{
- text: "Remove all fossil fuel generation from electrical grid by 3030",
+ text: <>Ban Fracking and end all subsidies to the fossil fuel sector>,
+ source: "https://www.greenparty.ca/en/platform/green-future#:~:text=Ban%20hydraulic%20fracturing%20(fracking)",
demographics: [
OIL_WORKERS,
- CLIMATE_CONSCIOUS,
],
},
{
- text: "Replace all fuel cars with electric vehicles by 2040",
+ text: "Require federal public investment funds (including the Canada Pension Plan Investment Board) to divest from fossil fuels",
+ source: "https://www.greenparty.ca/en/platform/green-future#:~:text=Require%20federal%20public%20investment%20funds%20(including%20the%20Canada%20Pension%20Plan%20Investment%20Board)%20to%20divest%20from%20fossil%20fuels",
demographics: [
OIL_WORKERS,
- CLIMATE_CONSCIOUS,
],
},
{
- text: "Build a cross-country electric vehicle charging system ",
+ text: "Beginning in 2022 and up to 2030, increase carbon taxes by $25 per tonne each year.",
+ source: "https://www.greenparty.ca/en/platform/green-future#:~:text=Beginning%20in%202022%20and%20up%20to%202030%2C%20increase%20carbon%20taxes%20by%20%2425%20per%20tonne%20each%20year.%C2%A0",
demographics: [
OIL_WORKERS,
- CLIMATE_CONSCIOUS,
],
},
],
@@ -163,44 +161,15 @@ export const GREEN_ENERGY_CLIMATE = {
export const BLOC_QUEBECOIS_ENERGY_CLIMATE = {
party: "Bloc Quebecois",
topic: ENERGY_AND_CLIMATE,
- partyPlatforms: [
- {
- text: "Reject the Energy East pipeline that would run through Quebec",
- source: "https://www.bnnbloomberg.ca/2019-federal-election-platform-tracker-where-the-major-parties-stand-so-far-1.1308714#ENERGY%20&%20ENVIRONMENT",
- },
- {
- text: "Give Quebec veto over any pipeline that runs through the province",
- source: "https://newsinteractives.cbc.ca/elections/federal/2019/party-platforms/",
- },
- {
- text: "End fossil fuel subsidies",
- source: "http://www.blocquebecois.org/wp-content/uploads/2019/10/Plateforme_Bloc2019_web-1.pdf",
- }
- ],
+ incomplete: true,
+ partyPlatforms: [],
};
export const PEOPLES_ENERGY_CLIMATE = {
party: "People's",
topic: ENERGY_AND_CLIMATE,
- partyPlatforms: [
- {
- text: "Cancel Bill C-69",
- source: "https://www.bnnbloomberg.ca/2019-federal-election-platform-tracker-where-the-major-parties-stand-so-far-1.1308714#ENERGY%20&%20ENVIRONMENT",
- },
- {
- text: "Give Quebec veto over any pipeline that runs through the province",
- source: "https://newsinteractives.cbc.ca/elections/federal/2019/party-platforms/",
- },
- {
- text:
- Privatize Trans Mountain.
-
- Why privatize Trans Mountain?
-
- ,
- source: "https://www.peoplespartyofcanada.ca/pipelines_allowing_our_oil_and_gas_industry_to_grow",
- }
- ],
+ incomplete: true,
+ partyPlatforms: [],
};
@@ -210,6 +179,26 @@ export const ENERGY_CLIMATE_PLATFORMS = [
];
+ENERGY_CLIMATE_PLATFORMS
+ .forEach(platform => {
+
+ if (platform.incomplete) {
+ platform.partyPlatforms.push(
+ {
+ text:
+ }
+ )
+ } else {
+ platform.partyPlatforms.forEach( idea => {
+
+ if (!idea.demographics) {
+ idea.demographics = []
+ }
+ idea.demographics.push(CLIMATE_CONSCIOUS)
+ })
+ }
+});
+
export const ENERGY_CLIMATE_CARBON_TAX_CONVERSATION = [
{
from: "them",
diff --git a/src/data/PartyPlatformDataHealthcare.js b/src/data/PartyPlatformDataHealthcare.js
index 5d0744c..d8c7430 100644
--- a/src/data/PartyPlatformDataHealthcare.js
+++ b/src/data/PartyPlatformDataHealthcare.js
@@ -1,7 +1,8 @@
import Citation from "../components/interactive/citation/citation";
import React from "react";
-import {HEALTHCARE, LOW_INCOME} from "./Constants";
+import {HEALTHCARE, SENIORS, STUDENTS} from "./Constants";
import { ALL_CITATIONS } from "./Citations";
+import { PlatformUtils } from "services/PlatformUtils";
export const CONSERVATIVES_HEALTHCARE = {
@@ -9,12 +10,21 @@ export const CONSERVATIVES_HEALTHCARE = {
topic: HEALTHCARE,
partyPlatforms: [
{
- text: "Spend $1.5 billion to buy new MRI and CT machines across Canada",
- source: "https://www.conservative.ca/andrew-scheer-to-invest-1-5-billion-to-replace-and-purchase-new-mri-and-ct-machines/",
+ text: "Offer employers a tax credit of 25 per cent of the cost of additional mental health coverage for the first three years after adding it to employee benefit plans, for $29 million over five years.",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=33",
},
+ // TODO addd citation for Bill
{
- text: "Increase the amount of money the federal government gives to provinces for healthcare by at least three per cent every year",
- source: "http://s3.documentcloud.org/documents/6236510/Morneau-letter-to-Scheer.pdf",
+ text: <>Reinstate the rule that patients must wait 10-days before seeking medical assistance in dying, restore the requirement for two independent witnesses to be present and repeal the provision of Bill C-7 that allows medical assistance in dying for patients with mental health challenges.>,
+ source: "http://s3.documentcloud.org/documents/6236510/Morneau-letter-to-Scheer.pdf#page=34",
+ },
+ {
+ text: <>Provide $1 billion over five years to boost funding for Indigenous mental health and drug treatment programs.>,
+ source: "http://s3.documentcloud.org/documents/6236510/Morneau-letter-to-Scheer.pdf#page=60",
+ },
+ {
+ text: <>Invest $325 over three years to create 1,000 residential drug treatment beds and build 50 recovery community centres.>,
+ source: "http://s3.documentcloud.org/documents/6236510/Morneau-letter-to-Scheer.pdf#page=29",
},
],
};
@@ -24,13 +34,30 @@ export const LIBERALS_HEALTHCARE = {
topic: HEALTHCARE,
partyPlatforms: [
{
- text: Spend $6 billion as “down payment” over the next four years to ,
-
-
- implement pharmacare
- , universal access to family doctor, mental health services and palliative care
- (people with serious illnesses),
- source: "https://globalnews.ca/news/5939030/trudeau-pledges-6b-to-kickstart-talks-on-health-care-national-pharmacare-with-provinces/",
+ text: "No longer provide charity status to anti-abortion organizations (for example, Crisis Pregnancy Centres) that provide dishonest counseling to women about their rights and about the options available to them at all stages of the pregnancy.",
+ source: "https://liberal.ca/our-platform/protecting-your-sexual-and-reproductive-health-and-rights/#:~:text=No%20longer%20provide%20charity%20status%20to%20anti-abortion%20organizations"
+ },
+ {
+ text: "Make a law that no matter where someone lives, they have access to publicly available sexual and reproductive health services. If provinces don't meet this standard they will get less money from the federal government.",
+ source: "https://liberal.ca/our-platform/protecting-your-sexual-and-reproductive-health-and-rights/#:~:text=no%20matter%20where%20someone%20lives%2C%20that%20they%20have%20access%20to%20publicly%20available%20sexual%20and%20reproductive%20health%20services.",
+ },
+ {
+ text: "Raise wages for personal support workers, including a guaranteed minimum wage of at least $25 per hour.",
+ source: "https://liberal.ca/our-platform/better-working-conditions-for-personal-support-workers/#:~:text=Raise%20wages%20for%20personal%20support%20workers",
+ demographics: [
+ SENIORS,
+ ],
+ },
+ {
+ text: "Increase the maximum student loans debt relief that family doctors, residents in family medicine, nurse practitioners, or nurses are eligible for by 50% (from $40,000 to $60,000 over 5 years)",
+ source: "https://liberal.ca/our-platform/increasing-rural-and-underserved-communities-access-to-health-care/#:~:text=increasing%20by%2050%25%20(from%20%2440%2C000%20up%20to%20%2460%2C000%20over%205%20years)%2C",
+ demographics: [
+ STUDENTS,
+ ],
+ },
+ {
+ text: "Offer health care professionals, a one-time income tax deduction of up to $15,000 over their first 3 years of practice to help with the costs of setting up a practice.",
+ source: "https://liberal.ca/our-platform/increasing-rural-and-underserved-communities-access-to-health-care/#:~:text=Offer%20health%20care%20professionals%2C%20who%20are%20just%20starting%20out%20in%20their%20careers%2C%20a%20one-time%20income%20tax%20deduction%20of%20up%20to%20%2415%2C000",
}
],
};
@@ -40,12 +67,30 @@ export const NDP_HEALTHCARE = {
topic: HEALTHCARE,
partyPlatforms: [
{
- text: "Spend $10 billion a year to create universal pharmacare program by 2020",
- source: "https://www.bnnbloomberg.ca/ndp-s-jagmeet-singh-highlights-pledge-for-universal-drug-coverage-1.1319460",
+ text: <>Expand public health care to include
+ Pharmacare
+ .>,
+ source: "https://www.greenparty.ca/en/our-vision/health-care#:~:text=Expand%20public%20health%20care%20to%20include%20pharmacare",
+ },
+ {
+ text: "End private, for-profit long-term care and bring long-term care homes under the government owned company, Revera.",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=64",
+ demographics: [
+ SENIORS
+ ]
},
{
- text: "Spend $1.9 billion in Public dental coverage for households making less than $70k per year",
+ text: "End the ban on blood donation by men who have sex with anyone assigned male at birth. Instead use behaviour-based screening.",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=111"
},
+ {
+ text: "Enforce the Canada Health Act to require all provinces to make medical and surgical abortion available in all areas of the country.",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=110"
+ },
+ {
+ text: "Provide mental health care for uninsured Canadians.",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=67"
+ }
],
};
@@ -54,17 +99,18 @@ export const GREEN_HEALTHCARE = {
topic: HEALTHCARE,
partyPlatforms: [
{
- text: "Expand health insurance to include Pharmacare for everyone as well as free dental care for low-income Canadians",
- source: "https://www.greenparty.ca/en/platform/renew-social-contract#health-care",
- demographics: [
- LOW_INCOME,
- ],
+ text: <>Expand public health care to include
+ Pharmacare
+ , create a government company to bulk purchase and dispense prescription drugs.>,
+ source: "https://www.greenparty.ca/en/our-vision/health-care#:~:text=Expand%20public%20health%20care%20to%20include%20pharmacare",
},
{
- text: "Address the opioid crisis as a health-care issue, not a criminal issue, by declaring a national health emergency.",
+ text: "Decriminalize possession of illicit drugs for personal use. Provide automatic pardons to anyone convicted in the past of simple possession of cannabis and ensure that any records of such offences and circumstances are expunged from police records.",
+ source: "https://www.greenparty.ca/en/platform/life-with-dignity#:~:text=Decriminalize%20possession%20of%20illicit%20drugs%20for%20personal%20use"
},
{
- text: "Ban for-profit blood collection services and remove barriers to blood donations not based on science",
+ text: "Add a 10% tax on sugary drinks",
+ source: "https://www.greenparty.ca/sites/default/files/platform_2021_en_web_-_20210907.pdf#page=62"
},
],
};
@@ -72,28 +118,15 @@ export const GREEN_HEALTHCARE = {
export const BLOC_QUEBECOIS_HEALTHCARE = {
party: "Bloc Quebecois",
topic: HEALTHCARE,
- partyPlatforms: [
- {
- text: "Stop pricing drugs relative to their prices in the United States, thus lowering the price of drugs",
- source: "https://www.blocquebecois.org/wp-content/uploads/2019/10/Plateforme_Bloc2019_web-1.pdf",
- },
- ],
+ incomplete: true,
+ partyPlatforms: [],
};
export const PEOPLES_HEALTHCARE = {
party: "People's",
topic: HEALTHCARE,
- partyPlatforms: [
- {
- text: "Replace how much money the government gives to provinces for health care" +
- " with giving the tax revenue money back to the provinces and territories ",
- source: "https://www.peoplespartyofcanada.ca/health_care_giving_provinces_the_incentives_to_deal_with_wait_times_and_rising_costs",
- },
- {
- text: "Provinces that get less in tax revenue compared to what" +
- " they used to receive in transfer payments will be compensated with a temporary program",
- },
- ],
+ incomplete: true,
+ partyPlatforms: [],
};
@@ -101,3 +134,6 @@ export const HEALTHCARE_PLATFORMS = [
CONSERVATIVES_HEALTHCARE, LIBERALS_HEALTHCARE, NDP_HEALTHCARE,
GREEN_HEALTHCARE, BLOC_QUEBECOIS_HEALTHCARE,PEOPLES_HEALTHCARE
];
+// TODO implement this in PatyPlatformBlock.js so we don't have to call this for each block.
+// currently giving error: TypeError: Converting circular structure to JSON --> starting at object with constructor 'FiberNode'
+HEALTHCARE_PLATFORMS.forEach(platform => PlatformUtils.addMissingPlatformData(platform));
diff --git a/src/data/PartyPlatformDataHousing.js b/src/data/PartyPlatformDataHousing.js
index f776903..03a922a 100644
--- a/src/data/PartyPlatformDataHousing.js
+++ b/src/data/PartyPlatformDataHousing.js
@@ -1,29 +1,31 @@
-import {CLIMATE_CONSCIOUS, FOREIGNERS, HOMEOWNERS} from "./Constants";
+import React from "react";
import { ALL_CITATIONS } from "./Citations";
import Citation from "../components/interactive/citation/citation";
-import React from "react";
import {EmojiLg} from "../components/static/iMessageStyles";
+import { PlatformUtils } from "services/PlatformUtils";
+import { FOREIGNERS } from "./Constants";
export const CONSERVATIVE_HOUSING = {
party: "Conservative",
topic: "Housing",
partyPlatforms: [
{
- text: Increase mortgage term length to 30 years for first-time homebuyers,
- source: "https://www.conservative.ca/andrew-scheer-announces-four-point-plan-to-make-home-ownership-more-affordable/",
+ text: "Release at least 15% of the federal government's real estate for housing.",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=28",
},
{
- text: "Reduce the number of criteria you have to qualify to buy a home. Remove the criteria for mortgage renewals",
+ text: "Remove the requirement to conduct a stress test when a homeowner renews a mortgage with another lender instead of only when staying with their current lender, as is the case today",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=29"
},
{
- text: "Make extra federal land available for building more houses",
+ text: "Invest $325 million over the next three years to create 1,000 residential drug treatment beds and build 50 recovery community centres across the country",
},
{
- text: "implement a 20 per cent green homes tax credit for up to $20,000 spent" +
- " over two years to pay for energy-saving renovations",
- demographics: [
- CLIMATE_CONSCIOUS,
- ]
+ text: "Ban foreign investors not living in or moving to Canada from buying homes here for a two year period after which it will be reviewed.",
+ },
+ {
+ text: "Extend the ability to defer capital gains tax when selling a rental property and reinvesting in rental housing.",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=28"
}
],
};
@@ -33,43 +35,25 @@ export const LIBERAL_HOUSING = {
topic: "Housing",
partyPlatforms: [
{
- text: Make it harder for foreigners to speculate on Canadian real estate market through a{' '}
-
- speculation tax.
-
- ,
- source: "https://www.bnnbloomberg.ca/trudeau-promises-new-speculation-tax-on-foreign-buyers-if-re-elected-1.1315217",
- demographics: [
- FOREIGNERS,
- ]
+ text: "Introduce a tax-free First Home Savings Account will allow Canadians under 40 to save up to $40,000 towards their first home, and to withdraw it tax-free to put towards their first home purchase, with no requirement to repay it",
+ source: "https://liberal.ca/wp-content/uploads/sites/292/2021/09/Platform-Forward-For-Everyone.pdf#page=21",
},
{
- text: "Build 100,000 affordable homes over a decade and offer first-time home-buyer subsidies of 10 per cent on new home purchases and 5 per cent on resales — with restrictions.",
- source: "https://2019.liberal.ca/wp-content/uploads/sites/292/2019/09/cutting-home-energy-bills-and-pollution.pdf",
+ text: "Banning blind bidding, establishing a legal right to a home inspection, and banning new foreign ownership for two years.",
+ source: "https://liberal.ca/a-home-for-everyone-liberals-move-forward-with-a-new-housing-plan/#:~:text=banning%20blind%20bidding%2C%20establishing%20a%20legal%20right%20to%20a%20home%20inspection%2C%20and%20banning%20new%20foreign%20ownership%20for%20two%20years."
},
{
- text: "offer interest-free loans up to $40,000 to homeowners and landlords to make houses weather-resilient",
- source: "https://2019.liberal.ca/wp-content/uploads/sites/292/2019/09/cutting-home-energy-bills-and-pollution.pdf"
+ text: "Double the First-Time Home Buyers Tax Credit, from $5,000 to $10,000.",
+ source: "https://liberal.ca/wp-content/uploads/sites/292/2021/09/Platform-Forward-For-Everyone.pdf#page=21",
},
{
- text: "retrofit 1.5 million homes for energy efficiency over 5 years",
- source: "https://2019.liberal.ca/wp-content/uploads/sites/292/2019/09/cutting-home-energy-bills-and-pollution.pdf",
- demographics: [
- CLIMATE_CONSCIOUS,
- ]
+ text: "Introduce a new Multigenerational Home Renovation tax credit: families adding a secondary unit to their home for a family member can claim a 15% tax credit for up to $50,000 in renovation and construction costs. $7,500 in tax savings.",
+ source: "https://liberal.ca/wp-content/uploads/sites/292/2021/09/Platform-Forward-For-Everyone.pdf#page=22",
},
{
- text: "Make Energy Star certification mandatory for new appliances in homes by 2022",
- demographics: [
- CLIMATE_CONSCIOUS,
- ]
+ text: "Establish an anti-flipping tax on residential properties, requiring properties to be held for at least 12 months.",
+ source: "https://liberal.ca/wp-content/uploads/sites/292/2021/09/Platform-Forward-For-Everyone.pdf#page=23",
},
- {
- text: "Provide 5-10% down payment for first-time home buyers in Victoria," +
- " Vancouver and Toronto to buy a new home. The maximum value for a qualifying home will increase from" +
- " $500,000 to about $800,000",
- source: "https://globalnews.ca/video/5893882/liberal-leader-trudeau-makes-campaign-announcement-on-housing-affordability"
- }
],
};
export const NDP_HOUSING = {
@@ -77,21 +61,26 @@ export const NDP_HOUSING = {
topic: "Housing",
partyPlatforms: [
{
- text: "Build 500,000 affordable housing units over 10 years",
- source: "https://action.ndp.ca/page/-/2019/Q4/PDF%20assets/NDP-TheFiscalPlan-EN-PRINT.pdf#page=3",
+ text: "Create at least 500,000 units of quality, affordable housing in the next ten years, with half of that done within five years",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=11",
+ },
+ {
+ text: <>Re-introduce 30-year terms to
+ CMHC
+ insured mortgages on entry-level homes for first time home buyers>,
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=12",
},
{
- text: "Removing GST from New Rental Buildings",
- source: "https://www.ndp.ca/news/jagmeet-singh-lets-build-half-million-affordable-housing-units",
+ text: <>Provide model
+ co-ownership
+ agreements and offer mortgage insurance backed by the CMHC for co-ownership of homes.>,
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=12",
},
{
- text: "NDP proposes a 15% extra tax on foreign buyers.",
- source: "https://vancouversun.com/news/local-news/ndp-leader-jagmeet-singh-in-vancouver-and-port-moody",
- demographics: [FOREIGNERS]
+ text: "20% Foreign Buyer’s tax on the sale of homes to individuals who aren’t Canadian citizens or permanent residents",
},
{
- text: "Increase mortgage term length to 30 years for first-time homebuyers",
- source: "https://globalnews.ca/news/4981158/ndp-leader-jagmeet-singh-proposes-new-housing-measures/",
+ text: "Doubling the Home Buyer’s Tax Credit to $1,500",
}
],
};
@@ -100,63 +89,41 @@ export const GREEN_HOUSING = {
topic: "Housing",
partyPlatforms: [
{
- text: "$750 million for rent assistance for 125,000 households",
- souce: "https://www.greenparty.ca/en/platform/renew-social-contract",
+ text: "Build and acquire a minimum of 300,000 units of deeply affordable non-market, co-op and non-profit housing over a decade.",
+ souce: "https://www.greenparty.ca/en/platform/life-with-dignity#:~:text=Build%20and%20acquire%20a%20minimum%20of%20300%2C000%20units%20of%20deeply%20affordable",
},
{
- text: "Provide support to the co-operative housing sector at a total cost of $950 million"
+ text: "Invest in construction and operation of 50,000 supportive housing units over 10 years.",
},
{
- text: "Provide incentives of $250 million to convert existing properties to rentals by 2025"
+ text: <>Change the focus of the
+ CMHC
+ from it's current priority of helping Canadian lenders derisk their investment and individual home ownership to supporting affordable, non-market and cooperative housing.>,
+ source: "https://www.greenparty.ca/en/platform/life-with-dignity#:~:text=Re-focus%20the%20core%20mandate%20of%20Canada%20Mortgage%20and%20Housing%20Corporation%20(CMHC)"
},
{
- text: "Legislate housing as a legally protected fundamental human right for all Canadians and permanent residents"
- }
+ text: "Raise the “empty home” tax for foreign and corporate residential property owners who leave buildings and units vacant. Close tax haven loopholes that allow foreign investors to hide the names of beneficial owners of properties in Canada.",
+ source: "https://www.greenparty.ca/en/platform/life-with-dignity#:~:text=Strengthen%20regulation%20to%20limit%20foreign%20investment%20and%20end%20predatory%20practices%20in%20residential%20real%20estate%C2%A0",
+ demographics: [
+ FOREIGNERS
+ ]
+ },
],
};
export const BLOC_QUEBECOIS_HOUSING = {
party: "Bloc Quebecois",
topic: "Housing",
- partyPlatforms: [
- {
- text: "Invest $400 million in social housing",
- souce: "https://www.blocquebecois.org/familles-et-citoyens/",
- },
- ],
+ incomplete: true,
};
export const PEOPLES_HOUSING = {
party: "People's",
topic: "Housing",
- partyPlatforms: [
- {
- text: "No specific proposals to date. ",
- },
- {
- text: If you know some you can{' '}
-
- contribute them here
- .
- ,
- },
- ],
+ incomplete: true,
};
export const HOUSING_PLATFORMS = [CONSERVATIVE_HOUSING, LIBERAL_HOUSING, NDP_HOUSING,
GREEN_HOUSING, BLOC_QUEBECOIS_HOUSING, PEOPLES_HOUSING];
-HOUSING_PLATFORMS
- .filter(platform =>platform.party!=="People's")
- .forEach(platform => {
-
- platform.partyPlatforms.forEach( idea => {
-
- if (!idea.demographics) {
- idea.demographics = []
- }
- idea.demographics.push(HOMEOWNERS)
- })
- });
+HOUSING_PLATFORMS.forEach(platform => PlatformUtils.addMissingPlatformData(platform));
export const HOUSING_CONVERSATION = [
{
diff --git a/src/data/PartyPlatformDataJobsEconomy.js b/src/data/PartyPlatformDataJobsEconomy.js
index 6bc246d..7e04f5c 100644
--- a/src/data/PartyPlatformDataJobsEconomy.js
+++ b/src/data/PartyPlatformDataJobsEconomy.js
@@ -1,12 +1,11 @@
+import { PlatformUtils } from "services/PlatformUtils";
import {
ENTREPRENEURS_AND_SMALL_BUSINESS,
IMMIGRANTS,
- LOW_INCOME,
+ PARENTS,
STUDENTS,
UNEMPLOYED,
- VISIBLE_MINORITY,
WOMEN,
- YOUNG_PEOPLE
} from "./Constants";
export const CONSERVATIVE_JOBS_AND_ECONOMY = {
@@ -14,17 +13,31 @@ export const CONSERVATIVE_JOBS_AND_ECONOMY = {
topic: "Jobs and Economy",
partyPlatforms: [
{
- text: "Improve “credential recognition” to make it easier for immigrants to get jobs, if they have equivalent skills.",
- source: "https://www.conservative.ca/cpc/andrew-scheers-immigration-plan/",
- demographics: [IMMIGRANTS, UNEMPLOYED],
+ text: "Introduce a Dine and Discover Program: Provide a 50% rebate for food and non-alcoholic drinks purchased for dine-in from Monday to Wednesday for one month once it is safe to do so and eliminate the Liberal escalator tax on alcohol.",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=11",
},
{
- text: "Spend $187 billion on infrastructure investments",
- source: "https://www.bnnbloomberg.ca/punting-infrastructure-funds-key-to-conservatives-balanced-budget-plan-1.1330412",
+ text: "Launch the Explore and Support Canada initiative with a 15% tax credit for vacation expenses of up to $1,000 per person for Canadians to vacation in Canada in 2022, helping our tourism sector get back on its feet",
},
{
- text: "Balance the budget in five years",
- source: "https://www.conservative.ca/andrew-scheer-reveals-his-plan-for-you-to-get-ahead/",
+ text: "Launch the Main Street Business Loan to provide loans of up to $200,000. (The current Canada Emergency Business Account (CEBA) is $60,000).",
+ },
+ {
+ text: "Provide a 25% tax credit on amounts of up to $100,000 that Canadians personally invest in a small business over the next two years.",
+ },
+ {
+ text: " Allow businesses with less than $60,000 in revenues to use simple cash accounting.",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=12",
+ demographics: [
+ ENTREPRENEURS_AND_SMALL_BUSINESS
+ ]
+ },
+ {
+ text: "Appoint a Minister Responsible for Red Tape Reduction tasked with introducing and passing at least one red tape reduction bill per year, eliminating unneeded or counterproductive red tape.",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=14",
+ demographics: [
+ ENTREPRENEURS_AND_SMALL_BUSINESS
+ ]
},
],
};
@@ -33,22 +46,22 @@ export const LIBERAL_JOBS_AND_ECONOMY = {
topic: "Jobs and Economy",
partyPlatforms: [
{
- text: "Raise the federal minimum wage to $15 per hour.",
- source: "https://2019.liberal.ca/wp-content/uploads/sites/292/2019/09/Forward-A-real-plan-for-the-middle-class.pdf#page=12",
- demographics: [LOW_INCOME,],
+ text: "Introduce a new EI benefit for self-employed Canadians, delivered through the tax system, that would provide similar unemployment assistance to EI and lasting for up to 26 weeks. Self-employed Canadians would only pay the portion they would normally pay if they were a salaried employee",
+ source: "https://liberal.ca/wp-content/uploads/sites/292/2021/09/Platform-Forward-For-Everyone.pdf#page=32",
+ demographics: [UNEMPLOYED, ENTREPRENEURS_AND_SMALL_BUSINESS],
},
{
- text: "Give 2,000 entrepreneurs up to $50,000 to launch a new business",
- source: "https://2019.liberal.ca/wp-content/uploads/sites/292/2019/09/BG_EN_Backgrounder.pdf",
- demographics: [ENTREPRENEURS_AND_SMALL_BUSINESS,],
+ text: "Provide up to 5 new paid leave days for federally regulated employees who experience a miscarriage or stillbirth, which can happen in up to 1 in 5 pregnancies.",
+ source: "https://liberal.ca/wp-content/uploads/sites/292/2021/09/Platform-Forward-For-Everyone.pdf#page=33",
+ demographics: [WOMEN,],
},
{
- text: "Add an additional $9 million over three years to help more visible minority newcomer women find work",
- source: "https://2019.liberal.ca/wp-content/uploads/sites/292/2019/09/Forward-A-real-plan-for-the-middle-class.pdf#page=47",
- demographics: [WOMEN, VISIBLE_MINORITY]
+ text: "Establish a new Apprenticeship Service which will connect 55,000 first-year apprentices in Red Seal trades with opportunities at small and medium-sized employers",
+ demographics: [ENTREPRENEURS_AND_SMALL_BUSINESS]
},
{
- text: "Create a new federal Family Day holiday"
+ text: "Give microgrants of up to $2,400 to smaller Main Street businesses so they can afford the costs of new technology",
+ demographics: [ENTREPRENEURS_AND_SMALL_BUSINESS]
},
{
text: "250 to every new business looking to expand online",
@@ -58,11 +71,13 @@ export const LIBERAL_JOBS_AND_ECONOMY = {
text: "Introduce Career Insurance Benefit that starts after Employment Insurance ends. You get 20 percent of insured earnings the first year you’re laid off and 10 percent in the second year",
},
{
- text: "Reduce cost of incorporating a business federally from $200 to $50",
+ text: "Offer zero-interest loans to small and medium-sized businesses so they can finance larger technology adoption projects.",
},
{
- text: "extending Employment Insurance sickness benefits from 15 weeks to 26 weeks",
- source: "https://2019.liberal.ca/wp-content/uploads/sites/292/2019/09/Forward-A-real-plan-for-the-middle-class.pdf#page=12",
+ text: "Build on the Economic Mobility Pathways Pilot and work with employers and communities across Canada to welcome 2,000 skilled refugees to fill labour shortages in in-demand sectors such as health care.",
+ demographics: [
+ IMMIGRANTS
+ ]
}
],
@@ -72,43 +87,34 @@ export const NDP_JOBS_AND_ECONOMY = {
topic: "Jobs and Economy",
partyPlatforms: [
{
- text: "Raise the federal minimum wage to $15 per hour",
- source: "https://www.ndp.ca/economy",
- demographics: [LOW_INCOME,],
+ text: "Bring in a new special leave that allows parents to take shorter parental leave at a higher replacement rate. We’ll also allow self-employed workers to opt-into parental benefits at any time before taking the leave, and move to double leave for parents of multiples.",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=27",
+ demographics: [PARENTS, ENTREPRENEURS_AND_SMALL_BUSINESS],
},
{
- text: "Reduce hours to qualify for employment insurance (EI) to 360 hours to cover more workers",
- source: "https://www.ndp.ca/commitments",
+ text: "Allow sick leave to be taken by workers one or two days at a time, give full income replacement to workers who are sick, and reimburse employers instead of putting the onus on workers to apply for the program.",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=31",
},
{
- text: "Ban unpaid internships if they don’t count for school credit",
- source: "https://www.ndp.ca/commitments",
- demographics: [
- STUDENTS, YOUNG_PEOPLE
- ]
+ text: "Put in place a living federal minimum wage starting at $15 an hour and rising to $20 an hour, indexed to the cost of living",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=32"
},
{
- text: "roll back the Conservatives’ corporate income tax cuts by three percentage points",
- source: "https://www.ndp.ca/economy"
+ text: "Put in place rules to require that part-time and contract workers be compensated equally to full-time workers.",
},
{
- text: "require the use of Canadian-made steel and aluminum"
- },
- {
- text: "If you are unemployed, increase the amount of your income that is replaced to 60 percent ",
+ text: "Immediately ban unpaid internships outside of education programs.",
demographics: [
- UNEMPLOYED,
+ STUDENTS
]
},
{
- text: "create a low income supplement so that no one receiving EI regular or special benefits receives less than $1,200 a month",
+ text: "Change EI rules to allow workers who quit their job to go to school to qualify for EI benefits",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=33",
demographics: [
- LOW_INCOME
+ UNEMPLOYED,
]
},
- {
- text: "extend sickness benefits to 50 weeks"
- }
],
};
export const GREEN_JOBS_AND_ECONOMY = {
@@ -116,78 +122,23 @@ export const GREEN_JOBS_AND_ECONOMY = {
topic: "Jobs and Economy",
partyPlatforms: [
{
- text: "raise the federal minimum wage to $15 an hour",
- source: "https://www.greenparty.ca/sites/default/files/platform_2019_en_web_update_09-16.pdf",
- },
- {
- text: "ban unpaid internships that aren’t for school credits",
- demographics: [
- STUDENTS,
- YOUNG_PEOPLE
- ]
+ text: "Establish a Guaranteed Livable Income program: Every Canadian would be guaranteed a minimum income.",
+ source: "https://www.greenparty.ca/en/platform/life-with-dignity#guaranteed-livable-income",
},
- {
- text: "Introduce a robot tax, companies to pay a tax when they replace an employee with a machine"
- },
- {
- text: "provide $1 billion annually to municipalities to hire Canadian youth",
- source: "https://www.greenparty.ca/en/platform/green-economy",
- demographics: [
- STUDENTS,
- YOUNG_PEOPLE
- ]
- }
],
};
export const BLOC_QUEBECOIS_JOBS_AND_ECONOMY = {
party: "Bloc Qubecois",
topic: "Jobs and Economy",
- partyPlatforms: [
- {
- text: "Protect Quebec jobs and corporations from foreign takeovers",
- source: "https://www.blocquebecois.org/wp-content/uploads/2019/09/Plateforme_Bloc2019_web-1.pdf",
- },
- {
- text: "ban unpaid internships that aren’t for school credits",
- demographics: [
- STUDENTS,
- YOUNG_PEOPLE
- ]
- },
- {
- text: "reduced tax rate for overtime work"
- },
- {
- text: "Establish loans and loan guarantee programs for companies looking to automate",
- }
-
- ],
+ incomplete: true,
};
export const PEOPLES_JOBS_AND_ECONOMY = {
party: "People's",
topic: "Jobs and Economy",
- partyPlatforms: [
- {
- // todo add Citation for supply management
- text: "Phase out the supply management system over a number of years",
- source: "https://www.peoplespartyofcanada.ca/supply_management_making_dairy_poultry_and_eggs_more_affordable",
- },
- {
- text: "Privatize Canada Post",
- source: "https://www.bnnbloomberg.ca/airlines-telecoms-canada-post-maxime-bernier-unveils-people-s-party-vision-for-canada-1.1138093",
- },
- {
- text: "Privatize airports",
- source: "https://www.maximebernier.com/lower_air_travel_costs_by_privatizing_airports_and_opening_the_sector_to_more_competition",
-
- },
- {
- text: "Get rid of the deficit in two years through spending cuts and fiscal prudence. Spending cuts will include: corporate welfare ($5B-$10B), foreign development aid ($5B), CBC ($1B), equalization payments, and funding for programs which are provincial or municipal responsibilities.",
- source: "https://www.peoplespartyofcanada.ca/public_finance_balancing_the_budget_in_two_years_and_cutting_taxes",
- }
-
- ],
+ incomplete: true,
};
export const JOBS_ECONOMY_PLATFORMS = [CONSERVATIVE_JOBS_AND_ECONOMY, LIBERAL_JOBS_AND_ECONOMY, NDP_JOBS_AND_ECONOMY,
- GREEN_JOBS_AND_ECONOMY, BLOC_QUEBECOIS_JOBS_AND_ECONOMY, PEOPLES_JOBS_AND_ECONOMY];
\ No newline at end of file
+ GREEN_JOBS_AND_ECONOMY, BLOC_QUEBECOIS_JOBS_AND_ECONOMY, PEOPLES_JOBS_AND_ECONOMY];
+
+JOBS_ECONOMY_PLATFORMS.forEach(platform => PlatformUtils.addMissingPlatformData(platform));
\ No newline at end of file
diff --git a/src/data/PartyPlatformDataSeniors.js b/src/data/PartyPlatformDataSeniors.js
index 23710c6..8f3061f 100644
--- a/src/data/PartyPlatformDataSeniors.js
+++ b/src/data/PartyPlatformDataSeniors.js
@@ -1,120 +1,119 @@
-import React from "react";
+import { PlatformUtils } from "services/PlatformUtils";
-import { SENIORS } from "./Constants";
+import { SENIORS_TOPIC } from "./Constants";
export const CONSERVATIVE_SENIORS = {
party: "Conservative",
- topic: "Seniors",
+ // TODO SENIORS_TOPIC should be automatically added by iterating through the array of all plattforms in SENIORS_PLATFORMS.forEach()
+ topic: SENIORS_TOPIC,
partyPlatforms: [
{
- text: "Promises to increase the Age Tax Credit by $1,000, available to seniors making less than $87,750",
- source: "https://www.conservative.ca/andrew-scheer-will-give-more-support-to-seniors/",
+ text: "Introducing the Canada Seniors Care benefit, paying $200 per month per household to any Canadian who is living with and taking care of a parent over the age of 70",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=75",
},
{
- text: "Make federally regulated companies disclose the solvency of their pension funds and allow for transfers from pension plans",
- source: "https://www.theglobeandmail.com/business/article-conservatives-target-executive-payouts-in-bankrupt-companies-with/",
+ text: "Amending the Home Accessibility (making a home more accessible for people with disabilities) Tax Credit by increasing the limit from $10,000 per dwelling to $10,000 per person.",
},
+ {
+ text: "Allowing seniors or their caregivers, including their children, to claim the Medical Expense Tax Credit for home care instead of only allowing them to claim attendant care if they live in a group home."
+ },
+ {
+ text: "Devote $3 billion of infrastructure funding over the next three years to renovate Long-Term Care Homes in all provinces and territories across Canada to improve the care that residents receive",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=76",
+ },
+ {
+ text: "Double the Canada Workers Benefit up to a maximum of $2,800 for individuals or $5,000 for families and pay it as a quarterly direct deposit rather than a tax refund at year-end"
+ },
+ {
+ text: "Prevent executives from paying themselves bonuses while managing a company going through restructuring if the pension plan is not fully funded."
+ }
],
};
export const LIBERAL_SENIORS = {
party: "Liberal",
- topic: "Seniors",
+ topic: SENIORS_TOPIC,
partyPlatforms: [
{
- text: "Boost Old Age Security at age 75 by 10%",
- source: "https://globalnews.ca/news/5917725/liberals-old-age-security-cpp-trdueau/",
+ text: "Increase the Guaranteed Income Supplement by $500 for single seniors and $750 for couples, starting at age 65.",
+ source: "https://liberal.ca/wp-content/uploads/sites/292/2021/09/Platform-Forward-For-Everyone.pdf#page=26",
},
{
- text: "Increase the Canada Pension Plan by 25% for widows and widowers",
- source: "https://globalnews.ca/news/5917725/liberals-old-age-security-cpp-trdueau/",
+ text: "Increase the Old Age Support by 10% next year for seniors 75 and over.",
},
{
- text: "Want to adjust the Criminal Code with new penalties for elder abuse and to collect better data on how widespread it is",
- source: "https://2019.liberal.ca/our-platform/elder-abuse/",
+ text: "Double the Home Accessibility Tax Credit, to $20,000, putting up to $1,500",
+ source: "https://liberal.ca/wp-content/uploads/sites/292/2021/09/Platform-Forward-For-Everyone.pdf#page=27",
},
+ {
+ text: "Raise wages for personal support workers, including a guaranteed minimum wage of at least $25 per hour. Train up to 50,000 new personal support workers.",
+ source: "https://liberal.ca/wp-content/uploads/sites/292/2021/09/Platform-Forward-For-Everyone.pdf#page=16",
+ }
],
};
export const NDP_SENIORS = {
party: "NDP",
- topic: "Seniors",
+ topic: SENIORS_TOPIC,
partyPlatforms: [
+ // TODO this point is copied from healthcare, allow platforms to be reused in multiple places
{
- text: "Create a national seniors strategy, which would include a strategy for dementia and a prevention plan for elder abuse",
- source: "https://www.ndp.ca/news/ndp-statement-national-seniors-day-0",
+ text: "End private, for-profit long-term care and bring long-term care homes under the government owned company, Revera.",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=64"
},
{
- text: "Make the Caregiver Tax Credit refundable, to help those who look after seniors",
- source: "https://business.financialpost.com/personal-finance/taxes/these-are-the-tax-proposals-that-could-affect-your-bottom-line-this-election",
+ text: "Stop companies from paying out dividends and bonuses when pensions are under-funded. Ceate a mandatory, industry-financed pension insurance program",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=71"
+ },
+ // TODO add citation for Old Age Security and Guaranteed Income Supplement
+ {
+ text: "Make automatic enrollment in Old Age Security and Guaranteed Income Supplement retroactive. So seniors who weren't enrolled before can still receive benefits they should have received."
+ },
+ {
+ text: "Add a one year delay to help seniors at risk of having their GIS benefits suspended for being unable to make the required income statement."
+ },
+ {
+ text: "Make the Caregiver Tax Credit refundable",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=72",
},
],
};
export const GREEN_SENIORS = {
party: "Green",
- topic: "Seniors",
+ topic: SENIORS_TOPIC,
partyPlatforms: [
+ // TODO this coould also go in Healthcare
{
- text: "Develop a national seniors strategy that includes a national dementia strategy",
- source: "https://www.greenparty.ca/en/statement/2019-10-01/green-party-statement-seniors-day",
+ text: "Develop a national seniors strategy that includes a national dementia strategy. Increasing overall Canadian investment from $50 million to $150 million over five years in the field of dementia research.",
+ source: "https://www.greenparty.ca/en/platform/life-with-dignity#:~:text=Fully%20fund%20the%20National%20Dementia%20Strategy",
},
{
- text: "Wants more long-term care beds in neighbourhood facilities",
- source: "https://www.greenparty.ca/en/platform/renew-social-contract#respecting-and-supporting-seniors",
+ text: "Give high priority to pensions if a company goes bankrupt",
+ source: "https://www.greenparty.ca/en/platform/life-with-dignity#:~:text=To%20better%20protect%20the%20pensions%20of%20all%20Canadians%20whose%20companies%20file%20for%20bankruptcy"
},
{
- text: "Boost the CPP’s target income replacement rate from 25 to 50% of income made",
+ text: "Amend pension benefit laws for federally regulated pensions: Maintain the solvency target at 100%.",
source: "https://www.greenparty.ca/en/platform/renew-social-contract#respecting-and-supporting-seniors",
},
+ {
+ text: "introduce a refundable tax credit equal to the amount of pension loss an individual incurs when a pension fails.",
+ source: "https://www.greenparty.ca/en/platform/life-with-dignity#:~:text=introduce%20a%20refundable%20tax%20credit%20equal%20to%20the%20amount%20of%20pension%20loss%20an%20individual%20incurs%20when%20a%20pension%20fails.",
+ },
],
};
export const BLOC_QUEBECOIS_SENIORS = {
party: "Bloc Quebecois",
- topic: "Seniors",
- partyPlatforms: [
- {
- text: "Make the Caregiver Tax Credit refundable",
- source: "https://election.ctvnews.ca/security-housing-pharmacare-this-is-what-each-party-is-promising-seniors-1.4618897",
- },
- {
- text: "Wants anyone 65 and older automatically enrolled in the guaranteed income supplement and increase the supplement",
- source: "https://election.ctvnews.ca/security-housing-pharmacare-this-is-what-each-party-is-promising-seniors-1.4618897",
- },
- ],
+ topic: SENIORS_TOPIC,
+ incomplete: true,
};
export const PEOPLES_SENIORS = {
party: "People's",
- topic: "SENIORS",
- partyPlatforms: [
- {
- text: "No specific proposals to date. ",
- },
- {
- text: If you know some you can{' '}
-
- contribute them here
- .
- ,
- },
- ],
+ topic: SENIORS_TOPIC,
+ incomplete: true,
};
export const SENIORS_PLATFORMS = [CONSERVATIVE_SENIORS, LIBERAL_SENIORS, NDP_SENIORS,
GREEN_SENIORS, BLOC_QUEBECOIS_SENIORS, PEOPLES_SENIORS];
-SENIORS_PLATFORMS
- .filter(platform => platform.party !== "People's")
- .forEach(platform => {
-
- platform.partyPlatforms.forEach(idea => {
-
- if (!idea.demographics) {
- idea.demographics = []
- }
- idea.demographics.push(SENIORS)
- })
- });
-
+SENIORS_PLATFORMS.forEach(platform => PlatformUtils.addMissingPlatformData(platform));
diff --git a/src/data/PartyPlatformDataTaxes.js b/src/data/PartyPlatformDataTaxes.js
index 5c909a4..6aa01f6 100644
--- a/src/data/PartyPlatformDataTaxes.js
+++ b/src/data/PartyPlatformDataTaxes.js
@@ -1,6 +1,7 @@
import React from "react";
-import {CLIMATE_CONSCIOUS, TAXES, ENTREPRENEURS_AND_SMALL_BUSINESS} from "./Constants";
+import {CLIMATE_CONSCIOUS, TAXES, ENTREPRENEURS_AND_SMALL_BUSINESS, FOREIGNERS} from "./Constants";
import {EmojiLg} from "../components/static/iMessageStyles";
+import { PlatformUtils } from "services/PlatformUtils";
export const TAXES_CONVERSATION_MESSAGES = [
{
@@ -25,7 +26,7 @@ export const TAXES_CONVERSATION_MESSAGES = [
},
{
from: "them",
- body: "But those are the same taxes that paid for you to go to public school and free hospital visits when you're socl"
+ body: "But those are the same taxes that paid for you to go to public school and free hospital visits when you're sick"
},
{
from:"me-no-bg",
@@ -79,10 +80,6 @@ export const TAXES_CONVERSATION_MESSAGES = [
from: "them",
body: "good question"
},
- {
- from: "them-no-bg",
- body: Chanel has left the conversation
- },
];
export const CONSERVATIVES_TAXES = {
@@ -90,33 +87,44 @@ export const CONSERVATIVES_TAXES = {
topic: TAXES,
partyPlatforms: [
{
- text: "Universal Tax Cut, the tax rate on income under $47,630 will be reduced from 15 per cent to 13.75 percent",
- source: "https://www.pbo-dpb.gc.ca/web/default/files/Documents/ElectionProposalCosting/Results/32644536_EN.pdf?timestamp=1571166194063",
+ text: "Provide more funding to the Canada Revenue Agency, increasing to $750 million per year, to fund stronger enforcement of taxation for big companies, international tax and tax evasion",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=79",
},
{
- text: "Single tax return for Quebecers",
- source: "https://www.conservative.ca/andrew-scheer-announces-fives-measures-for-quebec/",
+ text: "Foreign tech companies pay their fair share of taxes including sales tax and a digital services tax representing 3% of their gross revenue in Canada if they don’t pay corporate income tax here.",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=79",
},
{
- text: "Work to reunite survivors of genocide, who have already resettled in Canada, more expeditiously",
+ text: "Exempt Canadian-controlled start-ups headquartered and with at least 2/3 of their employees in Canada from the current plan to tax stock options. ",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=15",
+ demographics: [
+ ENTREPRENEURS_AND_SMALL_BUSINESS
+ ]
},
{
- text: "remove federal income tax from Employment Insurance (EI) maternity and EI paternal/maternal" +
- " benefits by providing a non-refundable tax credit of 15 percent for any income earned under these two programs",
- source: "https://www.conservative.ca/scheer-to-make-maternity-benefits-tax-free/",
+ text: "Create a tax credit for buying from a Canadian start-up."
},
{
- text: "15 percent tax credit for weekly and monthly transit passes",
- source: "https://www.conservative.ca/andrew-scheer-to-reduce-cost-of-public-transit/",
-
+ text: "Increase the amount of money that charitable foundations have to spend on charitable activities from 3.5% to 7.5%",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=11"
},
{
- text: "remove the Goods and Services Tax (GST) from home heating and energy bills",
- source: "https://www.conservative.ca/conservatives-to-remove-gst-from-home-heating/"
+ text: "Implement a month-long GST holiday this fall. All purchases made at retail stores will be tax free for this month.",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=26"
},
{
- text: "Add a 3 per cent tax on revenues of large multinational tech companies",
- source: "https://nationalpost.com/news/politics/election-2019/how-the-tories-plan-to-balance-the-budget-scheer-says-transfer-payments-core-services-safe-from-cuts"
+ text: "Introduce a tax credit for use of Carbon Capture, Utilization and Storage technology in the energy sector and in other industries that have few alternatives to burning fossil fuels, like fertilizer and chemical production",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=17",
+ demographics: [
+ CLIMATE_CONSCIOUS
+ ]
+ },
+ {
+ text: "tax relief to the first five facilities that use new technology that provides meaningful emissions reductions and has a high cost to build",
+ source: "https://cpcassets.conservative.ca/wp-content/uploads/2021/08/16102359/f8279981721e07a.pdf#page=41",
+ demographics: [
+ CLIMATE_CONSCIOUS
+ ]
}
],
};
@@ -126,25 +134,29 @@ export const LIBERALS_TAXES = {
topic: TAXES,
partyPlatforms: [
{
- text: "introduce a new 10 per cent tax on luxury cars, boats, and personal aircraft over $100,000",
- source: "https://2019.liberal.ca/wp-content/uploads/sites/292/2019/09/Forward-A-real-plan-for-the-middle-class.pdf#page=79",
+ text: "Raise corporate income taxes on the largest, most profitable banks and insurance companies who earn more than $1 billion per year and introduce a temporary Canada Recovery Dividend that these companies would pay in recognition of the fact they have recovered faster and stronger than many other industries",
+ source: "https://liberal.ca/wp-content/uploads/sites/292/2021/09/Platform-Forward-For-Everyone.pdf#page=84",
+ },
+ {
+ text: "Minimum tax rule so that everyone who earns enough to qualify for the top bracket pays at least 15 % each year",
},
{
- text: "Place a national tax on vacant houses owned by non-Canadians who don’t live in Canada",
+ text: "Implement a tax on luxury cars, boats, and planes"
},
{
- text: "Decrease the amount of your income that you pay tax on by $15,000," +
- " if you make less than $147,000 per year. " +
- "For example, if you make $50,000 you will only be taxed on $35,000",
- source: "https://2019.liberal.ca/wp-content/uploads/sites/292/2019/09/2019-backgrounder-tax-cut-ENG.pdf",
+ text: "Work with our international partners to implement a global minimum tax",
},
{
- text: "Lower corporate taxes for small cleantech businesses from 9 to 4.5%," +
- " and larger cleantech companies from 15 to 7.5%",
- source: "https://2019.liberal.ca/wp-content/uploads/sites/292/2019/09/cutting-taxes-for-clean-tech-businesses.pdf#page=2",
+ text: "Eliminate flow through shares for oil, gas, and coal projects to help promote",
demographics: [
- CLIMATE_CONSCIOUS,
+ CLIMATE_CONSCIOUS
]
+ },
+ {
+ text: "Implement a national anti-flipping tax and national tax on nonresident, non-Canadians on vacant land and residential property."
+ },
+ {
+ text: "National tax on vaping products and require tobacco manufacturers to pay for the cost of federal public health investments in tobacco control."
}
],
};
@@ -154,27 +166,27 @@ export const NDP_TAXES = {
topic: TAXES,
partyPlatforms: [
{
- text: "Raise corporate taxes to 18% (from 15%) and tax capital gains at a rate of 75%",
- source: "https://action.ndp.ca/page/-/2019/Q2/NDP-Commitments_EN.pdf#page=108",
+ text: "Introduce a temporary COVID-19 excess profit tax that puts an additional 15% tax on large corporate windfall profits during the pandemic",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=42",
},
{
- text: "Maintain the small business tax rate at its current level",
- demographics: [
- ENTREPRENEURS_AND_SMALL_BUSINESS,
- ]
+ text: "Increase the capital gains inclusion rate to 75 percent",
},
{
- text: "Ensure that multinational tech giants pay corporate tax on the revenue they generate in Canada",
+ text: "Boost the top marginal tax rate two points, put in place a luxury goods tax on things like yachts and private jets",
},
{
- text: "Increase the top marginal tax rate by two points to 35 percent for those making over $210,000",
+ // TODO use a proper citation for wealth tax
+ text: "Implement a wealth tax (tax based on assets you already have instead of income generated) for the 'very richest millinaires'",
},
{
- text: "Increase the amount of investment profits that will be subject to a capital gains tax to 75 percent",
+ text: "Roll back the Conservatives’ corporate income tax cuts by three percentage points to 2010 levels",
+ page: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=43"
},
{
- text: "Introduce one percent wealth tax on those with wealth over $20 million",
- },
+ text: "Close loopholes that include eliminating bearer shares, force companies to prove their offshore transactions, and improving transparency on the taxes paid by large corporations.",
+ source: "https://xfer.ndp.ca/2021/Commitments/Ready%20for%20Better-NDP%202021%20Commitments_AccessibleVersion.pdf#page=43"
+ }
],
};
@@ -183,8 +195,8 @@ export const GREEN_TAXES = {
topic: TAXES,
partyPlatforms: [
{
- text: "Apply a corporate tax on transnational e-commerce companies doing business in Canada",
- source: "https://www.greenparty.ca/en/platform/green-economy#fair-taxation",
+ text: "Apply a corporate tax on international e-commerce companies doing business in Canada",
+ source: "https://www.greenparty.ca/en/platform/just-society#:~:text=Apply%20a%20corporate%20tax%20on%20transnational%20e-commerce%20companies%20doing%20business%20in%20Canada",
},
{
text: "Impose a financial transactions tax of 0.5 per cent in the finance sector",
@@ -193,16 +205,37 @@ export const GREEN_TAXES = {
text: "Increase the federal corporate tax rate from 15 to 21 per cent",
},
{
- text: "Maintain the small business tax rate at its current level",
- demographics: [
- ENTREPRENEURS_AND_SMALL_BUSINESS
- ]
+ text: "Charge a five per cent surtax on commercial bank profits",
},
{
- text: "Charge a five per cent surtax on commercial bank profits",
+ text: "Apply a tax on luxury goods, such as planes, and luxury cars.",
+ },
+ { //TODO other (all?) parties mention this as well
+ text: "Work with our international partners to implement a global minimum tax"
+ },
+ {
+ text: "Prohibit Canadian businesses from deducting the cost of advertising on foreign-owned sites such as Google and Facebook which now account for 80 per cent of all spending on advertising Canada."
+ },
+ {
+ text: "Eliminate the 50 per cent corporate meals and entertainment expense deduction, which includes season tickets and private boxes at sporting events"
},
{
text: "Apply a one per cent tax on net (family) wealth above $20 million",
+ source: "https://www.greenparty.ca/en/platform/just-society#:~:text=Apply%20a%20one%20per%20cent%20tax%20on%20net%20(family)%20wealth%20above%20%2420%20million."
+ },
+ // TODO add the following 2 to housing
+ {
+ text: "Create an “empty home” tax for foreign and corporate residential property owners who leave buildings and units vacant",
+ source: "https://www.greenparty.ca/en/platform/just-society#:~:text=Create%20an%20%E2%80%9Cempty%20home%E2%80%9D%20tax%20for%20foreign%20and%20corporate%20residential%20property",
+ demographics: [
+ FOREIGNERS
+ ]
+ },
+ {
+ text: "Close tax haven loopholes that allow foreign investors to hide the names of beneficial owners of properties in Canada",
+ demographics: [
+ FOREIGNERS
+ ]
},
],
};
@@ -210,31 +243,13 @@ export const GREEN_TAXES = {
export const BLOC_QUEBECOIS_TAXES = {
party: "Bloc Quebecois",
topic: TAXES,
- partyPlatforms: [
- {
- text: "Revenu Quebec to collect federal income taxes instead of Canada Revenu agency," +
- " so Quebecers only have to file one income tax return",
- source: "https://www.blocquebecois.org/wp-content/uploads/2019/10/Plateforme_Bloc2019_web-1.pdf",
- },
- ],
+ incomplete: true,
};
export const PEOPLES_TAXES = {
party: "People's",
topic: TAXES,
- partyPlatforms: [
- {
- text: "Reduce the number of tax brackets from five to two. Incomes from $15,001 to $100,000 taxed at 15%, and income over $100,000 taxed at 25%. No taxes for those making $15k or less",
- source: "https://www.peoplespartyofcanada.ca/public_finance_balancing_the_budget_in_two_years_and_cutting_taxes",
- },
- {
- text: "Abolish the personal capital gains tax, decreasing the inclusion rate from 50% to 0%",
- },
- {
- text: "Reduce the corporate income tax rate from 15% down to 10%",
- source: "https://www.peoplespartyofcanada.ca/economy_encouraging_investment_and_productivity_growth",
- }
- ],
+ incomplete: true,
};
@@ -242,3 +257,5 @@ export const TAXES_PLATFORMS = [
CONSERVATIVES_TAXES, LIBERALS_TAXES, NDP_TAXES,
GREEN_TAXES, BLOC_QUEBECOIS_TAXES,PEOPLES_TAXES
];
+
+TAXES_PLATFORMS.forEach(platform => PlatformUtils.addMissingPlatformData(platform));
diff --git a/src/pages/6/index.js b/src/pages/6/index.js
index bdc2813..e0e8b0e 100644
--- a/src/pages/6/index.js
+++ b/src/pages/6/index.js
@@ -2,18 +2,9 @@ import React from 'react'
import PropPageBuilder from '../../components/page-blocks/aggregators/PropPageBuilder'
import ResultBlock from '../../components/page-blocks/blocks/ResultBlock'
-import PartyPlatformBlock from "../../components/page-blocks/blocks/PartyPlatformBlock";
-import {IMMIGRATION_PLATFORMS} from "../../data/PartyPlatformDataImmigration";
import CustomBlock from "../../components/page-blocks/blocks/CustomBlock";
import {Link} from "react-router-dom";
-import { CREATION_DATE } from '../../data/Constants'
-
-const partyPlatforms = IMMIGRATION_PLATFORMS.map(PLATFORM => (
- {
- component: PartyPlatformBlock,
- data: PLATFORM,
- }
-));
+import { CONTRIBUTION_INSTRUCTIONS_LINK, CREATION_DATE } from '../../data/Constants'
const Data = {
pageId:"immigration",
@@ -44,7 +35,21 @@ const Data = {
" What criteria should we use for allowing people to come into the country",
},
},
- ...partyPlatforms,
+ {
+ component: CustomBlock,
+ data: {
+ body:
+
Party Platform information has not been added yet
+
+
+
+ }
+ },
+ // TODO add 2021 immigration plattforms or include
+ // ...partyPlatforms,
]
};
export default () => ();
diff --git a/src/pages/about/index.js b/src/pages/about/index.js
index 77a3b3c..ea2f9ac 100644
--- a/src/pages/about/index.js
+++ b/src/pages/about/index.js
@@ -107,12 +107,7 @@ const Data = {
target="_blank"
rel="noopener noreferrer">
Tomiwa Ademidun
- and {' '}
-
- Michael Ding
- .
+ with some help from others.
The site was inspired by Atila,
- an ed-tech startup that helps students easily find and apply to scholarships.
+ a website that makes it easy to start and get scholarships
- I'm also a Software engineering and business student currently studying at Ivey
- Business School, Western University.
-
-
-
-

-
-
-
- I'm the co-founder of firstdate.co,
- a dating application for young people.
-
- I'm also a recent graduate in Computer Science and business from Ivey
+ I'm a Software engineer based in Toronto and a recent grad from the Software engineering and business program at Ivey
Business School, Western University.
@@ -237,9 +211,9 @@ const Data = {
data: {
title: "Contact",
text:
- If you think this site is great or it's literally the worst thing ever.
- Of anything inbetween and feedback on how to improve.
- Please let us know!
+ If you think this site is great or it's literally the worst thing ever or
+ anything inbetween. Or if you have feedback on how we could improve,
+ please let us know!
Tweet us{' '}
diff --git a/src/services/PlatformUtils.js b/src/services/PlatformUtils.js
new file mode 100644
index 0000000..78ba671
--- /dev/null
+++ b/src/services/PlatformUtils.js
@@ -0,0 +1,34 @@
+import React from 'react';
+import { CLIMATE_CONSCIOUS, ENERGY_AND_CLIMATE, IncompletePartyInformation, SENIORS, SENIORS_TOPIC } from "data/Constants"
+
+
+export class PlatformUtils {
+
+ static addMissingPlatformData = (platformData) => {
+ if (platformData.incomplete) {
+ if (!platformData.partyPlatforms) {
+ platformData.partyPlatforms = []
+ }
+ platformData.partyPlatforms.push(
+ {
+ text:
+ }
+ )
+ } else {
+ platformData.partyPlatforms.forEach( idea => {
+
+ if (!idea.demographics) {
+ idea.demographics = []
+ } if (platformData.topic === ENERGY_AND_CLIMATE) {
+ idea.demographics.push(CLIMATE_CONSCIOUS)
+ } if (platformData.topic === SENIORS_TOPIC) {
+ idea.demographics.push(SENIORS)
+ }
+
+ })
+ }
+
+ console.log({platformData});
+ return platformData
+ }
+}
\ No newline at end of file
diff --git a/src/styles.scss b/src/styles.scss
index aac8178..c8ba555 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -137,4 +137,5 @@ label {
.team-image {
max-height: 250px;
-}
\ No newline at end of file
+}
+