Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const moduleExports = {
];
},
env: {
NTA_LAYER: "dcp_nta_2010",
NTA_LAYER: "dcp_nta_2020",
BOROUGH_LAYER: "dcp_borough_boundary",
DOMAIN: "equitableexplorer.planninglabs.nyc",
},
Expand Down
24 changes: 24 additions & 0 deletions src/components/Footnote/HPSFootnote.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { Box, Text } from "@chakra-ui/react";

interface HPSTableFootnoteProps {
shouldDisplay: boolean;
}

export const HPSFootnote = ({ shouldDisplay }: HPSTableFootnoteProps) =>
shouldDisplay ? (
<Box>
<Text
align="left"
padding={1}
fontStyle="italic"
fontSize="md"
color={"gray"}
>
*Some health outcomes and public safety indicators are not currently
displayed due to limited data. These will be updated once new
information is provided.
</Text>
</Box>
) : (
<></>
);
1 change: 1 addition & 0 deletions src/components/Footnote/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from "./AMIFootnote";
export * from "./HPSFootnote";
Loading
Loading