@burh/nuxt-core 1.0.45 → 1.0.47

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.
@@ -51,6 +51,8 @@ export default {
51
51
  [{ 'script': 'sub'}, { 'script': 'super' }], // superscript/subscript
52
52
  [{ 'indent': '-1'}, { 'indent': '+1' }], // outdent/indent
53
53
  [{ 'direction': 'rtl' }], // text direction
54
+
55
+ ['clean']
54
56
  ]
55
57
  },
56
58
  });
@@ -6,9 +6,9 @@
6
6
  data-menu="fixed"
7
7
  >
8
8
  <div slot="brand" class="navbar-wrapper">
9
- <nuxt-link class="navbar-brand d-flex" to="/">
10
- <img :src="logoFull" class="navbar-brand-img navbar-brand-img--full" alt="BURH: Suas vagas">
11
- <img :src="logoMini" class="navbar-brand-img navbar-brand-img--mini" alt="BURH: Suas vagas">
9
+ <nuxt-link class="navbar-brand d-flex" :to="goToPage">
10
+ <img :src="logoTipo || logoFull" class="navbar-brand-img navbar-brand-img--full" alt="BURH: Suas vagas">
11
+ <img :src="logoTipo || logoMini" class="navbar-brand-img navbar-brand-img--mini" alt="BURH: Suas vagas">
12
12
  </nuxt-link>
13
13
  </div>
14
14
 
@@ -82,7 +82,9 @@
82
82
  searchModalVisible: false,
83
83
  searchQuery: '',
84
84
  menuSearch: '',
85
- focusSearchControl: false
85
+ focusSearchControl: false,
86
+ goToPage: '/',
87
+ logoTipo: null,
86
88
  };
87
89
  },
88
90
  methods: {
@@ -123,6 +125,10 @@
123
125
  }
124
126
  },
125
127
  mounted () {
128
+ this.$bus.$on('change-logo', ({ logo, redirectTo }) => {
129
+ this.goToPage = redirectTo;
130
+ this.logoTipo = logo;
131
+ })
126
132
  window.addEventListener('scroll', this.handleSCroll);
127
133
  let header = document.querySelector('[data-menu="fixed"]');
128
134
  let page = document.querySelector('html');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.45",
3
+ "version": "1.0.47",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {