-
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 #5 from AccessiTech/modularize-content
Modularize content
- Loading branch information
Showing
15 changed files
with
186 additions
and
89 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
File renamed without changes
File renamed without changes
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 |
---|---|---|
@@ -1,20 +1,25 @@ | ||
import { Col, Row } from "react-bootstrap"; | ||
import Translate from "../Translate/Translate"; | ||
import PropTypes from "prop-types"; | ||
|
||
function Header() { | ||
function Header({ title, lead, disableTranslate }) { | ||
return ( | ||
<header> | ||
<Row> | ||
<Col> | ||
<h1>Know Your Rights</h1> | ||
<Translate /> | ||
{/* <p className="lead"> | ||
If you are reading this, you have constitutional rights. | ||
</p> */} | ||
<h1>{title || "Know Your Rights"}</h1> | ||
{!disableTranslate && <Translate />} | ||
{lead && <p className="lead">{lead}</p>} | ||
</Col> | ||
</Row> | ||
</header> | ||
); | ||
} | ||
|
||
Header.propTypes = { | ||
title: PropTypes.string, | ||
lead: PropTypes.string, | ||
disableTranslate: PropTypes.bool, | ||
}; | ||
|
||
export default Header; |
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,61 @@ | ||
|
||
|
||
export const rightColContent = ( | ||
<> | ||
<p> | ||
I do not wish to speak with you, answer your questions, or sign or hand | ||
you any documents based on my 5th Amendment rights under the United States | ||
Constitution. | ||
</p> | ||
<p> | ||
I do not give you permission to enter my home based on my 4th Amendment | ||
rights under the United States Constitution unless you have a warrant to | ||
enter, signed by a judge or magistrate with my name on it that you slide | ||
under the door. | ||
</p> | ||
<p> | ||
I do not give you permission to search any of my belongings based on my | ||
4th Amendment rights. | ||
</p> | ||
<p>I choose to exercise my constitutional rights.</p> | ||
</> | ||
); | ||
|
||
export const leftColContent = ( | ||
<> | ||
<p> | ||
<b>DO NOT OPEN THE DOOR</b> if an immigration agent is knocking on the | ||
door. | ||
</p> | ||
<p> | ||
<b>DO NOT ANSWER ANY QUESTIONS</b> from an immigration agent if they try | ||
to talk to you. You have the right to remain silent. | ||
</p> | ||
<p> | ||
<b>DO NOT SIGN ANYTHING</b> without first speaking to a lawyer. You have | ||
the right to speak with a lawyer. | ||
</p> | ||
<p> | ||
If you are outside of your home, ask the agent if you are free to leave | ||
and if they say yes, leave calmly. | ||
</p> | ||
<p> | ||
<b>GIVE THIS CARD TO THE AGENT.</b> If you are inside of your home, show | ||
the card through the window or slide it under the door. | ||
</p> | ||
</> | ||
); | ||
|
||
export const attribution = ( | ||
<p className="credit"> | ||
{`This is a digital version of the "Red Cards" created by `} | ||
<a | ||
href="https://www.ilrc.org/red-cards" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{`the Immigration Legal Resource Center`} | ||
</a> | ||
{`.`} | ||
</p> | ||
); |
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
Oops, something went wrong.