@burh/nuxt-core 1.0.160 → 1.0.161

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.
@@ -1,29 +1,27 @@
1
1
  <template>
2
- <base-dropdown menu-on-right
3
- class="nav-item"
4
- tag="li"
5
- title-tag="a"
6
- >
7
- <business-avatar
8
- :logo="userAvatar"
9
- :userName="userName"
10
- :companyName="companyName"
11
- class="nav-link pr-0 pt-2 pb-2"
12
- :class="textColor"
13
- @click.prevent
14
- slot="title-container"
15
- />
16
- <h6 class="dropdown-header">Entrar como</h6>
17
- <slot name="companies"></slot>
18
- <dropdown-section
19
- v-for="(value, name) in text"
20
- :key="name"
21
- :title="name"
22
- :items="value"
23
- />
24
- <hr class="dropdown-divider">
25
- <sign-out-item @logout="$emit('logout')" />
26
- </base-dropdown>
2
+ <base-dropdown menu-on-right class="nav-item" tag="li" title-tag="a">
3
+ <business-avatar
4
+ :logo="userAvatar"
5
+ :userName="userName"
6
+ :companyName="companyName"
7
+ class="nav-link pr-0 pt-2 pb-2"
8
+ :class="textColor"
9
+ @click.prevent
10
+ slot="title-container"
11
+ />
12
+ <h6 class="dropdown-header">
13
+ {{ isSindipecas ? 'Opções' : 'Entrar como' }}
14
+ </h6>
15
+ <slot name="companies"></slot>
16
+ <dropdown-section
17
+ v-for="(value, name) in text"
18
+ :key="name"
19
+ :title="name"
20
+ :items="value"
21
+ />
22
+ <hr class="dropdown-divider" />
23
+ <sign-out-item @logout="$emit('logout')" />
24
+ </base-dropdown>
27
25
  </template>
28
26
  <script>
29
27
  import DropdownSection from './DropdownSection';
@@ -32,33 +30,34 @@ import AvatarLink from '../Avatar/AvatarLink';
32
30
  import BusinessAvatar from '../Avatar/BusinessAvatar';
33
31
 
34
32
  export default {
35
- name: 'user-menu-dropdown',
36
- components: {
37
- DropdownSection,
38
- SignOutItem,
39
- AvatarLink,
40
- BusinessAvatar
41
- },
42
- props: {
43
- text: Object,
44
- userAvatar: String,
45
- userName: String,
46
- companyLogo: String,
47
- companyName: String,
48
- textColor: String,
49
- companies: Array
50
- },
51
- methods: {
52
- handleCompanyClick(company) {
53
-
54
- }
55
- },
56
- data() {
57
- return {
58
- console : console
59
- };
60
- }
33
+ name: 'user-menu-dropdown',
34
+ components: {
35
+ DropdownSection,
36
+ SignOutItem,
37
+ AvatarLink,
38
+ BusinessAvatar
39
+ },
40
+ props: {
41
+ text: Object,
42
+ userAvatar: String,
43
+ userName: String,
44
+ companyLogo: String,
45
+ companyName: String,
46
+ textColor: String,
47
+ companies: Array,
48
+ isSindipecas: {
49
+ type: Boolean,
50
+ default: false
51
+ }
52
+ },
53
+ methods: {
54
+ handleCompanyClick(company) {}
55
+ },
56
+ data() {
57
+ return {
58
+ console: console
59
+ };
60
+ }
61
61
  };
62
62
  </script>
63
- <style lang="scss" scoped>
64
- </style>
63
+ <style lang="scss" scoped></style>
@@ -1,61 +1,61 @@
1
- <template>
2
- <client-only>
3
- <text-editor
4
- ref="editor"
5
- v-model="value"
6
- :config="editorConfig"
7
- />
8
- </client-only>
9
- </template>
10
-
11
- <script>
12
- export default {
13
- name: 'html-editor',
14
- components: {
15
- 'text-editor': () => { if (process.client) { return import('@blowstack/ckeditor-nuxt') } }
16
- },
17
- props: {
18
- value: {
19
- type: String,
20
- default: ''
21
- }
22
- },
23
- mounted() {
24
- import('@ckeditor/ckeditor5-build-classic/build/translations/pt-br')
25
- },
26
- data() {
27
- return {
28
- editorConfig: {
29
- language: 'pt-br',
30
- removePlugins: [
31
- 'Title',
32
- 'FontBackgroundColor',
33
- 'FontColor',
34
- 'FontFamily',
35
- 'FontSize',
36
- 'Subscript',
37
- 'Superscript',
38
- 'BlockQuote',
39
- 'PageBreak'
40
- ]
41
- }
42
- }
43
- },
44
- watch: {
45
- value() {
46
- this.$emit("input", this.value)
47
- }
48
- }
49
- };
50
- </script>
51
-
52
- <style lang="scss">
53
- .ck-editor {
54
- margin-bottom: 20px!important;
55
- }
56
- .ck-content {
57
- min-height: 200px;
58
- max-height: 500px;
59
- overflow-y: auto;
60
- }
61
- </style>
1
+ <template>
2
+ <client-only>
3
+ <text-editor
4
+ ref="editor"
5
+ v-model="value"
6
+ :config="editorConfig"
7
+ />
8
+ </client-only>
9
+ </template>
10
+
11
+ <script>
12
+ export default {
13
+ name: 'html-editor',
14
+ components: {
15
+ 'text-editor': () => { if (process.client) { return import('@blowstack/ckeditor-nuxt') } }
16
+ },
17
+ props: {
18
+ value: {
19
+ type: String,
20
+ default: ''
21
+ }
22
+ },
23
+ mounted() {
24
+ import('@ckeditor/ckeditor5-build-classic/build/translations/pt-br')
25
+ },
26
+ data() {
27
+ return {
28
+ editorConfig: {
29
+ language: 'pt-br',
30
+ removePlugins: [
31
+ 'Title',
32
+ 'FontBackgroundColor',
33
+ 'FontColor',
34
+ 'FontFamily',
35
+ 'FontSize',
36
+ 'Subscript',
37
+ 'Superscript',
38
+ 'BlockQuote',
39
+ 'PageBreak'
40
+ ]
41
+ }
42
+ }
43
+ },
44
+ watch: {
45
+ value() {
46
+ this.$emit("input", this.value)
47
+ }
48
+ }
49
+ };
50
+ </script>
51
+
52
+ <style lang="scss">
53
+ .ck-editor {
54
+ margin-bottom: 20px!important;
55
+ }
56
+ .ck-content {
57
+ min-height: 200px;
58
+ max-height: 500px;
59
+ overflow-y: auto;
60
+ }
61
+ </style>
@@ -1,259 +1,259 @@
1
- <template>
2
- <section class="products--info">
3
- <header class="products--info__social--links">
4
- <a href="https://www.facebook.com/burhbrasil" target="_blank" rel="noopener">
5
- <i class="fab fa-facebook-f"></i>
6
- </a>
7
- <a href="https://www.instagram.com/burhbrasil/" target="_blank" rel="noopener">
8
- <i class="fab fa-instagram"></i>
9
- </a>
10
- <a href="https://www.linkedin.com/company/burh/" target="_blank" rel="noopener">
11
- <i class="fab fa-linkedin-in"></i>
12
- </a>
13
- </header>
14
- <content class="products--info__content">
15
- <div class="product__content">
16
- <p class="product__content--title">Soluções</p>
17
- <ul class="product__content--list">
18
- <li>Busca Avançada</li>
19
- <li>Recrutamento</li>
20
- <li>Busca por Universidades</li>
21
- <li>Vídeo Entrevista</li>
22
- <li>Trabalhe Conosco</li>
23
- <li>Universidade Corporativa</li>
24
- <li>Testes Online Personalizados</li>
25
- <li>Teste Profiler DISC</li>
26
- <li>Buffer</li>
27
- <li>Envio de SMS</li>
28
- </ul>
29
- </div>
30
- <div class="product__content">
31
- <p class="product__content--title">Segurança</p>
32
- <ul class="product__content--list">
33
- <li>Busca Avançada</li>
34
- <li>Recrutamento</li>
35
- <li>Busca por Universidades</li>
36
- <li>Vídeo Entrevista</li>
37
- </ul>
38
- <p class="product__content--title">Planos e Preços</p>
39
- <ul class="product__content--list">
40
- <li>Busca Avançada</li>
41
- <li>Recrutamento</li>
42
- <li>Busca por Universidades</li>
43
- <li>Vídeo Entrevista</li>
44
- </ul>
45
- </div>
46
- <div class="product__content">
47
- <p class="product__content--title">Recursos</p>
48
- <ul class="product__content--list">
49
- <li>Busca Avançada</li>
50
- <li>Recrutamento</li>
51
- <li>Busca por Universidades</li>
52
- <li>Vídeo Entrevista</li>
53
- </ul>
54
- </div>
55
- <div class="product__content">
56
- <p class="product__content--title">Página de Carreiras</p>
57
- <ul class="product__content--list">
58
- <li>Busca Avançada</li>
59
- <li>Recrutamento</li>
60
- <li>Busca por Universidades</li>
61
- <li>Vídeo Entrevista</li>
62
- <li>Trabalhe Conosco</li>
63
- <li>Universidade Corporativa</li>
64
- <li>Testes Online Personalizados</li>
65
- <li>Teste Profiler DISC</li>
66
- <li>Buffer</li>
67
- <li>Envio de SMS</li>
68
- </ul>
69
- </div>
70
- <div class="product__content">
71
- <p class="product__content--title">Suporte</p>
72
- <ul class="product__content--list">
73
- <li>Busca Avançada</li>
74
- <li>Recrutamento</li>
75
- <li>Busca por Universidades</li>
76
- <li>Vídeo Entrevista</li>
77
- </ul>
78
- <p class="product__content--title">Mais sobre o Burh</p>
79
- <ul class="product__content--list">
80
- <li>Busca Avançada</li>
81
- <li>Recrutamento</li>
82
- <li>Busca por Universidades</li>
83
- <li>Vídeo Entrevista</li>
84
- </ul>
85
- </div>
86
- </content>
87
- <footer class="products--info__footer">
88
- <div class="footer__links">
89
- <div class="burh__logo">
90
- <img src="/img/brand/burh-imagotipo-white.svg" alt="Burh">
91
- </div>
92
- <ul>
93
- <li><a :href="`${url}/sobre-o-burh`" target="_blank">Sobre o Burh</a></li>
94
- <li><a>Produtos Burh</a></li>
95
- <li><a :href="`${url}/termos-de-uso#privacidade`" target="_blank">Privacidade</a></li>
96
- <li><a :href="`${url}/termos-de-uso`" target="_blank">Termos</a></li>
97
- </ul>
98
- </div>
99
- <div class="footer__text">
100
- <div class="copyright text-center text-lg-right">
101
- © {{year}} Feito com <span id="heart"></span>
102
- no Brasil para o mundo.
103
- </div>
104
- </div>
105
- </footer>
106
- </section>
107
- </template>
108
-
109
- <script>
110
- export default {
111
- name: 'ProductsFooter',
112
- data() {
113
- return {
114
- year: new Date().getFullYear(),
115
- url: ''
116
- };
117
- },
118
- mounted() {
119
- this.url = process.env.baseUserUrl;
120
- }
121
- };
122
- </script>
123
-
124
- <style lang="scss" scoped>
125
- $primaryColor: #5983FE;
126
-
127
- .products--info {
128
- max-width: calc(1360px + 40px * 2);
129
- padding: 0 40px;
130
- margin: 0 auto;
131
- margin-top: 100px;
132
- display: block;
133
- &__social--links {
134
- padding: 15px 0;
135
- display: flex;
136
- align-items: center;
137
- border-bottom: 1px solid #eee;
138
- a {
139
- font-size: 1.5rem;
140
- color: $primaryColor;
141
- margin: 0 20px;
142
- &:first-child {
143
- margin-left: 0;
144
- }
145
- }
146
- }
147
- &__content {
148
- display: grid;
149
- grid-template-columns: repeat(5, 1fr);
150
- gap: 20px;
151
- align-items: flex-start;
152
- @media (max-width: 1200px) {
153
- & {
154
- grid-template-columns: repeat(4, 1fr);
155
- }
156
- }
157
- @media (max-width: 990px) {
158
- & {
159
- grid-template-columns: repeat(3, 1fr);
160
- }
161
- }
162
- @media (max-width: 720px) {
163
- & {
164
- grid-template-columns: repeat(2, 1fr);
165
- }
166
- }
167
- @media (max-width: 500px) {
168
- & {
169
- grid-template-columns: 1fr;
170
- }
171
- }
172
- .product__content {
173
- &--title {
174
- font-weight: bold;
175
- margin-bottom: 10px;
176
- margin-top: 25px;
177
- font-size: 1rem;
178
- }
179
- &--list {
180
- list-style: none;
181
- margin: 0;
182
- padding: 0;
183
- margin-top: 25px;
184
- li {
185
- margin: 10px 0;
186
- font-size: 0.75rem;
187
- }
188
- }
189
- }
190
- }
191
- &__footer {
192
- margin-top: 80px;
193
- border-top: 1px solid #eee;
194
- padding: 30px 0;
195
- display: flex;
196
- align-items: center;
197
- justify-content: space-between;
198
- @media (max-width: 960px) {
199
- & {
200
- flex-direction: column;
201
- justify-content: center;
202
- .footer__links {
203
- margin-bottom: 20px;
204
- }
205
- }
206
- }
207
- .footer__links {
208
- display: flex;
209
- align-items: center;
210
- justify-content: flex-start;
211
- .burh__logo {
212
- width: 120px;
213
- img {
214
- display: block;
215
- width: 100%;
216
- filter: brightness(0.5);
217
- }
218
- @media (max-width: 1150px) {
219
- & {
220
- display: none;
221
- }
222
- }
223
- }
224
- ul {
225
- margin: 0!important;
226
- @media (max-width: 1150px) {
227
- & {
228
- padding: 0;
229
- li a:first-child {
230
- padding-left: 0;
231
- }
232
- }
233
- }
234
- li {
235
- display: inline-block;
236
- @media (max-width: 640px) {
237
- & {
238
- display: block;
239
- text-align: center;
240
- a {
241
- padding: 20px;
242
- }
243
- }
244
- }
245
- a {
246
- display: block;
247
- cursor: pointer;
248
- color: #525f7f;
249
- padding: 0 20px;
250
- &:hover {
251
- text-decoration: underline;
252
- }
253
- }
254
- }
255
- }
256
- }
257
- }
258
- }
259
- </style>
1
+ <template>
2
+ <section class="products--info">
3
+ <header class="products--info__social--links">
4
+ <a href="https://www.facebook.com/burhbrasil" target="_blank" rel="noopener">
5
+ <i class="fab fa-facebook-f"></i>
6
+ </a>
7
+ <a href="https://www.instagram.com/burhbrasil/" target="_blank" rel="noopener">
8
+ <i class="fab fa-instagram"></i>
9
+ </a>
10
+ <a href="https://www.linkedin.com/company/burh/" target="_blank" rel="noopener">
11
+ <i class="fab fa-linkedin-in"></i>
12
+ </a>
13
+ </header>
14
+ <content class="products--info__content">
15
+ <div class="product__content">
16
+ <p class="product__content--title">Soluções</p>
17
+ <ul class="product__content--list">
18
+ <li>Busca Avançada</li>
19
+ <li>Recrutamento</li>
20
+ <li>Busca por Universidades</li>
21
+ <li>Vídeo Entrevista</li>
22
+ <li>Trabalhe Conosco</li>
23
+ <li>Universidade Corporativa</li>
24
+ <li>Testes Online Personalizados</li>
25
+ <li>Teste Profiler DISC</li>
26
+ <li>Buffer</li>
27
+ <li>Envio de SMS</li>
28
+ </ul>
29
+ </div>
30
+ <div class="product__content">
31
+ <p class="product__content--title">Segurança</p>
32
+ <ul class="product__content--list">
33
+ <li>Busca Avançada</li>
34
+ <li>Recrutamento</li>
35
+ <li>Busca por Universidades</li>
36
+ <li>Vídeo Entrevista</li>
37
+ </ul>
38
+ <p class="product__content--title">Planos e Preços</p>
39
+ <ul class="product__content--list">
40
+ <li>Busca Avançada</li>
41
+ <li>Recrutamento</li>
42
+ <li>Busca por Universidades</li>
43
+ <li>Vídeo Entrevista</li>
44
+ </ul>
45
+ </div>
46
+ <div class="product__content">
47
+ <p class="product__content--title">Recursos</p>
48
+ <ul class="product__content--list">
49
+ <li>Busca Avançada</li>
50
+ <li>Recrutamento</li>
51
+ <li>Busca por Universidades</li>
52
+ <li>Vídeo Entrevista</li>
53
+ </ul>
54
+ </div>
55
+ <div class="product__content">
56
+ <p class="product__content--title">Página de Carreiras</p>
57
+ <ul class="product__content--list">
58
+ <li>Busca Avançada</li>
59
+ <li>Recrutamento</li>
60
+ <li>Busca por Universidades</li>
61
+ <li>Vídeo Entrevista</li>
62
+ <li>Trabalhe Conosco</li>
63
+ <li>Universidade Corporativa</li>
64
+ <li>Testes Online Personalizados</li>
65
+ <li>Teste Profiler DISC</li>
66
+ <li>Buffer</li>
67
+ <li>Envio de SMS</li>
68
+ </ul>
69
+ </div>
70
+ <div class="product__content">
71
+ <p class="product__content--title">Suporte</p>
72
+ <ul class="product__content--list">
73
+ <li>Busca Avançada</li>
74
+ <li>Recrutamento</li>
75
+ <li>Busca por Universidades</li>
76
+ <li>Vídeo Entrevista</li>
77
+ </ul>
78
+ <p class="product__content--title">Mais sobre o Burh</p>
79
+ <ul class="product__content--list">
80
+ <li>Busca Avançada</li>
81
+ <li>Recrutamento</li>
82
+ <li>Busca por Universidades</li>
83
+ <li>Vídeo Entrevista</li>
84
+ </ul>
85
+ </div>
86
+ </content>
87
+ <footer class="products--info__footer">
88
+ <div class="footer__links">
89
+ <div class="burh__logo">
90
+ <img src="/img/brand/burh-imagotipo-white.svg" alt="Burh">
91
+ </div>
92
+ <ul>
93
+ <li><a :href="`${url}/sobre-o-burh`" target="_blank">Sobre o Burh</a></li>
94
+ <li><a>Produtos Burh</a></li>
95
+ <li><a :href="`${url}/termos-de-uso#privacidade`" target="_blank">Privacidade</a></li>
96
+ <li><a :href="`${url}/termos-de-uso`" target="_blank">Termos</a></li>
97
+ </ul>
98
+ </div>
99
+ <div class="footer__text">
100
+ <div class="copyright text-center text-lg-right">
101
+ © {{year}} Feito com <span id="heart"></span>
102
+ no Brasil para o mundo.
103
+ </div>
104
+ </div>
105
+ </footer>
106
+ </section>
107
+ </template>
108
+
109
+ <script>
110
+ export default {
111
+ name: 'ProductsFooter',
112
+ data() {
113
+ return {
114
+ year: new Date().getFullYear(),
115
+ url: ''
116
+ };
117
+ },
118
+ mounted() {
119
+ this.url = process.env.baseUserUrl;
120
+ }
121
+ };
122
+ </script>
123
+
124
+ <style lang="scss" scoped>
125
+ $primaryColor: #5983FE;
126
+
127
+ .products--info {
128
+ max-width: calc(1360px + 40px * 2);
129
+ padding: 0 40px;
130
+ margin: 0 auto;
131
+ margin-top: 100px;
132
+ display: block;
133
+ &__social--links {
134
+ padding: 15px 0;
135
+ display: flex;
136
+ align-items: center;
137
+ border-bottom: 1px solid #eee;
138
+ a {
139
+ font-size: 1.5rem;
140
+ color: $primaryColor;
141
+ margin: 0 20px;
142
+ &:first-child {
143
+ margin-left: 0;
144
+ }
145
+ }
146
+ }
147
+ &__content {
148
+ display: grid;
149
+ grid-template-columns: repeat(5, 1fr);
150
+ gap: 20px;
151
+ align-items: flex-start;
152
+ @media (max-width: 1200px) {
153
+ & {
154
+ grid-template-columns: repeat(4, 1fr);
155
+ }
156
+ }
157
+ @media (max-width: 990px) {
158
+ & {
159
+ grid-template-columns: repeat(3, 1fr);
160
+ }
161
+ }
162
+ @media (max-width: 720px) {
163
+ & {
164
+ grid-template-columns: repeat(2, 1fr);
165
+ }
166
+ }
167
+ @media (max-width: 500px) {
168
+ & {
169
+ grid-template-columns: 1fr;
170
+ }
171
+ }
172
+ .product__content {
173
+ &--title {
174
+ font-weight: bold;
175
+ margin-bottom: 10px;
176
+ margin-top: 25px;
177
+ font-size: 1rem;
178
+ }
179
+ &--list {
180
+ list-style: none;
181
+ margin: 0;
182
+ padding: 0;
183
+ margin-top: 25px;
184
+ li {
185
+ margin: 10px 0;
186
+ font-size: 0.75rem;
187
+ }
188
+ }
189
+ }
190
+ }
191
+ &__footer {
192
+ margin-top: 80px;
193
+ border-top: 1px solid #eee;
194
+ padding: 30px 0;
195
+ display: flex;
196
+ align-items: center;
197
+ justify-content: space-between;
198
+ @media (max-width: 960px) {
199
+ & {
200
+ flex-direction: column;
201
+ justify-content: center;
202
+ .footer__links {
203
+ margin-bottom: 20px;
204
+ }
205
+ }
206
+ }
207
+ .footer__links {
208
+ display: flex;
209
+ align-items: center;
210
+ justify-content: flex-start;
211
+ .burh__logo {
212
+ width: 120px;
213
+ img {
214
+ display: block;
215
+ width: 100%;
216
+ filter: brightness(0.5);
217
+ }
218
+ @media (max-width: 1150px) {
219
+ & {
220
+ display: none;
221
+ }
222
+ }
223
+ }
224
+ ul {
225
+ margin: 0!important;
226
+ @media (max-width: 1150px) {
227
+ & {
228
+ padding: 0;
229
+ li a:first-child {
230
+ padding-left: 0;
231
+ }
232
+ }
233
+ }
234
+ li {
235
+ display: inline-block;
236
+ @media (max-width: 640px) {
237
+ & {
238
+ display: block;
239
+ text-align: center;
240
+ a {
241
+ padding: 20px;
242
+ }
243
+ }
244
+ }
245
+ a {
246
+ display: block;
247
+ cursor: pointer;
248
+ color: #525f7f;
249
+ padding: 0 20px;
250
+ &:hover {
251
+ text-decoration: underline;
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
257
+ }
258
+ }
259
+ </style>
@@ -1,24 +1,35 @@
1
1
  <template>
2
- <base-nav
3
- container-classes="container-fluid container-fluid--bu"
4
- class="border-bottom navbar-animated navbar-horizontal"
5
- expand="lg"
6
- type="white"
7
- >
8
- <div style="display: flex; " slot="brand">
9
- <avatar-link
10
- :logo="brand"
11
- :name="brandName"
12
- class="row pl-4 nav-link cursor-pointer"
13
- @avatar-click="redirectIndex"
14
- />
15
- <slot name="brand-center" />
16
- </div>
2
+ <base-nav
3
+ container-classes="container-fluid container-fluid--bu"
4
+ class="border-bottom navbar-animated navbar-horizontal"
5
+ expand="lg"
6
+ type="white"
7
+ >
8
+ <div style="display: flex; " slot="brand">
9
+ <avatar-link
10
+ :logo="brand"
11
+ :name="brandName"
12
+ class="row pl-4 nav-link cursor-pointer"
13
+ @avatar-click="redirectIndex"
14
+ />
15
+ <slot name="brand-center" />
16
+ </div>
17
17
 
18
- <a v-if="currentUser && !disabledLinks" :href="urlBackToBusiness" class="btn btn-link">
19
- Voltar para o Burh
20
- </a>
21
- </base-nav>
18
+ <a
19
+ v-if="currentUser && !disabledLinks"
20
+ :href="urlBackToBusiness"
21
+ class="btn btn-link"
22
+ >
23
+ Voltar para o Burh
24
+ </a>
25
+ <user-menu-dropdown
26
+ v-else
27
+ :companyName="'Sindipeças'"
28
+ :userName="brandName"
29
+ :isSindipecas="true"
30
+ @logout="$emit('logout')"
31
+ />
32
+ </base-nav>
22
33
  </template>
23
34
  <script>
24
35
  import BaseNav from '@burh/nuxt-core/components/burh-ds/Navbar/BaseNav.vue';
@@ -27,45 +38,44 @@ import AppLinkArea from '@burh/nuxt-core/components/burh-ds/Dropdown/AppLinkArea
27
38
  import AvatarLink from '@burh/nuxt-core/components/burh-ds/Avatar/AvatarLink.vue';
28
39
 
29
40
  export default {
30
- components: {
31
- BaseNav,
32
- UserMenuDropdown,
33
- AppLinkArea,
34
- AvatarLink,
35
- },
36
- props: {
37
- currentUser: Object,
38
- currentCompany: Object,
39
- userMenuText: Object,
40
- brand: String,
41
- brandName: String,
42
- showableProducts: Object,
43
- activeProducts: Array,
44
- gridApps: Array,
45
- disabledLinks: Boolean
46
- },
47
- data() {
48
- return {
49
- console: console,
50
- indexRoute: String,
41
+ components: {
42
+ BaseNav,
43
+ UserMenuDropdown,
44
+ AppLinkArea,
45
+ AvatarLink
46
+ },
47
+ props: {
48
+ currentUser: Object,
49
+ currentCompany: Object,
50
+ userMenuText: Object,
51
+ brand: String,
52
+ brandName: String,
53
+ showableProducts: Object,
54
+ activeProducts: Array,
55
+ gridApps: Array,
56
+ disabledLinks: Boolean
57
+ },
58
+ data() {
59
+ return {
60
+ console: console,
61
+ indexRoute: String,
51
62
  urlBackToBusiness: process.env.oldBusinessUrl
52
- };
53
- },
54
- methods: {
55
- handleAvatarClick(company) {
56
- this.$emit('company-click', company);
57
- },
58
- redirectIndex() {
59
- if (!this.disabledLinks)
60
- this.$router.push(this.indexRoute);
61
- },
62
- getCurrentApp(){
63
- this.indexRoute = `/${this.$route.path.split('/')[1]}`
64
- },
65
- },
66
- mounted(){
67
- this.getCurrentApp();
68
- }
63
+ };
64
+ },
65
+ methods: {
66
+ handleAvatarClick(company) {
67
+ this.$emit('company-click', company);
68
+ },
69
+ redirectIndex() {
70
+ if (!this.disabledLinks) this.$router.push(this.indexRoute);
71
+ },
72
+ getCurrentApp() {
73
+ this.indexRoute = `/${this.$route.path.split('/')[1]}`;
74
+ }
75
+ },
76
+ mounted() {
77
+ this.getCurrentApp();
78
+ }
69
79
  };
70
80
  </script>
71
81
  <style lang="scss">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.160",
3
+ "version": "1.0.161",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {