-
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.
Pre-release: Polishing pages and minor bug fixes (#19)
* Refactor(PrivacyPolicy): compact no accordion policy page * Refactor(api): changed endpoints to updated api endpoint * Chore(constants): removed cdn urls for pdfdist-js * Feat(fasttext): added required wasm dependencies to run fasttext in-browser * Fix(config): module resolution changed from node to bundler to handle fasttext.wasm.js * Feat(config): added wasm as a list of plugins in vite * Refactor(extractPDF): pdfjs-dist uses internal worker file and added lang id via fasttext * Feat(api): added model version param to POST endpoint * Feat(asset): blue hero image added * Fix(images): indexed new blue hero image * Refactor(extractPDF): lang id model promise loaded only once * Refactor(VNRAnalysis): removed invalid docs prop and cleaned up file viewer Popover * Chore(DetailedReportview): removed unused props to VNRAnalysis * Refactor(priorities): UI/UX refactor for selection and analysis of documents * Fix(api): minor change to extraction endpoint to track backend change * Refactor(priorities): upload files process redesigned * WIP(styling): upload list styling overrides * Fix(libs): compatible typescript dev dependency added to project * Refactor(extractPDF): added the proper typing for languages in extraction process * Fix(minor): placement modification for tooltip * Fix(priorities): minor font fix for our approach text * Refactor(priorities): cleaned up modal content * Refactor(extractPDF): language identification model loading exported for initialization on load * Feat(main): model initalized on app entry * Feat(assets): added new hero backgrounds for pages * Feat(backgrounds): added new hero background for pages * Fix(priorities): background image, tooltip fix, and icon size change * Chore(prioritiesStyle): removed unused style for error item tooltip * Refactor(priorities): content update, state improvement and minor tweaks * Refactor(DefaultHomePage): country landing page background similar to global home page
- Loading branch information
Showing
25 changed files
with
2,982 additions
and
7,529 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
|
@@ -663,12 +663,5 @@ export const COUNTRIES_WITH_REPORT = [ | |
'THA', | ||
]; | ||
|
||
export const PDFJS_DIST_CDNS = [ | ||
'//cdn.jsdelivr.net/npm/[email protected]/build/pdf.worker.min.mjs', | ||
'//cdnjs.cloudflare.com/ajax/libs/pdf.js/4.6.82/pdf.worker.min.mjs', | ||
'//unpkg.com/browse/[email protected]/build/pdf.worker.min.mjs', | ||
'//cdn.jsdelivr.net/npm/[email protected]/legacy/build/pdf.worker.min.mjs', | ||
]; | ||
|
||
export const AIAAS_API_BASE_URL = import.meta.env.VITE_AIAAS_API_BASE_URL; | ||
export const AIAAS_API_KEY = import.meta.env.VITE_AIAAS_API_KEY; |
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
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,27 @@ | ||
.undp-accordion.no-background .ant-collapse-item { | ||
border: 0 !important; | ||
background-color: transparent !important; | ||
border-bottom: none !important; | ||
margin-bottom: 0 !important; | ||
} | ||
|
||
.undp-accordion.no-background .ant-collapse-item .ant-collapse-header { | ||
padding-left: 0; | ||
padding-right: 0; | ||
} | ||
|
||
.undp-accordion.no-background .ant-collapse-item .ant-collapse-header { | ||
align-items: center !important; | ||
} | ||
|
||
.undp-accordion.no-background .ant-collapse-item .ant-collapse-header-text { | ||
font-size: 1.563rem !important; | ||
font-weight: normal !important; | ||
text-transform: uppercase !important; | ||
} | ||
|
||
.ant-upload-list { | ||
display: flex !important; | ||
flex-wrap: wrap !important; | ||
gap: 20 !important; | ||
} |
Oops, something went wrong.