From b0414a4a912af42473f704e4ab6c91070d0791b7 Mon Sep 17 00:00:00 2001 From: asibs Date: Sun, 24 Mar 2024 13:17:23 +0000 Subject: [PATCH] Shift main tag out of movement section --- app/page.tsx | 5 +- components/sections/MovementSection.tsx | 108 +++++++++++------------- 2 files changed, 54 insertions(+), 59 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index ace4196..3459a81 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,5 +1,4 @@ import Header from "@/components/Header"; -import ConstituencyLookup from "@/components/constituency_lookup/ConstituencyLookup"; import ConstituencyFormWithSignup from "@/components/forms/ConstituencyFormWithSignup"; import MovementSection from "@/components/sections/MovementSection"; import { Col, Container, Row } from "react-bootstrap"; @@ -37,7 +36,9 @@ export default async function Index() { - +
+ +
); } diff --git a/components/sections/MovementSection.tsx b/components/sections/MovementSection.tsx index cd54e95..196ff55 100644 --- a/components/sections/MovementSection.tsx +++ b/components/sections/MovementSection.tsx @@ -33,66 +33,60 @@ const MovementSection = () => { }; return ( -
-
- - {/* PEOPLE */} - - -

- Join A Movement building voter power, beyond this election. -

- -
+
+ + {/* PEOPLE */} + + +

Join A Movement building voter power, beyond this election.

+ +
- - {Object.keys(people).map((key) => { - // TS isn't smart enough to work out `key` is just the keys from the people object, - // so thinks they might not be a valid key for the object... - // @ts-expect-error - const name: string = people[key]["name"]; - // @ts-expect-error - const image: StaticImageData = people[key]["image"]; + + {Object.keys(people).map((key) => { + // TS isn't smart enough to work out `key` is just the keys from the people object, + // so thinks they might not be a valid key for the object... + // @ts-expect-error + const name: string = people[key]["name"]; + // @ts-expect-error + const image: StaticImageData = people[key]["image"]; - return ( - - {`Photo - - ); - })} - + return ( + + {`Photo + + ); + })} + - {/* PLAN */} - - -

We show up

-

To get the tories out

-

- In many places around the country, if we vote together for the - most likely candidate to beat the Tory, out votes demolish them - into tiny numbers. -

- - -

We stick together

-

- To influence the next government -

-

- A bigger influence on the next government than the media that - currently shape the narrative. We stick together offering our - votes for the changes we want. -

- -
-
-
-
+ {/* PLAN */} + + +

We show up

+

To get the tories out

+

+ In many places around the country, if we vote together for the + most likely candidate to beat the Tory, out votes demolish them + into tiny numbers. +

+ + +

We stick together

+

To influence the next government

+

+ A bigger influence on the next government than the media that + currently shape the narrative. We stick together offering our + votes for the changes we want. +

+ +
+ + ); };