diff --git a/src/components/pages/Landing/RenderLandingPage.jsx b/src/components/pages/Landing/RenderLandingPage.jsx
index 6be6b69a4..3f182baa4 100644
--- a/src/components/pages/Landing/RenderLandingPage.jsx
+++ b/src/components/pages/Landing/RenderLandingPage.jsx
@@ -1,14 +1,14 @@
import React from 'react';
// ADD IMPORTS BACK FOR GRAPHS SECTION
-// import GrantRatesByOfficeImg from '../../../styles/Images/bar-graph-no-text.png';
-// import GrantRatesByNationalityImg from '../../../styles/Images/pie-chart-no-text.png';
-// import GrantRatesOverTimeImg from '../../../styles/Images/line-graph-no-text.png';
+import GrantRatesByOfficeImg from '../../../styles/Images/bar-graph-no-text.png';
+import GrantRatesByNationalityImg from '../../../styles/Images/pie-chart-no-text.png';
+import GrantRatesOverTimeImg from '../../../styles/Images/line-graph-no-text.png';
import HrfPhoto from '../../../styles/Images/paper-stack.jpg';
import '../../../styles/RenderLandingPage.less';
import { Button } from 'antd';
import { useHistory } from 'react-router-dom';
// for the purposes of testing PageNav
-// import PageNav from '../../common/PageNav';
+import PageNav from '../../common/PageNav';
function RenderLandingPage(props) {
const scrollToTop = () => {
@@ -17,7 +17,7 @@ function RenderLandingPage(props) {
};
const history = useHistory();
-
+ ;
return (
@@ -26,13 +26,30 @@ function RenderLandingPage(props) {
The Asylum Office Grant Rate Tracker provides asylum seekers,
researchers, policymakers, and the public an interactive tool to
- explore USCIS data on Asylum Office decisions
+ explore USCIS data on Asylum Office decisions.
{/* Graphs Section: Add code here for the graphs section for your first ticket */}
- {/*
*/}
+
+
+
+
Search Grant Rates By Office
+
+
+
+
Search Grant Rates By Nationality
+
+
+
+
Search Grant Rates Over Time
+
+
+
+
@@ -55,18 +79,55 @@ function RenderLandingPage(props) {
through a Freedom of Information Act request. You can search for
information on asylum grant rates by year, nationality, and asylum
office, visualize the data with charts and heat maps, and download
- the data set
+ the data set.
{/* Bottom Section: Add code here for the graphs section for your first ticket */}
- {/*
*/}
-
scrollToTop()} className="back-to-top">
- Back To Top ^
-
+
+
Systematic Disparity Insights
+
+
+
36%
+
+ By the end of the Trump administration, the average asylum
+ office grant rate had fallen 36 percent from an average of 44
+ percent in fiscal year 2016 to 28 percent in fiscal year 2020.
+
+
+
+
5%
+
+ The New York asylum office grant rate dropped to 5 percent in
+ fiscal year 2020.
+
+
+
+
6x Lower
+
+ Between fiscal year 2017 and 2020, the New York asylum office’s
+ average grant rate was six times lower than the San Francisco
+ asylum office.
+
+
+
+
+
+
+
scrollToTop()} className="back-to-top">
+ Back To Top ^
+
+
);
}
export default RenderLandingPage;
+
diff --git a/src/styles/RenderLandingPage.less b/src/styles/RenderLandingPage.less
index 70ee07c37..3f8db43ec 100644
--- a/src/styles/RenderLandingPage.less
+++ b/src/styles/RenderLandingPage.less
@@ -10,7 +10,7 @@
.header {
background-color: @main-color;
- display:flex;
+ display: flex;
text-align: center;
width: 100%;
height: 20vh;
@@ -27,31 +27,51 @@
text-align: center;
width: 100%;
align-items: center;
+ margin-bottom: 40px;
+ font-size: 24px;
}
.header-text-container h1 {
- font-size: 3rem;
+ font-size: 48px;
color: @white;
font-family: 'moneta';
}
.header-text-container h3 {
- font-family: 'beatrice regular';
+ font-family: 'moneta';
color: @white;
- font-size: 1.2rem;
+ font-size: 24px;
}
-// .graphs-section {
+.graphs-section {
// ADD THIS BACK IN WHEN YOU HAVE THE GRAPHS SECTION
-// }
+ display: flex;
+ justify-content: space-around; /* Distribute space between images */
+ align-items: flex-end; /* Align items to the bottom */
+}
+
+.graphs-section img {
+ display: block; /* Ensure images are block elements for margin */
+ margin: 0 auto; /* Center the images */
+}
+
+.graphs-section p {
+ text-align: center; /* Center the text below the image */
+ margin-top: 10px; /* Add space between the image and caption */
+ font-family: 'acumin';
+ font-size: 24px; /* Adjust the font size to be slightly larger */
+}
.view-more-data-btn-container {
+ display: flex;
+ justify-content: center; /* Align buttons closer together */
+ align-items: center;
+ gap: 40px; /* Adjust this value to control spacing between buttons */
height: 44px;
- width: 180px;
- margin: 0 auto;
- text-align: center;
- margin-bottom: 10%;
-}
+ width: 100%;
+ margin-bottom: 5%;
+ margin-top: 60px;
+ }
.middle-section {
display: flex;
@@ -75,16 +95,73 @@
font-size: 1.4rem;
}
-// .bottom-section {
+.bottom-section {
// ADD THIS BACK IN WHEN YOU HAVE A BOTTOM SECTION
-// }
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ margin-bottom: 40px;
+ margin-top: 130px;
+}
+
+h1 {
+ font-size: 56px;
+ font-family: 'Moneta';
+ }
+
+.h2-container {
+ display: flex;
+ justify-content: space-between; /* Align items with space between them */
+ gap: 20px; /* Adjust spacing between the h2/h3 items */
+ margin-bottom: 20px; /* Space below the container */
+ margin-top: 80px;
+ }
+
+.h2-item {
+ display: flex;
+ flex-direction: column; /* Align elements in a vertical column */
+ align-items: center; /* Center the content horizontally */
+ text-align: center; /* Ensure the text inside is centered */
+ margin-bottom: 20px; /* Add some spacing below */
+ }
+
+ .h2-item h2 {
+ margin: 0;
+ font-family: 'moneta';
+ font-size: 48px;
+ }
+
+ .h2-item h3 {
+ margin-top: 10px; /* Add some space between the