@burh/nuxt-core 1.0.142 → 1.0.144

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.
@@ -0,0 +1,6 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="10" cy="10" r="10" fill="#1D364B"/>
3
+ <path d="M11.0648 11.2231C10.4816 11.527 9.89836 11.527 9.28443 11.2231C9.22304 11.3142 9.22304 11.4358 9.19234 11.527C8.82399 12.8945 7.68822 13.8974 6.27619 14.0797C4.25023 14.3228 2.65402 12.8945 2.40845 11.2231C2.22427 9.97709 2.56193 8.88306 3.54422 8.03215C4.00466 7.63709 4.46511 7.27241 4.92555 6.90773C5.386 6.54306 5.93853 6.33033 6.55246 6.29994C6.64455 6.29994 6.70594 6.26955 6.76733 6.20877C6.98221 5.99604 7.19708 5.78332 7.41196 5.60098C8.05658 5.02358 9.00817 5.14514 9.46861 5.87449C9.49931 5.90488 9.49931 5.93527 9.53 5.96566C9.53 6.02643 9.5914 6.02643 9.65279 5.96566C9.89836 5.8441 10.1439 5.81371 10.4202 5.87449C10.5123 5.90488 10.5737 5.93527 10.6658 5.96566C10.7579 6.02643 10.7886 6.02643 10.8193 5.93527C10.942 5.66176 11.1569 5.47942 11.4025 5.35786C11.8629 5.14514 12.2927 5.14514 12.7224 5.41864C12.9066 5.5402 13.0601 5.69215 13.2443 5.87449C13.275 5.90488 13.3057 5.93527 13.3364 5.96566C13.4284 6.05682 13.5205 6.17838 13.6433 6.26955C13.7661 6.33033 13.9196 6.29994 14.0731 6.33033C14.5335 6.39111 14.9326 6.54306 15.3009 6.81657C15.8535 7.24202 16.3753 7.66748 16.8971 8.12332C17.4804 8.60955 17.7873 9.27813 17.9408 10.0075C18.2171 11.4662 17.5111 12.9857 16.1297 13.715C14.0731 14.7787 11.5253 13.5935 11.0648 11.3446C11.0955 11.2838 11.0955 11.2535 11.0648 11.2231ZM14.5028 13.1072C15.7614 13.1072 16.805 12.0436 16.805 10.7672C16.805 9.46046 15.7921 8.39683 14.5028 8.39683C13.367 8.39683 12.2006 9.30852 12.2006 10.7672C12.2313 12.1955 13.3977 13.1072 14.5028 13.1072ZM3.54422 10.7672C3.54422 12.074 4.58789 13.1072 5.84644 13.1072C7.10499 13.1072 8.14867 12.0436 8.14867 10.7368C8.14867 9.43007 7.10499 8.39683 5.81575 8.39683C4.55719 8.39683 3.54422 9.46046 3.54422 10.7672ZM9.16165 9.67319C9.16165 10.1594 9.5914 10.5849 10.0825 10.5849C10.6044 10.5849 11.0341 10.1594 11.0341 9.67319C11.0341 9.18696 10.6044 8.7615 10.1132 8.7615C9.5914 8.73111 9.16165 9.12618 9.16165 9.67319Z" fill="#F8FAFB"/>
4
+ <path d="M14.8406 9.06549C15.608 9.15666 16.222 9.88601 16.1606 10.6761C16.0992 11.5271 15.3932 12.1652 14.503 12.0741C13.6128 12.0133 13.0909 11.2232 13.1216 10.5546C13.5821 10.6458 14.0118 10.5546 14.3802 10.2507C14.7179 9.94679 14.8406 9.55173 14.8406 9.06549Z" fill="#F8FAFB"/>
5
+ <path d="M6.1535 9.06549C6.70604 9.09588 7.41205 9.64289 7.47344 10.4938C7.50414 11.2232 7.013 11.8917 6.33768 12.0437C5.38609 12.2868 4.4959 11.6182 4.40381 10.6458C4.40381 10.5546 4.40381 10.5546 4.52659 10.5546C5.23261 10.6761 5.90793 10.2507 6.1228 9.58211C6.1228 9.43017 6.1535 9.24783 6.1535 9.06549Z" fill="#F8FAFB"/>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="21" height="19" viewBox="0 0 21 19" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.5515 0.00349014C6.46153 -0.13651 2.29153 3.95349 2.29153 9.00349H0.501534C0.0515344 9.00349 -0.168466 9.54349 0.151534 9.85349L2.94153 12.6535C3.14153 12.8535 3.45153 12.8535 3.65153 12.6535L6.44153 9.85349C6.75153 9.54349 6.53153 9.00349 6.08153 9.00349H4.29153C4.29153 5.10349 7.47153 1.95349 11.3915 2.00349C15.1115 2.05349 18.2415 5.18349 18.2915 8.90349C18.3415 12.8135 15.1915 16.0035 11.2915 16.0035C9.68153 16.0035 8.19153 15.4535 7.01153 14.5235C6.61153 14.2135 6.05153 14.2435 5.69153 14.6035C5.27153 15.0235 5.30153 15.7335 5.77153 16.0935C7.29153 17.2935 9.20153 18.0035 11.2915 18.0035C16.3415 18.0035 20.4315 13.8335 20.2915 8.74349C20.1615 4.05349 16.2415 0.13349 11.5515 0.00349014ZM11.0415 5.00349C10.6315 5.00349 10.2915 5.34349 10.2915 5.75349V9.43349C10.2915 9.78349 10.4815 10.1135 10.7815 10.2935L13.9015 12.1435C14.2615 12.3535 14.7215 12.2335 14.9315 11.8835C15.1415 11.5235 15.0215 11.0635 14.6715 10.8535L11.7915 9.14349V5.74349C11.7915 5.34349 11.4515 5.00349 11.0415 5.00349Z" fill="#C8C8C8"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="15" height="18" viewBox="0 0 15 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.869 4.869L9.522 0.522C9.189 0.189 8.73 0 8.253 0H1.8C0.81 0 0.00900021 0.81 0.00900021 1.8L0 16.2C0 17.19 0.801 18 1.791 18H12.6C13.59 18 14.4 17.19 14.4 16.2V6.147C14.4 5.67 14.211 5.211 13.869 4.869ZM5.607 13.761L3.699 11.853C3.348 11.502 3.348 10.935 3.699 10.584C4.05 10.233 4.617 10.233 4.968 10.584L6.237 11.853L9.423 8.667C9.774 8.316 10.341 8.316 10.692 8.667C11.043 9.018 11.043 9.585 10.692 9.936L6.876 13.752C6.534 14.112 5.958 14.112 5.607 13.761ZM9 6.3C8.505 6.3 8.1 5.895 8.1 5.4V1.35L13.05 6.3H9Z" fill="#C8C8C8"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.52759 11.3307V17.0472C9.52759 17.5713 9.95633 18 10.4803 18H16.1969C16.7209 18 17.1497 17.5713 17.1497 17.0472V11.3307C17.1497 10.8067 16.7209 10.3779 16.1969 10.3779H10.4803C9.95633 10.3779 9.52759 10.8067 9.52759 11.3307ZM0.952759 18H6.66931C7.19333 18 7.62207 17.5713 7.62207 17.0472V11.3307C7.62207 10.8067 7.19333 10.3779 6.66931 10.3779H0.952759C0.428742 10.3779 0 10.8067 0 11.3307V17.0472C0 17.5713 0.428742 18 0.952759 18ZM0 1.8031V7.51965C0 8.04367 0.428742 8.47241 0.952759 8.47241H6.66931C7.19333 8.47241 7.62207 8.04367 7.62207 7.51965V1.8031C7.62207 1.27908 7.19333 0.850337 6.66931 0.850337H0.952759C0.428742 0.850337 0 1.27908 0 1.8031ZM12.3382 0.278682L8.289 4.31838C7.91743 4.68996 7.91743 5.29019 8.289 5.66177L12.3382 9.711C12.7098 10.0826 13.31 10.0826 13.6816 9.711L17.7308 5.66177C18.1024 5.29019 18.1024 4.68996 17.7308 4.31838L13.6911 0.278682C13.3196 -0.092894 12.7098 -0.092894 12.3382 0.278682Z" fill="#C8C8C8"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="20" height="18" viewBox="0 0 20 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.4343 0H1.94683C0.881403 0 0.00968574 0.871717 0.00968574 1.93715L0 17.0275C0 17.8896 1.04606 18.3254 1.65626 17.7152L3.8743 15.4972H17.4343C18.4998 15.4972 19.3715 14.6255 19.3715 13.56V1.93715C19.3715 0.871717 18.4998 0 17.4343 0ZM9.68574 3.8743C10.7512 3.8743 11.6229 4.74602 11.6229 5.81145C11.6229 6.87688 10.7512 7.7486 9.68574 7.7486C8.62031 7.7486 7.7486 6.87688 7.7486 5.81145C7.7486 4.74602 8.62031 3.8743 9.68574 3.8743ZM13.56 11.6229H5.81145V11.0708C5.81145 10.2863 6.27636 9.58889 6.99311 9.27894C7.8164 8.92057 8.72686 8.71717 9.68574 8.71717C10.6446 8.71717 11.5551 8.92057 12.3784 9.27894C13.0951 9.58889 13.56 10.2863 13.56 11.0708V11.6229Z" fill="#C8C8C8"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.1221 0C15.6412 0 20.1221 4.48086 20.1221 10C20.1221 15.5191 15.6412 20 10.1221 20C4.60293 20 0.12207 15.5191 0.12207 10C0.12207 4.48086 4.60293 0 10.1221 0ZM6.99563 15.62V7.81055H4.39937V15.62H6.99563ZM16.3558 15.62V11.1416C16.3558 8.74281 15.075 7.62691 13.3671 7.62691C11.99 7.62691 11.3731 8.3843 11.0277 8.91625V7.81055H8.43215C8.46656 8.54324 8.43215 15.62 8.43215 15.62H11.0277V11.2586C11.0277 11.0252 11.0445 10.7918 11.1133 10.625C11.3006 10.1588 11.728 9.67582 12.4451 9.67582C13.3839 9.67582 13.7601 10.3922 13.7601 11.4416V15.62H16.3558ZM5.71504 4.04492C4.82676 4.04492 4.24641 4.62891 4.24641 5.39434C4.24641 6.14363 4.8091 6.74371 5.68066 6.74371H5.69742C6.6027 6.74371 7.16617 6.14363 7.16617 5.39434C7.14937 4.62891 6.60273 4.04492 5.71504 4.04492Z" fill="#1D364B"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="10.1221" cy="10" r="10" fill="#1D364B"/>
3
+ <path d="M10.1161 4C6.80407 4 4.12207 6.688 4.12207 10C4.12207 13.312 6.80407 16 10.1161 16C13.4341 16 16.1221 13.312 16.1221 10C16.1221 6.688 13.4341 4 10.1161 4ZM14.2741 7.6H12.5041C12.3121 6.85 12.0361 6.13 11.6761 5.464C12.7801 5.842 13.6981 6.61 14.2741 7.6ZM10.1221 5.224C10.6201 5.944 11.0101 6.742 11.2681 7.6H8.97607C9.23407 6.742 9.62407 5.944 10.1221 5.224ZM5.47807 11.2C5.38207 10.816 5.32207 10.414 5.32207 10C5.32207 9.586 5.38207 9.184 5.47807 8.8H7.50607C7.45807 9.196 7.42207 9.592 7.42207 10C7.42207 10.408 7.45807 10.804 7.50607 11.2H5.47807ZM5.97007 12.4H7.74007C7.93207 13.15 8.20807 13.87 8.56807 14.536C7.46407 14.158 6.54607 13.396 5.97007 12.4ZM7.74007 7.6H5.97007C6.54607 6.604 7.46407 5.842 8.56807 5.464C8.20807 6.13 7.93207 6.85 7.74007 7.6ZM10.1221 14.776C9.62407 14.056 9.23407 13.258 8.97607 12.4H11.2681C11.0101 13.258 10.6201 14.056 10.1221 14.776ZM11.5261 11.2H8.71807C8.66407 10.804 8.62207 10.408 8.62207 10C8.62207 9.592 8.66407 9.19 8.71807 8.8H11.5261C11.5801 9.19 11.6221 9.592 11.6221 10C11.6221 10.408 11.5801 10.804 11.5261 11.2ZM11.6761 14.536C12.0361 13.87 12.3121 13.15 12.5041 12.4H14.2741C13.6981 13.39 12.7801 14.158 11.6761 14.536ZM12.7381 11.2C12.7861 10.804 12.8221 10.408 12.8221 10C12.8221 9.592 12.7861 9.196 12.7381 8.8H14.7661C14.8621 9.184 14.9221 9.586 14.9221 10C14.9221 10.414 14.8621 10.816 14.7661 11.2H12.7381Z" fill="white"/>
4
+ </svg>
@@ -1,140 +1,145 @@
1
1
  <template>
