(`${prefix}.userMenuVisible`, () => false)
@@ -26,11 +26,11 @@ const toggleUserMenu = (e: Event) => {
const menuStyles = computed(() => {
return {
- transition: menuHidden.value ? 'max-height .1s ease' : 'max-height .5s ease',
+ transition: menuVisible.value ? 'max-height .5s ease' : 'max-height .1s ease',
overflow: 'hidden',
- 'max-height': menuHidden.value ? '0px' : '100vh',
- border: menuHidden.value ? undefined : '2px solid',
- 'margin-top': menuHidden.value ? '0' : '-2px',
+ 'max-height': menuVisible.value ? '100vh' : '0px',
+ border: menuVisible.value ? '2px solid' : undefined,
+ 'margin-top': menuVisible.value ? '-2px' : '0',
}
})
@@ -107,10 +107,10 @@ const userMenuItems = computed(() => {
@click="toggleUserMenu"
/>
menuHidden = !menuHidden"
+ @click="() => menuVisible = !menuVisible"
/>
diff --git a/frontend/lang/en.json b/frontend/lang/en.json
index f6c2586..3e0a80c 100644
--- a/frontend/lang/en.json
+++ b/frontend/lang/en.json
@@ -423,6 +423,7 @@
"Discard Changes": "Discard Changes"
},
"pages/upload": {
+ "Input User Guide": "Input User Guide",
"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 23bdeeb..6d26699 100644
--- a/frontend/pages/index.vue
+++ b/frontend/pages/index.vue
@@ -47,11 +47,12 @@ const tt = (s: string) => t(`pages/index.${s}`)
{{ tt('Section2Paragraph2') }}
{{ tt('Section2Paragraph3') }}
diff --git a/frontend/pages/input-guide.vue b/frontend/pages/input-guide.vue
new file mode 100644
index 0000000..5c29a77
--- /dev/null
+++ b/frontend/pages/input-guide.vue
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/frontend/pages/privacy.vue b/frontend/pages/privacy.vue
new file mode 100644
index 0000000..b40688d
--- /dev/null
+++ b/frontend/pages/privacy.vue
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/frontend/pages/tos.vue b/frontend/pages/tos.vue
new file mode 100644
index 0000000..dfd4b27
--- /dev/null
+++ b/frontend/pages/tos.vue
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/frontend/pages/upload.vue b/frontend/pages/upload.vue
index 9639b9b..114255d 100644
--- a/frontend/pages/upload.vue
+++ b/frontend/pages/upload.vue
@@ -8,6 +8,7 @@ const { linkToPortfolioList } = useMyDataURLs()
const pactaClient = usePACTA()
const { $axios } = useNuxtApp()
const { t } = useI18n()
+const localePath = useLocalePath()
const prefix = 'pages/upload'
const tt = (key: string) => t(`${prefix}.${key}`)
@@ -296,7 +297,13 @@ const cleanUpIncompleteUploads = async () => {
This is a page where you can upload portfolios to test out the PACTA platform.
- This Copy will need work, and will need to link to the documentation.
+
+
+ Input files are expected to be structred as CSVs with an expected set of header rows.
+ To learn more, check out the {{ tt('Input User Guide') }}, or download the sample CSV.
{