@burh/nuxt-core 1.0.166 → 1.0.167

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,339 +1,346 @@
1
- <template>
2
- <div class="bg-white content-middle">
3
- <!-- FERRAMENTAS -->
4
- <div class="tools mt-3">
5
- <button
6
- @click="$emit(tool.event)"
7
- class="ml-3"
8
- v-for="(tool, index) in tools"
9
- :key="index"
10
- >
11
- {{ tool.name }}
12
- </button>
13
- </div>
14
-
15
- <!-- SOBRE -->
16
- <div
17
- v-show="userData.user_complementary_information.about"
18
- class="about content-block mt-5 ml-3 mr-3"
19
- >
20
- <h5 class="font-weight-bold">Sobre</h5>
21
- <p
22
- id="USER_ABOUT"
23
- class="mb-0"
24
- :class="
25
- !wordIsLesserThan(
26
- userData.user_complementary_information.about
27
- ) && 'readmore'
28
- "
29
- >
30
- {{ userData.user_complementary_information.about }}
31
- </p>
32
- <a
33
- href="#"
34
- aria-label="expandir conteudo"
35
- v-show="
36
- userData.user_complementary_information.about &&
37
- !wordIsLesserThan(
38
- userData.user_complementary_information.about
39
- )
40
- "
41
- @click.prevent.stop="toggleReadMore($event, 'USER_ABOUT')"
42
- >Ler mais</a
43
- >
44
- </div>
45
-
46
- <!-- EDUCAÇÃO -->
47
- <h5 class="font-weight-bold mt-4 ml-3">Educação</h5>
48
- <div
49
- v-show="userData.user_education.length > 0"
50
- class="education ml-3"
51
- v-for="(edu, index) in filterByDate(userData.user_education, 'old')"
52
- :key="index"
53
- >
54
- <p class="sub-title">{{ edu.formation }}</p>
55
- <p class="info-text">{{ edu.institution }}</p>
56
- <span class="info-text">
57
- {{ edu.start_month }}/{{ edu.start_year }} -
58
- {{ treatEndDate(edu.end_month, edu.end_year) }}
59
- {{ getTime(false, edu) }}
60
- {{
61
- edu.user_education_period
62
- ? '-' + edu.user_education_period.name
63
- : ''
64
- }}
65
- </span>
66
- </div>
67
-
68
- <!-- EXPERIÊNCIAS -->
69
- <h5 class="font-weight-bold mt-4 ml-3">Experiência</h5>
70
- <div
71
- v-show="userData.user_experience.length > 0"
72
- class="experience ml-3 mr-3"
73
- v-for="(exp, index) in filterByDate(userData.user_experience)"
74
- :key="`experience-${index}`"
75
- >
76
- <p class="sub-title">{{ exp.job_title }}</p>
77
- <p class="info-text">{{ exp.company }}, {{ exp.location }}</p>
78
- <span class="info-text">
79
- {{ exp.start_month }}/{{ exp.start_year }} -
80
- {{ treatEndDate(exp.end_month, exp.end_year) }}
81
- {{ getTime(true, exp) }}
82
- </span>
83
-
84
- <p
85
- :id="`USER_EXPERIENCE-${index}`"
86
- class="description mt-4 mb-0"
87
- :class="!wordIsLesserThan(exp.description) && 'readmore'"
88
- >
89
- {{ exp.description }}
90
- </p>
91
-
92
- <a
93
- href="#"
94
- aria-label="expandir conteudo"
95
- v-show="!wordIsLesserThan(exp.description)"
96
- @click.prevent.stop="
97
- toggleReadMore($event, `USER_EXPERIENCE-${index}`)
98
- "
99
- >Ler mais</a
100
- ><br /><br />
101
- </div>
102
-
103
- <!-- CURSOS -->
104
- <h5 class="font-weight-bold mt-1 ml-3">Cursos</h5>
105
- <div
106
- v-show="userData.user_course.length > 0"
107
- class="courses ml-3"
108
- v-for="(cou, index) in filterByDate(userData.user_course, 'old')"
109
- :key="`course-${index}`"
110
- >
111
- <p class="sub-title">{{ cou.institution }}</p>
112
- <p class="info-text mb-3">
113
- {{ cou.name }} - {{ cou.end_year }}
114
- {{ getTime(false, cou) }}
115
- </p>
116
- </div>
117
- </div>
118
- </template>
119
-
120
- <script>
121
- import getPrefixes from '~/util/getPrefixes.js';
122
-
123
- export default {
124
- name: 'user-cv-middle',
125
- props: {
126
- userData: Object,
127
- tools: {
128
- type: Array,
129
- default: () => []
130
- }
131
- },
132
- methods: {
133
- filterByDate(data, by = 'new') {
134
- let sortedArray = data.sort((a, b) => {
135
- a = [
136
- a.start_month,
137
- a.start_year,
138
- a.end_month | 12,
139
- a.end_year | 9999
140
- ];
141
-
142
- b = [
143
- b.start_month,
144
- b.start_year,
145
- b.end_month | 12,
146
- b.end_year | 9999
147
- ];
148
-
149
- // Primeiro filtro -> chaves: 0 e 1 -> Filtro por data de inicio
150
- // Segundo filtro -> chaves: 2 e 3 -> Filtro por data de termino (subir não concluídos para primeiros)
151
-
152
- let byStart;
153
- let byEnd;
154
-
155
- switch (by) {
156
- case 'old':
157
- byStart = (new Date(a[1], a[0], 1).getTime() - new Date(b[1], b[0], 1).getTime());
158
- byEnd = (new Date(b[3], b[2], 1).getTime() - new Date(a[3], a[2], 1).getTime());
159
- break;
160
-
161
- default:
162
- byStart = (new Date(b[1], b[0], 1).getTime() - new Date(a[1], a[0], 1).getTime());
163
- byEnd = (new Date(b[3], b[2], 1).getTime() - new Date(a[3], a[2], 1).getTime());
164
- break;
165
- }
166
-
167
- return (byStart - byEnd);
168
- });
169
-
170
- return sortedArray;
171
- },
172
- toggleReadMore(event, id) {
173
- const element = document.getElementById(id);
174
- element.classList.toggle('readmore');
175
- event.target.innerText == 'Ler mais'
176
- ? (event.target.innerText = 'Esconder')
177
- : (event.target.innerText = 'Ler mais');
178
- },
179
- getTime(
180
- isExperience,
181
- { start_year = null, end_year = null, start_month, end_month },
182
- textHappening = 'Cursando'
183
- ) {
184
- const isHappening = !end_month && !end_year;
185
-
186
- if (isHappening) {
187
- return isExperience === true ? 'Atualmente' : textHappening;
188
- }
189
-
190
- const dateInitial = this.$moment(
191
- ['1', start_month.toString(), start_year.toString()],
192
- 'DD/MM/YYYY'
193
- );
194
- const dateDone = this.$moment(
195
- ['1', end_month.toString(), end_year.toString()],
196
- 'DD/MM/YYYY'
197
- );
198
- const diffDuration = this.$moment.duration(
199
- dateDone.diff(dateInitial)
200
- );
201
- const years = diffDuration.years();
202
- const months = diffDuration.months();
203
-
204
- if (years) {
205
- return years > 1 ? `(${years} anos)` : `(${years} ano)`;
206
- }
207
-
208
- return months > 1
209
- ? `(${months} meses)`
210
- : months == 1
211
- ? `(${months} mês)`
212
- : '';
213
- },
214
- languageLevel(level) {
215
- switch (parseInt(level)) {
216
- case 1:
217
- return 'Iniciante';
218
- case 2:
219
- return 'Elementar';
220
- case 3:
221
- return 'Pré-intermediário';
222
- case 4:
223
- return 'Intermediário';
224
- case 5:
225
- return 'Intermediário Superior';
226
- case 6:
227
- return 'Avançado';
228
- case 7:
229
- return 'Fluente';
230
- default:
231
- return '';
232
- }
233
- },
234
- treatPhone(phone) {
235
- if (phone) {
236
- if (phone == '0' || phone.length < 9 || !phone) {
237
- return 'não cadastrado';
238
- }
239
- }
240
-
241
- return phone;
242
- },
243
- treatCellphone(cellphone) {
244
- if (cellphone) {
245
- if (cellphone == '0' || cellphone.length < 11 || !cellphone) {
246
- return 'não cadastrado';
247
- }
248
- }
249
-
250
- return cellphone;
251
- },
252
- handleGetPrefixes(name = '') {
253
- return getPrefixes(name);
254
- },
255
- treatEndDate(end_month, end_year) {
256
- if (end_month && end_year) {
257
- return `${end_month}/${end_year}`;
258
- }
259
- return '';
260
- },
261
- wordIsLesserThan(word, value = 300) {
262
- return word && word.length < value;
263
- }
264
- }
265
- };
266
- </script>
267
-
268
- <style lang="scss" scoped>
269
- @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
270
- .content-middle {
271
- width: 50%;
272
- border-right: 1px solid #ececec5c;
273
- word-break: break-word !important;
274
- }
275
-
276
- .readmore {
277
- overflow: hidden;
278
- text-overflow: ellipsis;
279
- display: -webkit-box;
280
- -webkit-line-clamp: 3;
281
- -webkit-box-orient: vertical;
282
- }
283
-
284
- .tools {
285
- flex-wrap: wrap;
286
- button {
287
- width: 117px;
288
- height: 29px;
289
- border: none;
290
- margin-top: 15px;
291
-
292
- background: #5983fe;
293
- border-radius: 16px;
294
- color: #fff;
295
-
296
- font-size: 12px;
297
- font-weight: 600;
298
- }
299
- }
300
-
301
- .education {
302
- margin-top: 15px;
303
- }
304
-
305
- .experience {
306
- .description {
307
- font-size: 14px;
308
- color: #62778c;
309
- }
310
-
311
- a {
312
- margin-bottom: 1px;
313
- }
314
- }
315
-
316
- .sub-title {
317
- margin-bottom: 1px;
318
-
319
- font-weight: 600;
320
- font-size: 14px;
321
- line-height: 21px;
322
- color: #62778c;
323
- text-transform: uppercase;
324
- }
325
-
326
- .info-text {
327
- margin-bottom: 1px;
328
-
329
- font-size: 14px;
330
- color: #8da2b5;
331
- }
332
-
333
- .content-block {
334
- p {
335
- font-size: 14px;
336
- color: #62778c;
337
- }
338
- }
339
- </style>
1
+ <template>
2
+ <div class="bg-white content-middle">
3
+ <!-- FERRAMENTAS -->
4
+ <div class="tools mt-3">
5
+ <button
6
+ @click="$emit(tool.event)"
7
+ class="ml-3"
8
+ v-for="(tool, index) in tools"
9
+ :key="index"
10
+ >
11
+ {{ tool.name }}
12
+ </button>
13
+ </div>
14
+
15
+ <!-- SOBRE -->
16
+ <div
17
+ v-show="userData.user_complementary_information.about"
18
+ class="about content-block mt-5 ml-3 mr-3"
19
+ >
20
+ <h5 class="font-weight-bold">Sobre</h5>
21
+ <p
22
+ id="USER_ABOUT"
23
+ class="mb-0"
24
+ :class="
25
+ !wordIsLesserThan(
26
+ userData.user_complementary_information.about
27
+ ) && 'readmore'
28
+ "
29
+ >
30
+ {{ userData.user_complementary_information.about }}
31
+ </p>
32
+ <a
33
+ href="#"
34
+ aria-label="expandir conteudo"
35
+ v-show="
36
+ userData.user_complementary_information.about &&
37
+ !wordIsLesserThan(
38
+ userData.user_complementary_information.about
39
+ )
40
+ "
41
+ @click.prevent.stop="toggleReadMore($event, 'USER_ABOUT')"
42
+ >Ler mais</a
43
+ >
44
+ </div>
45
+
46
+ <!-- EDUCAÇÃO -->
47
+ <h5 class="font-weight-bold mt-4 ml-3">Educação</h5>
48
+ <div
49
+ v-show="userData.user_education.length > 0"
50
+ class="education ml-3"
51
+ v-for="(edu, index) in userData.user_education"
52
+ :key="index"
53
+ >
54
+ <p class="sub-title">{{ edu.formation }}</p>
55
+ <p class="info-text">{{ edu.institution }}</p>
56
+ <span class="info-text">
57
+ {{ edu.start_month }}/{{ edu.start_year }} -
58
+ {{ treatEndDate(edu.end_month, edu.end_year) }}
59
+ {{ getTime(false, edu) }}
60
+ {{
61
+ edu.user_education_period
62
+ ? '-' + edu.user_education_period.name
63
+ : ''
64
+ }}
65
+ </span>
66
+ </div>
67
+
68
+ <!-- EXPERIÊNCIAS -->
69
+ <h5 class="font-weight-bold mt-4 ml-3">Experiência</h5>
70
+ <div
71
+ v-show="userData.user_experience.length > 0"
72
+ class="experience ml-3 mr-3"
73
+ v-for="(exp, index) in userData.user_experience"
74
+ :key="`experience-${index}`"
75
+ >
76
+ <p class="sub-title">{{ exp.job_title }}</p>
77
+ <p class="info-text">{{ exp.company }}, {{ exp.location }}</p>
78
+ <span class="info-text">
79
+ {{ exp.start_month }}/{{ exp.start_year }} -
80
+ {{ treatEndDate(exp.end_month, exp.end_year) }}
81
+ {{ getTime(true, exp) }}
82
+ </span>
83
+
84
+ <p
85
+ :id="`USER_EXPERIENCE-${index}`"
86
+ class="description mt-4 mb-0"
87
+ :class="!wordIsLesserThan(exp.description) && 'readmore'"
88
+ >
89
+ {{ exp.description }}
90
+ </p>
91
+
92
+ <a
93
+ href="#"
94
+ aria-label="expandir conteudo"
95
+ v-show="!wordIsLesserThan(exp.description)"
96
+ @click.prevent.stop="
97
+ toggleReadMore($event, `USER_EXPERIENCE-${index}`)
98
+ "
99
+ >Ler mais</a
100
+ ><br /><br />
101
+ </div>
102
+
103
+ <!-- CURSOS -->
104
+ <h5 class="font-weight-bold mt-1 ml-3">Cursos</h5>
105
+ <div
106
+ v-show="userData.user_course.length > 0"
107
+ class="courses ml-3"
108
+ v-for="(cou, index) in userData.user_course"
109
+ :key="`course-${index}`"
110
+ >
111
+ <p class="sub-title">{{ cou.institution }}</p>
112
+ <p class="info-text mb-3">
113
+ {{ cou.name }} - {{ cou.end_year }}
114
+ {{ getTime(false, cou) }}
115
+ </p>
116
+ </div>
117
+ </div>
118
+ </template>
119
+
120
+ <script>
121
+ import getPrefixes from '~/util/getPrefixes.js';
122
+
123
+ export default {
124
+ name: 'user-cv-middle',
125
+ props: {
126
+ userData: Object,
127
+ tools: {
128
+ type: Array,
129
+ default: () => []
130
+ }
131
+ },
132
+ watch: {
133
+ userData() {
134
+ this.userData.user_experience = this.filterByDate(this.userData.user_experience);
135
+ this.userData.user_course = this.filterByDate(this.userData.user_course, 'old');
136
+ this.userData.user_education =this.filterByDate(this.userData.user_education, 'old');
137
+ }
138
+ },
139
+ methods: {
140
+ filterByDate(data, by = 'new') {
141
+ let sortedArray = data.sort((a, b) => {
142
+ a = [
143
+ a.start_month,
144
+ a.start_year,
145
+ a.end_month | 12,
146
+ a.end_year | 9999
147
+ ];
148
+
149
+ b = [
150
+ b.start_month,
151
+ b.start_year,
152
+ b.end_month | 12,
153
+ b.end_year | 9999
154
+ ];
155
+
156
+ // Primeiro filtro -> chaves: 0 e 1 -> Filtro por data de inicio
157
+ // Segundo filtro -> chaves: 2 e 3 -> Filtro por data de termino (subir não concluídos para primeiros)
158
+
159
+ let byStart;
160
+ let byEnd;
161
+
162
+ switch (by) {
163
+ case 'old':
164
+ byStart = (new Date(a[1], a[0], 1).getTime() - new Date(b[1], b[0], 1).getTime());
165
+ byEnd = (new Date(b[3], b[2], 1).getTime() - new Date(a[3], a[2], 1).getTime());
166
+ break;
167
+
168
+ default:
169
+ byStart = (new Date(b[1], b[0], 1).getTime() - new Date(a[1], a[0], 1).getTime());
170
+ byEnd = (new Date(b[3], b[2], 1).getTime() - new Date(a[3], a[2], 1).getTime());
171
+ break;
172
+ }
173
+
174
+ return (byStart - byEnd);
175
+ });
176
+
177
+ return sortedArray;
178
+ },
179
+ toggleReadMore(event, id) {
180
+ const element = document.getElementById(id);
181
+ element.classList.toggle('readmore');
182
+ event.target.innerText == 'Ler mais'
183
+ ? (event.target.innerText = 'Esconder')
184
+ : (event.target.innerText = 'Ler mais');
185
+ },
186
+ getTime(
187
+ isExperience,
188
+ { start_year = null, end_year = null, start_month, end_month },
189
+ textHappening = 'Cursando'
190
+ ) {
191
+ const isHappening = !end_month && !end_year;
192
+
193
+ if (isHappening) {
194
+ return isExperience === true ? 'Atualmente' : textHappening;
195
+ }
196
+
197
+ const dateInitial = this.$moment(
198
+ ['1', start_month.toString(), start_year.toString()],
199
+ 'DD/MM/YYYY'
200
+ );
201
+ const dateDone = this.$moment(
202
+ ['1', end_month.toString(), end_year.toString()],
203
+ 'DD/MM/YYYY'
204
+ );
205
+ const diffDuration = this.$moment.duration(
206
+ dateDone.diff(dateInitial)
207
+ );
208
+ const years = diffDuration.years();
209
+ const months = diffDuration.months();
210
+
211
+ if (years) {
212
+ return years > 1 ? `(${years} anos)` : `(${years} ano)`;
213
+ }
214
+
215
+ return months > 1
216
+ ? `(${months} meses)`
217
+ : months == 1
218
+ ? `(${months} mês)`
219
+ : '';
220
+ },
221
+ languageLevel(level) {
222
+ switch (parseInt(level)) {
223
+ case 1:
224
+ return 'Iniciante';
225
+ case 2:
226
+ return 'Elementar';
227
+ case 3:
228
+ return 'Pré-intermediário';
229
+ case 4:
230
+ return 'Intermediário';
231
+ case 5:
232
+ return 'Intermediário Superior';
233
+ case 6:
234
+ return 'Avançado';
235
+ case 7:
236
+ return 'Fluente';
237
+ default:
238
+ return '';
239
+ }
240
+ },
241
+ treatPhone(phone) {
242
+ if (phone) {
243
+ if (phone == '0' || phone.length < 9 || !phone) {
244
+ return 'não cadastrado';
245
+ }
246
+ }
247
+
248
+ return phone;
249
+ },
250
+ treatCellphone(cellphone) {
251
+ if (cellphone) {
252
+ if (cellphone == '0' || cellphone.length < 11 || !cellphone) {
253
+ return 'não cadastrado';
254
+ }
255
+ }
256
+
257
+ return cellphone;
258
+ },
259
+ handleGetPrefixes(name = '') {
260
+ return getPrefixes(name);
261
+ },
262
+ treatEndDate(end_month, end_year) {
263
+ if (end_month && end_year) {
264
+ return `${end_month}/${end_year}`;
265
+ }
266
+ return '';
267
+ },
268
+ wordIsLesserThan(word, value = 300) {
269
+ return word && word.length < value;
270
+ }
271
+ }
272
+ };
273
+ </script>
274
+
275
+ <style lang="scss" scoped>
276
+ @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
277
+ .content-middle {
278
+ width: 50%;
279
+ border-right: 1px solid #ececec5c;
280
+ word-break: break-word !important;
281
+ }
282
+
283
+ .readmore {
284
+ overflow: hidden;
285
+ text-overflow: ellipsis;
286
+ display: -webkit-box;
287
+ -webkit-line-clamp: 3;
288
+ -webkit-box-orient: vertical;
289
+ }
290
+
291
+ .tools {
292
+ flex-wrap: wrap;
293
+ button {
294
+ width: 117px;
295
+ height: 29px;
296
+ border: none;
297
+ margin-top: 15px;
298
+
299
+ background: #5983fe;
300
+ border-radius: 16px;
301
+ color: #fff;
302
+
303
+ font-size: 12px;
304
+ font-weight: 600;
305
+ }
306
+ }
307
+
308
+ .education {
309
+ margin-top: 15px;
310
+ }
311
+
312
+ .experience {
313
+ .description {
314
+ font-size: 14px;
315
+ color: #62778c;
316
+ }
317
+
318
+ a {
319
+ margin-bottom: 1px;
320
+ }
321
+ }
322
+
323
+ .sub-title {
324
+ margin-bottom: 1px;
325
+
326
+ font-weight: 600;
327
+ font-size: 14px;
328
+ line-height: 21px;
329
+ color: #62778c;
330
+ text-transform: uppercase;
331
+ }
332
+
333
+ .info-text {
334
+ margin-bottom: 1px;
335
+
336
+ font-size: 14px;
337
+ color: #8da2b5;
338
+ }
339
+
340
+ .content-block {
341
+ p {
342
+ font-size: 14px;
343
+ color: #62778c;
344
+ }
345
+ }
346
+ </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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.166",
3
+ "version": "1.0.167",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {