Compare commits

...

2 Commits

Author SHA1 Message Date
d18dfae32d summary empty 2024-07-18 17:26:32 +03:00
7bf0243dbe summary empty 2024-07-18 17:26:23 +03:00
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>