diff --git a/.env b/.env index 6367254..ba0c9ea 100644 --- a/.env +++ b/.env @@ -1,9 +1,7 @@ -# REACT_APP_API_URL=https://api.harmonydata.ac.uk REACT_APP_API_URL=http://localhost:8000 REACT_APP_API_EXAMPLES=$REACT_APP_API_URL/text/examples REACT_APP_API_PARSE=$REACT_APP_API_URL/text/parse REACT_APP_API_MATCH=$REACT_APP_API_URL/text/match -# REACT_APP_API_VERSION=$REACT_APP_API_URL/info/version -# REACT_APP_API_MODELS=$REACT_APP_API_URL/info/list-models -# REACT_APP_ABSOLUTE_URL_PREFIX=https://harmonydata.github.io +REACT_APP_API_VERSION=$REACT_APP_API_URL/info/version +REACT_APP_API_MODELS=$REACT_APP_API_URL/info/list-models REACT_APP_ABSOLUTE_URL_PREFIX=http://localhost:8000 diff --git a/.env.development b/.env.development index c9c21ac..ba0c9ea 100644 --- a/.env.development +++ b/.env.development @@ -1,16 +1,7 @@ -# REACT_APP_API_URL=https://harmonystagingtmp.azurewebsites.net/ -# REACT_APP_API_EXAMPLES=$REACT_APP_API_URL/text/examples -# REACT_APP_API_PARSE=$REACT_APP_API_URL/text/parse -# REACT_APP_API_MATCH=$REACT_APP_API_URL/text/match -# REACT_APP_API_VERSION=$REACT_APP_API_URL/info/version -# REACT_APP_API_MODELS=$REACT_APP_API_URL/info/list-models -# REACT_APP_ABSOLUTE_URL_PREFIX=https://harmonydata.github.io -# REACT_APP_API_URL=https://api.harmonydata.ac.uk REACT_APP_API_URL=http://localhost:8000 REACT_APP_API_EXAMPLES=$REACT_APP_API_URL/text/examples REACT_APP_API_PARSE=$REACT_APP_API_URL/text/parse REACT_APP_API_MATCH=$REACT_APP_API_URL/text/match -# REACT_APP_API_VERSION=$REACT_APP_API_URL/info/version -# REACT_APP_API_MODELS=$REACT_APP_API_URL/info/list-models -# REACT_APP_ABSOLUTE_URL_PREFIX=https://harmonydata.github.io +REACT_APP_API_VERSION=$REACT_APP_API_URL/info/version +REACT_APP_API_MODELS=$REACT_APP_API_URL/info/list-models REACT_APP_ABSOLUTE_URL_PREFIX=http://localhost:8000 diff --git a/src/components/ResultsOptions.js b/src/components/ResultsOptions.js index 69ab43f..404819d 100644 --- a/src/components/ResultsOptions.js +++ b/src/components/ResultsOptions.js @@ -11,6 +11,7 @@ import { InputAdornment, } from "@mui/material"; import { ReactComponent as xlsxSVG } from "../img/file-excel-solid.svg"; +import { ReactComponent as pdfSVG } from "../img/pdf.svg"; import DropdownShareButton from "./DropdownShareButton"; import SvgIcon from "@mui/material/SvgIcon"; import { useAuth } from "../contexts/AuthContext"; @@ -174,7 +175,21 @@ export default function ResultsOptions({ }} > - Export + Excel Export + + diff --git a/src/img/pdf.svg b/src/img/pdf.svg new file mode 100644 index 0000000..e2a24ba --- /dev/null +++ b/src/img/pdf.svg @@ -0,0 +1 @@ + \ No newline at end of file