Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 5869 | Rev 5871 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 5869 Rev 5870
Línea 132... Línea 132...
132
        userIdEncrypted={userInfo.userProfileIdEncrypted}
132
        userIdEncrypted={userInfo.userProfileIdEncrypted}
133
      />
133
      />
134
    ),
134
    ),
135
  }
135
  }
Línea 136... Línea -...
136
 
-
 
137
  return {
-
 
138
    /* <main className="w-100">
-
 
139
      <div className="container">
-
 
140
        <div className="main d-flex flex-column" style={{ gap: '.5rem' }}>
-
 
141
          <ProfileCard {...{ ...userInfo, formatted_address: address }} />
-
 
142
          <ProfileWidget
-
 
143
            title="Experiencia"
-
 
144
            onEdit={() => setIsEdit(!isEdit)}
-
 
145
            onAdd={handleAdd}
-
 
146
            addUrl={`/profile/my-profiles/experience/${userInfo.userProfileIdEncrypted}/operation/add`}
-
 
147
          >
-
 
148
            {experiences.map((experience, index) => {
-
 
149
              return (
-
 
150
                <ExperienceCard
-
 
151
                  key={index}
-
 
152
                  experience={experience}
-
 
153
                  months={userInfo.months}
-
 
154
                  isEdit={isEdit}
-
 
155
                  onEdit={handleEdit}
-
 
156
                  setExperiences={(newExperiences) =>
-
 
157
                    setExperiences(newExperiences)
-
 
158
                  }
-
 
159
                />
-
 
160
              )
-
 
161
            })}
-
 
162
          </ProfileWidget>
-
 
163
          <ProfileWidget
-
 
164
            title="Educación"
-
 
165
            onEdit={() => setIsEdit(!isEdit)}
-
 
166
            onAdd={handleAdd}
-
 
167
            addUrl={`/profile/my-profiles/education/${userInfo.userProfileIdEncrypted}/operation/add`}
-
 
168
          >
-
 
169
            {educations.map((education, index) => {
-
 
170
              return (
-
 
171
                <EducationCard
-
 
172
                  key={index}
-
 
173
                  education={education}
-
 
174
                  isEdit={isEdit}
-
 
175
                  onEdit={handleEdit}
-
 
176
                  setEducations={(newEducations) =>
-
 
177
                    setEducations(newEducations)
-
 
178
                  }
-
 
179
                />
-
 
180
              )
-
 
181
            })}
-
 
182
          </ProfileWidget>
-
 
183
          <ProfileWidget
-
 
184
            title="Ubicación"
-
 
185
            onEdit={() => setModalShow('Ubicación')}
-
 
186
            justEdit
-
 
187
          >
-
 
188
            <div className="card__items">
-
 
189
              <p>{address}</p>
-
 
190
            </div>
-
 
191
          </ProfileWidget>
-
 
192
          <ProfileWidget
-
 
193
            title="Idiomas"
-
 
194
            onEdit={() => setModalShow('Idiomas')}
-
 
195
            justEdit
-
 
196
          >
-
 
197
            {!languages.length ? (
-
 
198
              <EmptySection align="left" message="Sin información" />
-
 
199
            ) : (
-
 
200
              <ItemsList value={languages} />
-
 
201
            )}
-
 
202
          </ProfileWidget>
-
 
203
          <ProfileWidget
-
 
204
            title="Habilidades"
-
 
205
            onEdit={() => setModalShow('Habilidades')}
-
 
206
            justEdit
-
 
207
          >
-
 
208
            {!skills.length ? (
-
 
209
              <EmptySection align="left" message="Sin información" />
-
 
210
            ) : (
-
 
211
              <ItemsList value={skills} />
-
 
212
            )}
-
 
213
          </ProfileWidget>
-
 
214
          <ProfileWidget
-
 
215
            title="Aptitudes"
-
 
216
            onEdit={() => setModalShow('Aptitudes')}
-
 
217
            justEdit
-
 
218
          >
-
 
219
            {!aptitudes.length ? (
-
 
220
              <EmptySection align="left" message="Sin información" />
-
 
221
            ) : (
-
 
222
              <ItemsList value={aptitudes} />
-
 
223
            )}
-
 
224
          </ProfileWidget>
136
 
225
          <ProfileWidget
-
 
226
            title="Pasatiempos e intereses"
-
 
227
            onEdit={() => setModalShow('Hobbies e Intereses')}
-
 
228
            justEdit
-
 
229
          >
-
 
230
            {!hobbiesAndInterests.length ? (
-
 
231
              <EmptySection align="left" message="Sin información" />
-
 
232
            ) : (
-
 
233
              <ItemsList value={hobbiesAndInterests} />
-
 
234
            )}
-
 
235
          </ProfileWidget>
-
 
236
          {renderModal[modalShow]}
-
 
237
        </div>
-
 
238
      </div>
-
 
239
    </main> */
-
 
240
  }
137
  return <h1>Hello</h1>
Línea 241... Línea 138...
241
}
138
}