diff --git a/lang/id.json b/lang/id.json index 3040526..a723e6b 100644 --- a/lang/id.json +++ b/lang/id.json @@ -136,5 +136,6 @@ "typeerror: can't access property \"code\", (intermediate value).country[0] is undefined": "TypeError: can't access property \"code\", (intermediate value).country[0] is undefined", "error: request failed with status code 419": "Error: Request failed with status code 419", "error: network error": "Error: Network Error", - "error: ziggy error: route 'products.count' is not in the route list.": "Error: Ziggy error: route 'products.count' is not in the route list." + "error: ziggy error: route 'products.count' is not in the route list.": "Error: Ziggy error: route 'products.count' is not in the route list.", + "doc": "Doc" } \ No newline at end of file diff --git a/package.json b/package.json index 41269e0..20186e8 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "vee-validate": "^4.12.4", "vue": "3.3.x", "vue-google-charts": "^1.1.0", - "vue-matomo": "^4.2.0", "vue-multiselect": "^3.0.0-beta.3", "vue3-easy-data-table": "^1.5.47", "vue3-multiselect-checkboxed": "^0.0.9", diff --git a/public/.DS_Store b/public/.DS_Store new file mode 100644 index 0000000..10f526f Binary files /dev/null and b/public/.DS_Store differ diff --git a/public/images/pic_online.png b/public/images/pic_online.png new file mode 100644 index 0000000..46a7698 Binary files /dev/null and b/public/images/pic_online.png differ diff --git a/public/images/pic_settings.png b/public/images/pic_settings.png new file mode 100644 index 0000000..1317c97 Binary files /dev/null and b/public/images/pic_settings.png differ diff --git a/resources/js/Layouts/GuestLayout.vue b/resources/js/Layouts/GuestLayout.vue index 2057bad..1a31463 100644 --- a/resources/js/Layouts/GuestLayout.vue +++ b/resources/js/Layouts/GuestLayout.vue @@ -243,7 +243,7 @@ onMounted(fetch_menu);
- Country in which search product + Country to search in
@@ -255,7 +255,7 @@ onMounted(fetch_menu);
- Countries in which compare + Countries to compare with
diff --git a/resources/js/Pages/IkeaDoc.vue b/resources/js/Pages/IkeaDoc.vue new file mode 100644 index 0000000..1c033cc --- /dev/null +++ b/resources/js/Pages/IkeaDoc.vue @@ -0,0 +1,40 @@ + + + diff --git a/resources/js/Pages/IkeaRoot.vue b/resources/js/Pages/IkeaRoot.vue index ef675ae..426b068 100644 --- a/resources/js/Pages/IkeaRoot.vue +++ b/resources/js/Pages/IkeaRoot.vue @@ -7,6 +7,7 @@ import { computed, nextTick, watch, + inject, } from "vue"; import Swal from "sweetalert2"; @@ -22,7 +23,6 @@ import searchimg from "@/assets/search-icon.svg"; import { settingsStore } from '../settingsStore.js'; import { FwbInput } from 'flowbite-vue'; - const screenWidth = ref(screen.width) const screenHeight = ref(screen.height) const hover = ref(true); @@ -390,8 +390,6 @@ onMounted(() => { }); const showRow = async (item) => { console.log("ITEM=", item); - this.$matomo.trackEvent('Product', 'search', 'text', settingsStore.text); - this.$matomo.trackEvent('Product', 'click', 'code', item.globalCode); itemCode.value = item.code; try { @@ -400,6 +398,7 @@ const showRow = async (item) => { countries: settingsStore.countries, currency: settingsStore.currency, online: settingsStore.online, + text: settingsStore.text, }); products.value = response.data.products; diff --git a/resources/js/app.js b/resources/js/app.js index a8409ec..7a4c2b2 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -6,7 +6,6 @@ import { createInertiaApp, usePage } from '@inertiajs/inertia-vue3'; import { InertiaProgress } from '@inertiajs/progress'; import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers'; import { ZiggyVue } from '../../vendor/tightenco/ziggy/dist/vue.m'; -import VueMatomo from 'vue-matomo'; import Themes from './themes' import Swal from 'sweetalert2'; import { Inertia } from '@inertiajs/inertia'; @@ -31,11 +30,6 @@ createInertiaApp({ return createApp({ render: () => h(app, props) }) .use(plugin) .use(ZiggyVue, Ziggy) - .use(VueMatomo, { - host: 'https://matomo.soson.eu/', - trackerUrl: 'https://matomo.soson.eu/matomo.php', - siteId: 3, - }) .mixin({ methods: { ...commons, @@ -61,8 +55,6 @@ const Toast = window.Toast = Swal.mixin({ } }) -window._paq.push(['trackPageView']); //To track pageview - Inertia.on('start', commons.authorization) Inertia.on('finish', commons.authorization) Inertia.on('finish', () => { diff --git a/resources/views/app.blade.php b/resources/views/app.blade.php index 37c953b..95460a8 100644 --- a/resources/views/app.blade.php +++ b/resources/views/app.blade.php @@ -23,6 +23,23 @@ @routes @vite('resources/js/app.js') @inertiaHead + + + + + diff --git a/routes/web.php b/routes/web.php index 5a8e771..2955bdb 100644 --- a/routes/web.php +++ b/routes/web.php @@ -32,6 +32,10 @@ Route::get('/about/', function () { Route::get('/exchange/', function () { return Inertia::render('IkeaExchange'); })->name('exchange'); +Route::get('/doc/', function () { + return Inertia::render('IkeaDoc'); +})->name('doc'); + Route::post('users-send-email', [FeedbackController::class, 'sendEmail'])->name('ajax.send.email'); //Route::get('/products/online', [OnlineCompareController::class,'compare'])->name('products.online.compare'); Route::get('/products/count', [ProductsCountController::class,'index'])->name('products.count');