categories changed

This commit is contained in:
María
2025-09-15 11:27:46 +02:00
parent c731b65192
commit efcdf35a8c
9 changed files with 71 additions and 100 deletions

View File

@@ -173,15 +173,11 @@ export default {
watch: {
'$route.query'(newValue) {
console.log('New Value:', newValue)
console.log('New Value:', newValue.q)
//console.log('Route changed:', this.$route.fullPath)
//console.log('Current params:', this.$route.query)
this.queryText = newValue.q || ''
if (newValue.q) {
this.updateData(newValue)
} else {
window.location.reload()
}
this.updateData(newValue)
Object.assign(this.$data, this.$options.data())
}
},

View File

@@ -1,6 +1,5 @@
<template>
<div class="">
<div class="content">
<div class="c-content">
<section class="hero-section">
<div class="gradient">
<div class="content">
@@ -46,7 +45,7 @@
</div>
<TextWithImageAndButton />
</div>
</div>
</template>
<script>
@@ -107,7 +106,7 @@ export default {
</script>
<style lang="scss" scoped>
.content {
.c-content {
display: flex;
flex-direction: column;
align-items: center;