diff --git a/app/components/header/HeaderActions.vue b/app/components/header/HeaderActions.vue new file mode 100644 index 0000000..3bb4d8d --- /dev/null +++ b/app/components/header/HeaderActions.vue @@ -0,0 +1,9 @@ + + + diff --git a/app/components/header/HeaderLogo.vue b/app/components/header/HeaderLogo.vue new file mode 100644 index 0000000..5372db2 --- /dev/null +++ b/app/components/header/HeaderLogo.vue @@ -0,0 +1,16 @@ + + + diff --git a/app/components/header/HeaderNavigationMenu.vue b/app/components/header/HeaderNavigationMenu.vue new file mode 100644 index 0000000..5b05a4b --- /dev/null +++ b/app/components/header/HeaderNavigationMenu.vue @@ -0,0 +1,26 @@ + + + diff --git a/app/components/header/HeaderNavigationMenuLink.vue b/app/components/header/HeaderNavigationMenuLink.vue new file mode 100644 index 0000000..45ad876 --- /dev/null +++ b/app/components/header/HeaderNavigationMenuLink.vue @@ -0,0 +1,22 @@ + + + diff --git a/app/components/header/HeaderNavigationMenuSpacer.vue b/app/components/header/HeaderNavigationMenuSpacer.vue new file mode 100644 index 0000000..8f3c646 --- /dev/null +++ b/app/components/header/HeaderNavigationMenuSpacer.vue @@ -0,0 +1,9 @@ + + + diff --git a/app/components/header/HeaderProfile.vue b/app/components/header/HeaderProfile.vue new file mode 100644 index 0000000..c3579c1 --- /dev/null +++ b/app/components/header/HeaderProfile.vue @@ -0,0 +1,50 @@ + + + diff --git a/app/components/header/TheHeader.vue b/app/components/header/TheHeader.vue new file mode 100644 index 0000000..080bffd --- /dev/null +++ b/app/components/header/TheHeader.vue @@ -0,0 +1,14 @@ + + + diff --git a/app/components/locale/TheLocaleSelector.vue b/app/components/locale/TheLocaleSelector.vue new file mode 100644 index 0000000..4851890 --- /dev/null +++ b/app/components/locale/TheLocaleSelector.vue @@ -0,0 +1,38 @@ + + + diff --git a/app/constants/header/navigationLinks.constant.ts b/app/constants/header/navigationLinks.constant.ts new file mode 100644 index 0000000..5d029ae --- /dev/null +++ b/app/constants/header/navigationLinks.constant.ts @@ -0,0 +1,22 @@ +import type { TypedRouteLocationRaw } from '@typed-router' + +export interface NavigationLink { + title: string + isTargetBlank?: boolean + to: TypedRouteLocationRaw +} + +export const NAVIGATION_LINKS = [ + { + title: 'Home', + to: { + name: 'index', + }, + }, + { + title: 'Login', + to: { + name: 'auth-login', + }, + }, +] satisfies NavigationLink[] diff --git a/app/layouts/default.vue b/app/layouts/default.vue index a20557c..cae7488 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -1,6 +1,7 @@