diff --git a/app.vue b/app.vue
index ed026e27de..6f97fc9015 100644
--- a/app.vue
+++ b/app.vue
@@ -1,28 +1,31 @@
-
+
-
+
diff --git a/components/layout/Announce.vue b/components/layout/Announce.vue
index 1730a90f01..ca137ad66f 100644
--- a/components/layout/Announce.vue
+++ b/components/layout/Announce.vue
@@ -29,7 +29,7 @@
required: true,
},
scrolled: {
- type: String,
+ type: Boolean,
required: false
}
},
diff --git a/components/layout/Companies.vue b/components/layout/Companies.vue
index 64567350b1..86d2d2a94a 100644
--- a/components/layout/Companies.vue
+++ b/components/layout/Companies.vue
@@ -4,19 +4,21 @@
@@ -35,12 +37,7 @@
},
data() {
return {
- random: .5 - Math.random()
- };
- },
- computed: {
- companies() {
- return [
+ companies: [
{ name: "acxiom", width: "130px", height: "29px" },
{ name: "bouygues-immobilier", width: "132px", height: "53px" },
{ name: "leroymerlin", width: "63px", height: "39px" },
@@ -63,7 +60,11 @@
{ name: "fila", width: "83px", height: "25px" },
{ name: "intersport", width: "225px", height: "25px" },
]
- .sort(() => this.random)
+ }
+ },
+ computed: {
+ shuffledCompanies() {
+ return this.companies.toSorted(() => .5 - Math.random())
},
}
});
diff --git a/components/layout/Header.vue b/components/layout/Header.vue
index cfa5e6fa05..147acee26f 100644
--- a/components/layout/Header.vue
+++ b/components/layout/Header.vue
@@ -857,7 +857,7 @@ export default {
},
props: {
scrolled: {
- type: String,
+ type: Boolean,
required: true
}
},
diff --git a/components/layout/PluginContainer.vue b/components/layout/PluginContainer.vue
new file mode 100644
index 0000000000..25256de5e8
--- /dev/null
+++ b/components/layout/PluginContainer.vue
@@ -0,0 +1,346 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/layout/Search.vue b/components/layout/Search.vue
index 500b76dc1e..89e6c04526 100644
--- a/components/layout/Search.vue
+++ b/components/layout/Search.vue
@@ -290,7 +290,7 @@
}
},
close() {
- if (this.$refs.modal) {
+ if (process.client && this.$refs.modal) {
const modal = this.$bootstrap.Modal.getInstance(this.$refs.modal);
if (modal) {
modal.hide();
diff --git a/components/partners/BecomeAPartner.vue b/components/partners/BecomeAPartner.vue
index 7573832ee6..c418d0a0fa 100644
--- a/components/partners/BecomeAPartner.vue
+++ b/components/partners/BecomeAPartner.vue
@@ -13,7 +13,9 @@
diff --git a/components/videos/TutorialsList.vue b/components/videos/TutorialsList.vue
index 925eef9c1d..7ae4709ff9 100644
--- a/components/videos/TutorialsList.vue
+++ b/components/videos/TutorialsList.vue
@@ -188,7 +188,7 @@
}
const closeModal = () => {
- if (youtubeVideoModal.value) {
+ if (process.client && youtubeVideoModal.value) {
const modal = $bootstrap.Modal.getInstance(youtubeVideoModal.value);
if (modal) {
modal.hide();
diff --git a/error.vue b/error.vue
index a2a5d8771d..104a5f1812 100644
--- a/error.vue
+++ b/error.vue
@@ -1,9 +1,13 @@
-
+
-
+
+
+