From 2e500ecc5c0fc910d34fef61940c34c475e2a26e Mon Sep 17 00:00:00 2001 From: connoratrug Date: Mon, 9 Sep 2024 12:28:25 +0200 Subject: [PATCH 1/4] feat: Add docs links Closes #587 --- apps/nuxt3-ssr/components/header/Catalogue.vue | 4 ++++ apps/nuxt3-ssr/components/header/Global.vue | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/apps/nuxt3-ssr/components/header/Catalogue.vue b/apps/nuxt3-ssr/components/header/Catalogue.vue index 0d390c4490..0886654349 100644 --- a/apps/nuxt3-ssr/components/header/Catalogue.vue +++ b/apps/nuxt3-ssr/components/header/Catalogue.vue @@ -68,6 +68,10 @@ if (!cohortOnly.value) { label: "Upload data", link: "/apps/central/#/", }); + menu.push({ + label: "Manual", + link: "/apps/docs/#/catalogue/", + }); } diff --git a/apps/nuxt3-ssr/components/header/Global.vue b/apps/nuxt3-ssr/components/header/Global.vue index 4de43777d5..6d8ea5e75a 100644 --- a/apps/nuxt3-ssr/components/header/Global.vue +++ b/apps/nuxt3-ssr/components/header/Global.vue @@ -19,6 +19,10 @@ const menu = [ label: "Upload data", link: "/apps/central/#/", }, + { + label: "Manual", + link: "/apps/docs/#/catalogue/", + } // { label: "Statistical Methods", link: "#" }, // { label: "Tables", link: "#" }, From a4703e930a280ff9f44e52a85e50d7fde049b814 Mon Sep 17 00:00:00 2001 From: connoratrug Date: Mon, 9 Sep 2024 12:55:23 +0200 Subject: [PATCH 2/4] fix syntax --- apps/nuxt3-ssr/components/header/Global.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nuxt3-ssr/components/header/Global.vue b/apps/nuxt3-ssr/components/header/Global.vue index 6d8ea5e75a..00d1bd5acb 100644 --- a/apps/nuxt3-ssr/components/header/Global.vue +++ b/apps/nuxt3-ssr/components/header/Global.vue @@ -22,7 +22,7 @@ const menu = [ { label: "Manual", link: "/apps/docs/#/catalogue/", - } + }, // { label: "Statistical Methods", link: "#" }, // { label: "Tables", link: "#" }, From 607404c0e2fe58d6ace312ced2654315641f621b Mon Sep 17 00:00:00 2001 From: connoratrug <47183404+connoratrug@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:05:01 +0100 Subject: [PATCH 3/4] Update Catalogue.vue --- apps/nuxt3-ssr/components/header/Catalogue.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nuxt3-ssr/components/header/Catalogue.vue b/apps/nuxt3-ssr/components/header/Catalogue.vue index 83aef5d874..e9991ce29b 100644 --- a/apps/nuxt3-ssr/components/header/Catalogue.vue +++ b/apps/nuxt3-ssr/components/header/Catalogue.vue @@ -65,7 +65,7 @@ if (!cohortOnly.value) { link: "/apps/central/#/", }); menu.push({ - label: "Manual", + label: "Manuals", link: "/apps/docs/#/catalogue/", }); } From 24dae83d2f443815bbf4913692c9bf2c7f9357f0 Mon Sep 17 00:00:00 2001 From: connoratrug <47183404+connoratrug@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:05:16 +0100 Subject: [PATCH 4/4] Update Global.vue --- apps/nuxt3-ssr/components/header/Global.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nuxt3-ssr/components/header/Global.vue b/apps/nuxt3-ssr/components/header/Global.vue index 00d1bd5acb..302958818e 100644 --- a/apps/nuxt3-ssr/components/header/Global.vue +++ b/apps/nuxt3-ssr/components/header/Global.vue @@ -20,7 +20,7 @@ const menu = [ link: "/apps/central/#/", }, { - label: "Manual", + label: "Manuals", link: "/apps/docs/#/catalogue/", },