diff --git a/arches_lingo/src/arches_lingo/App.vue b/arches_lingo/src/arches_lingo/App.vue index 0039aa06..48da7290 100644 --- a/arches_lingo/src/arches_lingo/App.vue +++ b/arches_lingo/src/arches_lingo/App.vue @@ -1,6 +1,6 @@ - - + + + + + diff --git a/arches_lingo/src/arches_lingo/components/header/PageHeader.vue b/arches_lingo/src/arches_lingo/components/header/PageHeader.vue new file mode 100644 index 00000000..2dc87cd4 --- /dev/null +++ b/arches_lingo/src/arches_lingo/components/header/PageHeader.vue @@ -0,0 +1,58 @@ + + + + + + + {{ $gettext("Arches Lingo") }} + + + + + + + {{ item.label }} + + + + + + + + + + \ No newline at end of file diff --git a/arches_lingo/src/arches_lingo/components/user/UserInteraction.vue b/arches_lingo/src/arches_lingo/components/user/UserInteraction.vue new file mode 100644 index 00000000..e0b34064 --- /dev/null +++ b/arches_lingo/src/arches_lingo/components/user/UserInteraction.vue @@ -0,0 +1,60 @@ + + + + + {{ $gettext("Hello %{bestName}", { bestName }) }} + + {{ $gettext("Sign out") }} + + + diff --git a/arches_lingo/src/arches_lingo/pages/HomePage.vue b/arches_lingo/src/arches_lingo/pages/HomePage.vue index 3310d347..157a1c0d 100644 --- a/arches_lingo/src/arches_lingo/pages/HomePage.vue +++ b/arches_lingo/src/arches_lingo/pages/HomePage.vue @@ -1,78 +1 @@ - - - - - {{ $gettext("LINGO") }} - {{ $gettext("Hello %{bestName}", { bestName }) }} - - {{ $gettext("Sign out") }} - - - - - {{ $gettext("Go to Root") }} - - - - {{ $gettext("Go to Schemes") }} - - - - {{ $gettext("Go to Search") }} - - - - {{ $gettext("Go to Advanced Search") }} - - - +HomePage placeholder diff --git a/arches_lingo/src/arches_lingo/routes.ts b/arches_lingo/src/arches_lingo/routes.ts index 799697de..f650340f 100644 --- a/arches_lingo/src/arches_lingo/routes.ts +++ b/arches_lingo/src/arches_lingo/routes.ts @@ -3,26 +3,31 @@ export const routes = [ path: "/", name: "root", component: () => import("@/arches_lingo/pages/HomePage.vue"), + meta: { shouldShowHeader: true }, }, { path: "/login/:next?", name: "login", component: () => import("@/arches_lingo/pages/LoginPage.vue"), + meta: { shouldShowHeader: false }, }, { path: "/search", name: "search", component: () => import("@/arches_lingo/pages/BasicSearch.vue"), + meta: { shouldShowHeader: true }, }, { path: "/advanced-search", name: "advanced-search", component: () => import("@/arches_lingo/pages/AdvancedSearch.vue"), + meta: { shouldShowHeader: true }, }, { path: "/schemes", name: "schemes", component: () => import("@/arches_lingo/pages/SchemeList.vue"), + meta: { shouldShowHeader: true }, }, ];