2
- <div class="bg-white content-left">
3
- <div class="profile w-100 text-center">
4
- <div class="avatar">
5
- <img
6
- v-if="userData.urlAvatar"
7
- :src="userData.urlAvatar"
8
- :alt="userData.name"
9
- />
10
- <div v-else class="no-image">
11
- {{ userData.name }}
12
- </div>
13
- </div>
14
- <h5 class="mb-0 text-wrap" :class="{ 'mt-5': !userData.urlAvatar }">
15
- {{ userData.name }} {{ userData.last_name }}
16
- </h5>
17
- <p class="pl-2 pr-2" v-if="userData.user_experience.length > 0">
18
- {{ userData.user_experience[0].job_title }} em
19
- {{ userData.user_experience[0].company }}
20
- </p>
21
-
22
- <span v-if="userData.user_address">
23
- <i class="fas fa-map-marker-alt"></i>
24
- {{ userData.user_address.city_name }}
25
- </span>
26
- </div>
27
-
28
- <div
29
- v-show="userData.user_skill.length > 0"
30
- class="skills title-block mt-3 ml-4"
31
- >
32
- <h5 class="font-weight-bold mb-0">Habilidades</h5>
33
- <div class="line"></div>
34
-
35
- <p
36
- v-for="(skill, index) in userData.user_skill"
37
- :key="`skill-${index}`"
38
- class="ml-1 mt-1 mb-0 text-capitalize"
39
- >
40
- {{ skill.skill_word }}
41
- </p>
42
- </div>
43
-
44
- <div
45
- v-show="userData.user_language.length > 0"
46
- class="languages title-block mt-3 ml-4"
47
- >
48
- <h5 class="font-weight-bold mb-0">Idiomas</h5>
49
- <div class="line"></div>
50
-
51
- <p
52
- class="mb-1 text-capitalize"
53
- v-for="(lan, index) in userData.user_language"
54
- :key="index"
55
- >
56
- {{ lan.language[0].name }} {{ languageLevel(lan.level) }}
57
- </p>
58
- </div>
59
-
60
- <div
61
- v-show="userData.user_desired_job.length > 0"
62
- class="desidered title-block mt-3 ml-4"
63
- >
64
- <h5 class="font-weight-bold mb-0">Cargos desejados</h5>
65
- <div class="line"></div>
66
-
67
- <p
68
- v-for="(des, index) in userData.user_desired_job"
69
- :key="`skill-${index}`"
70
- class="ml-1 mt-1 mb-0 text-capitalize"
71
- >
72
- {{ des.occupation }}
73
- </p>
74
- </div>
75
-
76
- <div class="socials text-center mt-5">
77
- <a
78
- :href="baseUrl + '/' + userData.slug.slug"
79
- class="text-center"
80
- target="_blank"
81
- rel="noopener noreferrer"
82
- >
83
- <img
84
- class="no-social"
85
- src="../../../../assets/images/burh.svg"
86
- alt="Burh"
87
- />
88
- </a>
89
- <a
90
- v-show="userData.user_complementary_information.facebook_url"
91
- :href="userData.user_complementary_information.facebook_url"
92
- target="_blank"
93
- class="ml-2"
94
- rel="noopener noreferrer"
95
- >
96
- <img
97
- src="../../../../assets/images/facebook.svg"
98
- alt="Facebook"
99
- />
100
- </a>
101
- <a
102
- v-show="userData.user_complementary_information.linkedin_url"
103
- :href="userData.user_complementary_information.linkedin_url"
104
- target="_blank"
105
- class="ml-2"
106
- rel="noopener noreferrer"
107
- >
108
- <img
109
- src="../../../../assets/images/linkedin.svg"
110
- alt="Linkdin"
111
- />
112
- </a>
113
- <a
114
- v-show="userData.user_complementary_information.website"
115
- :href="userData.user_complementary_information.website"
116
- class="text-center ml-2"
117
- target="_blank"
118
- rel="noopener noreferrer"
119
- >
120
- <img
121
- class="no-social"
122
- src="../../../../assets/images/web.svg"
123
- alt="Web"
124
- />
125
- </a>
126
- </div>
127
-
128
- <div class="burh-code text-center mt-4">
129
- <vue-qrcode
130
- :value="baseUrl + '/' + userData.slug.slug"
131
- :options="{ width: 98, height: 98 }"
132
- class="border qr-code"
133
- ></vue-qrcode>
134
- <p class="mb-0">Código BURH</p>
135
- <span>{{ userData.id }}</span>
136
- </div>
137
- </div>
2
+ <div class="bg-white content-left">
3
+ <div class="profile w-100 text-center">
4
+ <div class="avatar">
5
+ <img
6
+ v-if="userData.urlAvatar"
7
+ :src="userData.urlAvatar"
8
+ :alt="userData.name"
9
+ />
10
+ <div v-else class="no-image">
11
+ {{ userData.name }}
12
+ </div>
13
+ </div>
14
+
15
+ <h5 class="mb-0 text-wrap" :class="{ 'mt-5': !userData.urlAvatar }">
16
+ {{ userData.name }} {{ userData.last_name }}
17
+ </h5>
18
+
19
+ <p class="pl-2 pr-2" v-if="userData.user_experience.length > 0">
20
+ {{ userData.user_experience[0].job_title }} em
21
+ {{ userData.user_experience[0].company }}
22
+ </p>
23
+
24
+ <span v-if="userData.user_address">
25
+ <i class="fas fa-map-marker-alt"></i>
26
+ {{ userData.user_address.city_name }} -
27
+ {{ userData.user_address.region_code }}
28
+ </span>
29
+ </div>
30
+
31
+ <div
32
+ v-show="userData.user_skill.length > 0"
33
+ class="skills title-block ml-4"
34
+ >
35
+ <h6 class="mb-0">Habilidades</h6>
36
+ <div class="line"></div>
37
+
38
+ <p
39
+ v-for="(skill, index) in userData.user_skill"
40
+ :key="`skill-${index}`"
41
+ class="ml-1 mt-1 mb-0 text-capitalize"
42
+ >
43
+ {{ skill.skill_word }}
44
+ </p>
45
+ </div>
46
+
47
+ <div
48
+ v-show="userData.user_language.length > 0"
49
+ class="languages title-block mt-3 ml-4"
50
+ >
51
+ <h6 class="mb-0">Idiomas</h6>
52
+ <div class="line"></div>
53
+
54
+ <p
55
+ class="mb-1 text-capitalize"
56
+ v-for="(lan, index) in userData.user_language"
57
+ :key="index"
58
+ >
59
+ {{ lan.language[0].name }} {{ languageLevel(lan.level) }}
60
+ </p>
61
+ </div>
62
+
63
+ <div
64
+ v-show="userData.user_desired_job.length > 0"
65
+ class="desidered title-block mt-3 ml-4"
66
+ >
67
+ <h6 class="mb-0">Cargos desejados</h6>
68
+ <div class="line"></div>
69
+
70
+ <p
71
+ v-for="(des, index) in userData.user_desired_job"
72
+ :key="`skill-${index}`"
73
+ class="ml-1 mt-1 mb-0 text-capitalize"
74
+ >
75
+ {{ des.occupation }}
76
+ </p>
77
+ </div>
78
+
79
+ <div class="socials text-center mt-5">
80
+ <a
81
+ :href="baseUrl + '/' + userData.slug.slug"
82
+ class="text-center"
83
+ target="_blank"
84
+ rel="noopener noreferrer"
85
+ >
86
+ <img
87
+ class="no-social"
88
+ src="../../../../assets/images/burhCv.svg"
89
+ alt="Burh"
90
+ />
91
+ </a>
92
+ <a
93
+ v-show="userData.user_complementary_information.facebook_url"
94
+ :href="userData.user_complementary_information.facebook_url"
95
+ target="_blank"
96
+ class="ml-2"
97
+ rel="noopener noreferrer"
98
+ >
99
+ <img
100
+ class="no-social"
101
+ src="../../../../assets/images/facebookCv.svg"
102
+ alt="Facebook"
103
+ />
104
+ </a>
105
+ <a
106
+ v-show="userData.user_complementary_information.linkedin_url"
107
+ :href="userData.user_complementary_information.linkedin_url"
108
+ target="_blank"
109
+ class="ml-2"
110
+ rel="noopener noreferrer"
111
+ >
112
+ <img
113
+ class="no-social"
114
+ src="../../../../assets/images/linkedinCv.svg"
115
+ alt="Linkdin"
116
+ />
117
+ </a>
118
+ <a
119
+ v-show="userData.user_complementary_information.website"
120
+ :href="userData.user_complementary_information.website"
121
+ class="text-center ml-2"
122
+ target="_blank"
123
+ rel="noopener noreferrer"
124
+ >
125
+ <img
126
+ class="no-social"
127
+ src="../../../../assets/images/webCv.svg"
128
+ alt="Web"
129
+ />
130
+ </a>
131
+ </div>
132
+
133
+ <div class="burh-code text-center mt-4">
134
+ <vue-qrcode
135
+ :value="baseUrl + '/' + userData.slug.slug"
136
+ :options="{ width: 98, height: 98 }"
137
+ class="border qr-code"
138
+ ></vue-qrcode>
139
+ <p class="mb-0">Código BURH</p>
140
+ <span>{{ userData.id }}</span>
141
+ </div>
142
+ </div>
138
143
  </template>
