diff --git a/client/.env.development b/client/.env.development
index 67707973..2ebda307 100644
--- a/client/.env.development
+++ b/client/.env.development
@@ -8,6 +8,7 @@ GATSBY_LOCAL_TILES_BASE_URL=http://localhost:5000/data/data-pipeline
GATSBY_DATA_PIPELINE_SCORE_PATH_LOCAL=data_pipeline/data/score
GATSBY_DATA_PIPELINE_SCORE_PATH=data-pipeline/data/score
+GATSBY_DATA_PIPELINE_TRIBAL_PATH=data-pipeline/data/tribal
GATSBY_FILE_DL_PATH_SCREENING_TOOL_DATA_ZIP=downloadable/Screening_Tool_Data.zip
GATSBY_FILE_DL_PATH_SHAPE_FILE_ZIP=shapefile/usa.zip
@@ -22,4 +23,4 @@ GATSBY_MAP_TILES_PATH=tiles
# If you want the map to render a MapBox base map (as opposed to the
# open source one from CartoDB), please create your own API TOKEN from
# your MapBox account and add the token here:
-# MAPBOX_STYLES_READ_TOKEN=''
+MAPBOX_STYLES_READ_TOKEN=''
\ No newline at end of file
diff --git a/client/.env.production b/client/.env.production
index 196be237..93712b45 100644
--- a/client/.env.production
+++ b/client/.env.production
@@ -6,6 +6,7 @@
GATSBY_CDN_TILES_BASE_URL=https://static-data-screeningtool.geoplatform.gov
GATSBY_DATA_PIPELINE_SCORE_PATH=data-pipeline/data/score
+GATSBY_DATA_PIPELINE_TRIBAL_PATH=data-pipeline/data/tribal
GATSBY_FILE_DL_PATH_SCREENING_TOOL_DATA_ZIP=downloadable/Screening_Tool_Data.zip
GATSBY_FILE_DL_PATH_SHAPE_FILE_ZIP=shapefile/usa.zip
diff --git a/client/src/components/AreaDetail/AreaDetail.tsx b/client/src/components/AreaDetail/AreaDetail.tsx
index 48d61346..2aeaa337 100644
--- a/client/src/components/AreaDetail/AreaDetail.tsx
+++ b/client/src/components/AreaDetail/AreaDetail.tsx
@@ -24,6 +24,7 @@ import mailIcon from '/node_modules/uswds/dist/img/usa-icons/mail_outline.svg';
interface IAreaDetailProps {
properties: constants.J40Properties,
hash: string[],
+ isCensusLayerSelected: boolean,
}
/**
@@ -62,7 +63,8 @@ export interface ICategory {
isExceed1MoreBurden: boolean | null,
isExceedBothSocioBurdens: boolean | null,
}
-const AreaDetail = ({properties, hash}: IAreaDetailProps) => {
+
+const AreaDetail = ({properties, hash, isCensusLayerSelected}: IAreaDetailProps) => {
const intl = useIntl();
// console.log the properties of the census that is selected:
@@ -74,6 +76,7 @@ const AreaDetail = ({properties, hash}: IAreaDetailProps) => {
const countyName = properties[constants.COUNTY_NAME] ? properties[constants.COUNTY_NAME] : "N/A";
const stateName = properties[constants.STATE_NAME] ? properties[constants.STATE_NAME] : "N/A";
const sidePanelState = properties[constants.SIDE_PANEL_STATE];
+ const landAreaName = properties[constants.LAND_AREA_NAME];
const isCommunityFocus = score >= constants.SCORE_BOUNDARY_THRESHOLD;
@@ -590,65 +593,112 @@ const AreaDetail = ({properties, hash}: IAreaDetailProps) => {
{/* Demographics */}