@revenexx/cover 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/layouts/focus.vue +4 -2
- package/package.json +1 -1
package/app/layouts/focus.vue
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { legalLinks, shopContact } from "../config/navigation";
|
|
2
|
+
import { legalLinks as defaultLegalLinks, shopContact } from "../config/navigation";
|
|
3
3
|
|
|
4
4
|
// Distraction-free layout for conversion-critical pages — authentication
|
|
5
5
|
// (login, register, recovery) and the checkout funnel. No shop chrome:
|
|
6
6
|
// logo + back link on top, the page content, and a slim footer with the
|
|
7
7
|
// essential links (contact + legal).
|
|
8
|
+
const appConfig = useAppConfig();
|
|
9
|
+
const legalLinks = computed(() => (appConfig.legalLinks as typeof defaultLegalLinks | undefined) ?? defaultLegalLinks);
|
|
8
10
|
const { t } = useI18n();
|
|
9
11
|
const localePath = useLocalePath();
|
|
10
12
|
const head = useLocaleHead({ seo: true });
|
|
@@ -65,7 +67,7 @@ const tinted = computed(() => /\/checkout(\/|$)/.test(route.path));
|
|
|
65
67
|
<NuxtLink
|
|
66
68
|
v-for="link in legalLinks"
|
|
67
69
|
:key="link.to"
|
|
68
|
-
:to="link.to"
|
|
70
|
+
:to="localePath(link.to)"
|
|
69
71
|
tabindex="0"
|
|
70
72
|
class="text-xs text-dimmed hover:text-default transition-colors"
|
|
71
73
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revenexx/cover",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Cover \u2014 revenexx design system for Nuxt. Distributed as a Nuxt layer: generic UI components, theming tokens and stores shared by the demo shop, custom storefronts and the Blokkli theme.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./nuxt.config.ts",
|