@fy-/fws-vue 1.7.0 → 1.7.2

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.
@@ -63,7 +63,7 @@ onUnmounted(() => {
63
63
  style="z-index: 41"
64
64
  >
65
65
  <div
66
- :class="`relative ${mSize} max-w-6xl max-h-full overflow-y-auto bg-white rounded-lg shadow dark:bg-fv-neutral-800`"
66
+ :class="`relative ${mSize} max-w-6xl max-h-full overflow-y-auto bg-white rounded-lg shadow dark:bg-fv-neutral-900`"
67
67
  style="z-index: 42"
68
68
  >
69
69
  <div
@@ -23,6 +23,7 @@ export interface LazyHead {
23
23
  locale?: string;
24
24
  robots?: string;
25
25
  url?: string;
26
+ canonical?: string;
26
27
  isAdult?: boolean;
27
28
  alternateLocales?: string[];
28
29
  }
@@ -47,6 +48,14 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
47
48
  }
48
49
  });
49
50
 
51
+ if (seo.value.canonical) {
52
+ links.push({
53
+ rel: "canonical",
54
+ href: seo.value.canonical,
55
+ key: "canonical",
56
+ });
57
+ }
58
+
50
59
  seo.value.alternateLocales?.forEach((locale) => {
51
60
  if (locale !== currentLocale) {
52
61
  links.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {