Merge pull request 'summary_fix' (#37) from summary_fix into main

Reviewed-on: #37
This commit is contained in:
Николай Полтщук 2024-07-18 17:27:55 +03:00
commit 268ff58ccd
2 changed files with 785 additions and 133 deletions

907
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -210,12 +210,17 @@ export const Summary = () => {
{selectedSkills.length > index + 1 && ","} {selectedSkills.length > index + 1 && ","}
</span> </span>
))} ))}
{Boolean(!selectedSkills?.length) && (
<p style={{ fontSize: "16px", fontWeight: "400" }}>
Данные не заполнены
</p>
)}
</div> </div>
)} )}
</div> </div>
</div> </div>
)} )}
{profileInfo.vc_text && !openGit && ( {!openGit && (
<div className="summary__experience"> <div className="summary__experience">
<div className="experience__block"> <div className="experience__block">
<div className="summary__sections__head"> <div className="summary__sections__head">
@ -258,7 +263,9 @@ export const Summary = () => {
) : ( ) : (
<div <div
className="experience__content" className="experience__content"
dangerouslySetInnerHTML={{ __html: summary }} dangerouslySetInnerHTML={{
__html: summary ? summary : "<p>Данные не заполнены</p>"
}}
></div> ></div>
)} )}
</div> </div>