139
144
 
140
145
  <script>
@@ -142,97 +147,100 @@ import getPrefixes from '~/util/getPrefixes.js';
142
147
  import VueQrcode from '@chenfengyuan/vue-qrcode';
143
148
 
144
149
  export default {
145
- name: 'user-cv-left-side',
146
- components: {
147
- VueQrcode
148
- },
149
- props: {
150
- userData: Object,
151
- baseUrl: String
152
- },
153
- methods: {
154
- getTime(
155
- { start_year = null, end_year = null, start_month, end_month },
156
- textHappening = 'Cursando'
157
- ) {
158
- const isHappening = !end_month && !end_year;
159
-
160
- if (isHappening) {
161
- return textHappening;
162
- }
163
-
164
- const dateInitial = this.$moment(
165
- ['1', start_month.toString(), start_year.toString()],
166
- 'DD/MM/YYYY'
167
- );
168
- const dateDone = this.$moment(
169
- ['1', end_month.toString(), end_year.toString()],
170
- 'DD/MM/YYYY'
171
- );
172
- const diffDuration = this.$moment.duration(
173
- dateDone.diff(dateInitial)
174
- );
175
- const years = diffDuration.years();
176
- const months = diffDuration.months();
177
-
178
- if (years) {
179
- return years > 1 ? `(${years} anos)` : `(${years} ano)`;
180
- }
181
-
182
- return months > 1
183
- ? `(${months} meses)`
184
- : months == 1
185
- ? `(${months} mês)`
186
- : '';
187
- },
188
- languageLevel(level) {
189
- switch (parseInt(level)) {
190
- case 1:
191
- return 'Iniciante';
192
- case 2:
193
- return 'Elementar';
194
- case 3:
195
- return 'Pré-intermediário';
196
- case 4:
197
- return 'Intermediário';
198
- case 5:
199
- return 'Intermediário Superior';
200
- case 6:
201
- return 'Avançado';
202
- case 7:
203
- return 'Fluente';
204
- default:
205
- return '';
206
- }
207
- },
208
- treatPhone(phone) {
209
- if (phone) {
210
- if (phone == '0' || phone.length < 9 || !phone) {
211
- return 'não cadastrado';
212
- }
213
- }
214
-
215
- return phone;
216
- },
217
- treatCellphone(cellphone) {
218
- if (cellphone) {
219
- if (cellphone == '0' || cellphone.length < 11 || !cellphone) {
220
- return 'não cadastrado';
221
- }
222
- }
223
-
224
- return cellphone;
225
- },
226
- handleGetPrefixes(name = '') {
227
- return getPrefixes(name);
228
- },
229
- treatEndDate(end_month, end_year) {
230
- if (end_month && end_year) {
231
- return `${end_month}/${end_year}`;
232
- }
233
- return '';
234
- }
235
- }
150
+ name: 'user-cv-left-side',
151
+ components: {
152
+ VueQrcode
153
+ },
154
+ props: {
155
+ userData: Object,
156
+ baseUrl: String
157
+ },
158
+ mounted(){
159
+ console.log(this.userData);
160
+ },
161
+ methods: {
162
+ getTime(
163
+ { start_year = null, end_year = null, start_month, end_month },
164
+ textHappening = 'Cursando'
165
+ ) {
166
+ const isHappening = !end_month && !end_year;
167
+
168
+ if (isHappening) {
169
+ return textHappening;
170
+ }
171
+
172
+ const dateInitial = this.$moment(
173
+ ['1', start_month.toString(), start_year.toString()],
174
+ 'DD/MM/YYYY'
175
+ );
176
+ const dateDone = this.$moment(
177
+ ['1', end_month.toString(), end_year.toString()],
178
+ 'DD/MM/YYYY'
179
+ );
180
+ const diffDuration = this.$moment.duration(
181
+ dateDone.diff(dateInitial)
182
+ );
183
+ const years = diffDuration.years();
184
+ const months = diffDuration.months();
185
+
186
+ if (years) {
187
+ return years > 1 ? `(${years} anos)` : `(${years} ano)`;
188
+ }
189
+
190
+ return months > 1
191
+ ? `(${months} meses)`
192
+ : months == 1
193
+ ? `(${months} mês)`
194
+ : '';
195
+ },
196
+ languageLevel(level) {
197
+ switch (parseInt(level)) {
198
+ case 1:
199
+ return 'Iniciante';
200
+ case 2:
201
+ return 'Elementar';
202
+ case 3:
203
+ return 'Pré-intermediário';
204
+ case 4:
205
+ return 'Intermediário';
206
+ case 5:
207
+ return 'Intermediário Superior';
208
+ case 6:
209
+ return 'Avançado';
210
+ case 7:
211
+ return 'Fluente';
212
+ default:
213
+ return '';
214
+ }
215
+ },
216
+ treatPhone(phone) {
217
+ if (phone) {
218
+ if (phone == '0' || phone.length < 9 || !phone) {
219
+ return 'não cadastrado';
220
+ }
221
+ }
222
+
223
+ return phone;
224
+ },
225
+ treatCellphone(cellphone) {
226
+ if (cellphone) {
227
+ if (cellphone == '0' || cellphone.length < 11 || !cellphone) {
228
+ return 'não cadastrado';
229
+ }
230
+ }
231
+
232
+ return cellphone;
233
+ },
234
+ handleGetPrefixes(name = '') {
235
+ return getPrefixes(name);
236
+ },
237
+ treatEndDate(end_month, end_year) {
238
+ if (end_month && end_year) {
239
+ return `${end_month}/${end_year}`;
240
+ }
241
+ return '';
242
+ }
243
+ }
236
244
  };
