From 32a988867ff6b2cecaaab2c49d7f0d97f21e68ab Mon Sep 17 00:00:00 2001 From: Grady Ward Date: Wed, 24 Jan 2024 06:25:15 -0700 Subject: [PATCH] Addresses Review Comments, Adds i18n where missing --- frontend/lang/en.json | 3 +++ frontend/pages/index.vue | 5 +++-- frontend/pages/upload.vue | 27 ++++++++++++++++++++------- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/frontend/lang/en.json b/frontend/lang/en.json index 3e0a80c..279ff32 100644 --- a/frontend/lang/en.json +++ b/frontend/lang/en.json @@ -424,6 +424,9 @@ }, "pages/upload": { "Input User Guide": "Input User Guide", + "Sample CSV": "Sample CSV", + "Paragraph1": "This is a page where you can upload portfolios to test out the PACTA platform.", + "Paragraph2": "Input files are expected to be structured as CSVs with an expected set of header rows. To learn more, check out the Input User Guide or download a sample CSV.", "Add File(s)": "Add File(s)", "Add More File(s)": "Add More File(s)", "Cleaning Up": "Cleaning Up", diff --git a/frontend/pages/index.vue b/frontend/pages/index.vue index 6d26699..229f14f 100644 --- a/frontend/pages/index.vue +++ b/frontend/pages/index.vue @@ -71,7 +71,7 @@ const tt = (s: string) => t(`pages/index.${s}`) icon="pi pi-arrow-right" icon-pos="right" class="max-w-30rem" - to="/upload" + :to="localePath('/upload')" /> @@ -82,7 +82,8 @@ const tt = (s: string) => t(`pages/index.${s}`)

{{ tt('Section4Paragraph1') }} {