new: profile box. fix: landing page latest mods #31

Merged
freakoverse merged 5 commits from staging into master 2024-09-03 10:06:15 +00:00
Showing only changes of commit c44a28f755 - Show all commits

View File

@ -82,8 +82,9 @@ export const ProfileSection = ({ pubkey }: Props) => {
<div
className='IBMSMSMSSS_Author_Top_PP'
style={{
background:
"url('assets/img/DEG%20Mods%20Default%20PP.png') center / cover no-repeat"
background: `url('${
profile.image || ''
}') center / cover no-repeat`
}}
></div>
</div>
@ -132,7 +133,9 @@ export const ProfileSection = ({ pubkey }: Props) => {
</div>
</div>
<div className='IBMSMSMSSS_Author_Top_Details'>
<p className='IBMSMSMSSS_Author_Top_Bio'>{profile.bio}</p>
<p className='IBMSMSMSSS_Author_Top_Bio'>
{profile.bio || profile.about}
</p>
<div
id='OwnerFollowLogin'
className='IBMSMSMSSS_Author_Top_NostrLinks'