-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from asibs/as/constituency-page-additions
Constituency page additions
- Loading branch information
Showing
11 changed files
with
61,036 additions
and
4,558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const InfoBox = ({ children }: { children: React.ReactElement }) => { | ||
return ( | ||
<div | ||
className="rounded-4 p-3" | ||
style={{ | ||
background: "linear-gradient(rgb(255, 243, 205), rgb(255, 230, 156))", | ||
boxShadow: "0px 5px 10px 0px rgba(0, 0, 0, 0.075)", | ||
}} | ||
> | ||
{children} | ||
</div> | ||
); | ||
}; | ||
|
||
export default InfoBox; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import InfoBox from "./InfoBox"; | ||
import { rubik } from "@/utils/Fonts"; | ||
import { Button } from "react-bootstrap"; | ||
|
||
import { FaUsers } from "react-icons/fa6"; | ||
|
||
const LocalTeamBox = () => { | ||
return ( | ||
<InfoBox> | ||
<> | ||
<h3 className={`${rubik.className} fs-5`}>Your Constituency Team</h3> | ||
<p> | ||
People in your local Movement Forward community are coming together to | ||
use their voting power. | ||
</p> | ||
<p> | ||
<Button variant="light" size="lg"> | ||
<FaUsers className="me-2" /> | ||
<span className={`${rubik.className} fw-bold`}> | ||
Join and get involved | ||
</span> | ||
</Button> | ||
</p> | ||
</> | ||
</InfoBox> | ||
); | ||
}; | ||
|
||
export default LocalTeamBox; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import InfoBox from "./InfoBox"; | ||
import { rubik } from "@/utils/Fonts"; | ||
|
||
import { | ||
FaPenClip, | ||
FaRegIdCard, | ||
FaEnvelopeOpenText, | ||
FaFileImage, | ||
} from "react-icons/fa6"; | ||
|
||
const PlanToVoteBox = () => { | ||
return ( | ||
<InfoBox> | ||
<> | ||
<h3 className={`${rubik.className} fs-5`}>Your Plan</h3> | ||
<p> | ||
<a | ||
href="https://www.gov.uk/register-to-vote" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<FaPenClip className="me-2" style={{ color: "var(--bs-purple)" }} /> | ||
Register to vote, it takes 5 minutes | ||
</a> | ||
</p> | ||
<p> | ||
<a | ||
href="https://www.electoralcommission.org.uk/voting-and-elections/voter-id" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<FaRegIdCard | ||
className="me-2" | ||
style={{ color: "var(--bs-green)" }} | ||
/> | ||
Don't forget your photo Voter ID | ||
</a> | ||
</p> | ||
<p> | ||
<a | ||
href="https://www.gov.uk/apply-postal-vote" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<FaEnvelopeOpenText | ||
className="me-2" | ||
style={{ color: "var(--bs-blue)" }} | ||
/> | ||
Vote in advance, privately, by post from home | ||
</a> | ||
</p> | ||
<p> | ||
<FaFileImage className="me-2 text-pink-strong" /> | ||
Download and put up some posters | ||
</p> | ||
</> | ||
</InfoBox> | ||
); | ||
}; | ||
|
||
export default PlanToVoteBox; |
Oops, something went wrong.