Skip to content

Commit

Permalink
Merge pull request #20 from josephalextodd1/main
Browse files Browse the repository at this point in the history
Copy changes
  • Loading branch information
LMacPhail authored Dec 13, 2023
2 parents dd5d5d1 + 16728e8 commit d4cc907
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 28 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>New Labour MPs</title>
<title>Future Labour MPs</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "New Labour MPs",
"name": "New Labour MPs",
"short_name": "Future Labour MPs",
"name": "Future Labour MPs",
"icons": [
{
"src": "favicon.ico",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Header: React.FC<{
}`}
onClick={() => setView("index")}
>
Index
Home
</button>
<button
className={`btn btn-${
Expand Down
29 changes: 8 additions & 21 deletions src/components/content/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const faqs: { question: string; answer: JSX.Element }[] = [
<TextLink link="https://www.electoralcalculus.co.uk/fcgi-bin/calcwork23.py?seat=Glasgow+North+East">
(see an example here)
</TextLink>
. We have included all Labour MPs who hadn't been previously elected and
. We have included Labour candidates who haven't been previously elected and
have more than an 80% chance of winning (data collected December 2023).
</p>
),
Expand Down Expand Up @@ -137,15 +137,15 @@ const faqs: { question: string; answer: JSX.Element }[] = [
This is a better way of getting a sense of an incumbent MP’s current
majority under the new boundaries, though this doesn’t account for
current polling. But that’s why we’ve also included Electoral Calculus’
percentage chance of winning category, which does factor polling.
percentage chance of winning category, which does factor in polling.
</p>
),
},
{
question: "Who are you?",
answer: (
<p>
This tool was made by volunteer researchers from the{" "}
This tool was made by skilled volunteer researchers from the{" "}
<span>
<TextLink link="http://mvmtresearch.org">
Movement Research Unit
Expand All @@ -166,7 +166,7 @@ const faqs: { question: string; answer: JSX.Element }[] = [
get involved
</TextLink>
</span>{" "}
(no research experience necessary) or you can{" "}
or you can{" "}
<span>
<TextLink link="https://donate.stripe.com/bIY6rig2w5ohat24gg">
donate
Expand All @@ -186,26 +186,13 @@ const faqs: { question: string; answer: JSX.Element }[] = [
</p>
),
},
{
question: ' How have you calculated "chance of winning"?',
answer: (
<p>
Our measure is based on the Electoral Calculus "chance of winning"
measure{" "}
<TextLink link="https://www.electoralcalculus.co.uk/fcgi-bin/calcwork23.py?seat=Glasgow+North+East">
(see an example here)
</TextLink>
. We have included all Labour MPs who hadn't been previously elected and
have more than an 80% chance of winning (data collected December 2023).
</p>
),
},

];

const About: React.FC = () => {
return (
<div className="max-w-[70rem] mx-auto pb-10">
<h2 className="h2">About The Project</h2>
<h2 className="h2">About </h2>
<div className="flex flex-col gap-2">
<p>
MPs can be difficult to build relationships with and influence. They
Expand All @@ -220,8 +207,8 @@ const About: React.FC = () => {
</p>
<p>
The next election is likely to be won by Labour. Our database shows
Labour candidates who are new to parliament and very likely get
elected. It can be used to build relationships with the new cohort of
Labour candidates who would be new to parliament and are very likely to get
elected. It can be used to build relationships with this new cohort of
Labour MPs and influence what the next Labour government does.
</p>
<p>
Expand Down
6 changes: 3 additions & 3 deletions src/components/sidebar/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ export const Footer: React.FC = () => {
<TextLink link="http://mvmtresearch.org">
Movement Research Unit
</TextLink>
.

</p>
<p>Questions or changes: [email protected]</p>
<TextLink link="https://donate.stripe.com/bIY6rig2w5ohat24gg">
Support our work.
Support our work
</TextLink>
<TextLink link="https://go.mvmtresearch.org/join">Get involved.</TextLink>
<TextLink link="https://go.mvmtresearch.org/join">Get involved</TextLink>
<TextLink link="https://github.com/LMacPhail/labour-mru">
<span className="flex flex-row gap-2 items-center">
Contribute on Github{" "}
Expand Down

0 comments on commit d4cc907

Please sign in to comment.