237
245
  </script>
238
246
 
@@ -270,21 +278,30 @@ export default {
270
278
  font-size: 13px;
271
279
  font-weight: 400;
272
280
  color: #8da2b5;
281
+ line-height: .85rem;
282
+ margin-bottom: 2rem;
273
283
  }
274
284
 
275
285
  span {
276
286
  font-size: 14px;
277
- font-weight: 500;
278
287
  color: #8da2b5;
279
288
  }
280
289
  }
281
290
 
291
+ .skills {
292
+ margin-top: 2.3rem;
293
+ margin-bottom: 2.3rem;
294
+ }
295
+ .languages {
296
+ margin-bottom: 2.3rem;
297
+ }
298
+
282
299
  .title-block {
283
300
  .line {
284
- width: 221px;
301
+ width: 235px;
285
302
  height: 0px;
286
-
287
- border: 1px solid #ececec;
303
+ border: 1px solid #ececec5c;
304
+ margin-bottom: .75rem;
288
305
  }
289
306
 
290
307
  p {
@@ -311,11 +328,7 @@ export default {
311
328
 
312
329
  .socials {
313
330
  .no-social {
314
- width: 20px;
315
- height: 20px;
316
- background: #1d364b;
317
- border-radius: 100%;
318
- padding: 1px;
331
+ height: 1.39rem;
319
332
  }
320
333
  }
321
334
 
@@ -330,5 +343,7 @@ export default {
330
343
  .content-left {
331
344
  width: 25%;
332
345
  height: auto;
346
+ padding: 0 1.5rem 0 1.5rem;
347
+ word-break: break-word !important;
333
348
  }
334
349
  </style>