added wrapping div .IBMSMSplitMainSmallSideSecWrapper
All checks were successful
Release to Staging / build_and_release (push) Successful in 42s
All checks were successful
Release to Staging / build_and_release (push) Successful in 42s
This commit is contained in:
parent
563119e1a1
commit
9c2ec3a5ea
@ -5,150 +5,152 @@ import '../styles/socialPosts.css'
|
|||||||
export const ProfileSection = () => {
|
export const ProfileSection = () => {
|
||||||
return (
|
return (
|
||||||
<div className='IBMSMSplitMainSmallSide'>
|
<div className='IBMSMSplitMainSmallSide'>
|
||||||
<div className='IBMSMSplitMainSmallSideSec'>
|
<div className='IBMSMSplitMainSmallSideSecWrapper'>
|
||||||
<div className='IBMSMSMSSS_Author'>
|
<div className='IBMSMSplitMainSmallSideSec'>
|
||||||
<div className='IBMSMSMSSS_Author_Top'>
|
<div className='IBMSMSMSSS_Author'>
|
||||||
<div className='IBMSMSMSSS_Author_Top_Left'>
|
<div className='IBMSMSMSSS_Author_Top'>
|
||||||
<a
|
<div className='IBMSMSMSSS_Author_Top_Left'>
|
||||||
className='IBMSMSMSSS_Author_Top_Left_InsideLinkWrapper'
|
<a
|
||||||
href='profile.html'
|
className='IBMSMSMSSS_Author_Top_Left_InsideLinkWrapper'
|
||||||
>
|
href='profile.html'
|
||||||
<div className='IBMSMSMSSS_Author_Top_Left_Inside'>
|
>
|
||||||
<div className='IBMSMSMSSS_Author_Top_Left_InsidePic'>
|
<div className='IBMSMSMSSS_Author_Top_Left_Inside'>
|
||||||
<div className='IBMSMSMSSS_Author_Top_PPWrapper'>
|
<div className='IBMSMSMSSS_Author_Top_Left_InsidePic'>
|
||||||
<div
|
<div className='IBMSMSMSSS_Author_Top_PPWrapper'>
|
||||||
className='IBMSMSMSSS_Author_Top_PP'
|
<div
|
||||||
style={{
|
className='IBMSMSMSSS_Author_Top_PP'
|
||||||
background:
|
style={{
|
||||||
"url('/assets/img/media-cache%20(4).png') center / cover no-repeat"
|
background:
|
||||||
}}
|
"url('/assets/img/media-cache%20(4).png') center / cover no-repeat"
|
||||||
></div>
|
}}
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className='IBMSMSMSSS_Author_Top_Left_InsideDetails'>
|
||||||
|
<div className='IBMSMSMSSS_Author_TopWrapper'>
|
||||||
|
<p className='IBMSMSMSSS_Author_Top_Name'>
|
||||||
|
{author.name}
|
||||||
|
</p>
|
||||||
|
<p className='IBMSMSMSSS_Author_Top_Handle'>
|
||||||
|
{author.handle}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='IBMSMSMSSS_Author_Top_Left_InsideDetails'>
|
</a>
|
||||||
<div className='IBMSMSMSSS_Author_TopWrapper'>
|
<div className='IBMSMSMSSS_Author_Top_AddressWrapper'>
|
||||||
<p className='IBMSMSMSSS_Author_Top_Name'>
|
<div className='IBMSMSMSSS_Author_Top_AddressWrapped'>
|
||||||
{author.name}
|
<p
|
||||||
</p>
|
id='SiteOwnerAddress'
|
||||||
<p className='IBMSMSMSSS_Author_Top_Handle'>
|
className='IBMSMSMSSS_Author_Top_Address'
|
||||||
{author.handle}
|
>
|
||||||
</p>
|
{author.address}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className='IBMSMSMSSS_Author_Top_IconWrapper'>
|
||||||
|
<div
|
||||||
|
id='copySiteOwnerAddress'
|
||||||
|
className='IBMSMSMSSS_Author_Top_IconWrapped'
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
xmlns='http://www.w3.org/2000/svg'
|
||||||
|
viewBox='0 0 512 512'
|
||||||
|
width='1em'
|
||||||
|
height='1em'
|
||||||
|
fill='currentColor'
|
||||||
|
className='IBMSMSMSSS_Author_Top_Icon'
|
||||||
|
>
|
||||||
|
<path d='M384 96L384 0h-112c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48H464c26.51 0 48-21.49 48-48V128h-95.1C398.4 128 384 113.6 384 96zM416 0v96h96L416 0zM192 352V128h-144c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h192c26.51 0 48-21.49 48-48L288 416h-32C220.7 416 192 387.3 192 352z'></path>
|
||||||
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
|
<div className='IBMSMSMSSS_Author_Top_IconWrapped IBMSMSMSSS_Author_Top_IconWrappedQR'>
|
||||||
|
<svg
|
||||||
|
xmlns='http://www.w3.org/2000/svg'
|
||||||
|
viewBox='-32 0 512 512'
|
||||||
|
width='1em'
|
||||||
|
height='1em'
|
||||||
|
fill='currentColor'
|
||||||
|
className='IBMSMSMSSS_Author_Top_Icon'
|
||||||
|
>
|
||||||
|
<path d='M144 32C170.5 32 192 53.49 192 80V176C192 202.5 170.5 224 144 224H48C21.49 224 0 202.5 0 176V80C0 53.49 21.49 32 48 32H144zM128 96H64V160H128V96zM144 288C170.5 288 192 309.5 192 336V432C192 458.5 170.5 480 144 480H48C21.49 480 0 458.5 0 432V336C0 309.5 21.49 288 48 288H144zM128 352H64V416H128V352zM256 80C256 53.49 277.5 32 304 32H400C426.5 32 448 53.49 448 80V176C448 202.5 426.5 224 400 224H304C277.5 224 256 202.5 256 176V80zM320 160H384V96H320V160zM352 448H384V480H352V448zM448 480H416V448H448V480zM416 288H448V416H352V384H320V480H256V288H352V320H416V288z'></path>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<a
|
||||||
|
className='IBMSMSMSSS_Author_Top_IconWrapped'
|
||||||
|
href='https://primal.net/p/npub18n4ysp43ux5c98fs6h9c57qpr4p8r3j8f6e32v0vj8egzy878aqqyzzk9r'
|
||||||
|
target='_blank'
|
||||||
|
rel='noopener noreferrer'
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
xmlns='http://www.w3.org/2000/svg'
|
||||||
|
viewBox='-32 0 512 512'
|
||||||
|
width='1em'
|
||||||
|
height='1em'
|
||||||
|
fill='currentColor'
|
||||||
|
className='IBMSMSMSSS_Author_Top_Icon'
|
||||||
|
>
|
||||||
|
<path d='M256 64C256 46.33 270.3 32 288 32H415.1C415.1 32 415.1 32 415.1 32C420.3 32 424.5 32.86 428.2 34.43C431.1 35.98 435.5 38.27 438.6 41.3C438.6 41.35 438.6 41.4 438.7 41.44C444.9 47.66 447.1 55.78 448 63.9C448 63.94 448 63.97 448 64V192C448 209.7 433.7 224 416 224C398.3 224 384 209.7 384 192V141.3L214.6 310.6C202.1 323.1 181.9 323.1 169.4 310.6C156.9 298.1 156.9 277.9 169.4 265.4L338.7 96H288C270.3 96 256 81.67 256 64V64zM0 128C0 92.65 28.65 64 64 64H160C177.7 64 192 78.33 192 96C192 113.7 177.7 128 160 128H64V416H352V320C352 302.3 366.3 288 384 288C401.7 288 416 302.3 416 320V416C416 451.3 387.3 480 352 480H64C28.65 480 0 451.3 0 416V128z'></path>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className='IBMSMSMSSS_Author_Top_Details'>
|
||||||
|
<p className='IBMSMSMSSS_Author_Top_Bio'>{author.bio}</p>
|
||||||
|
<div
|
||||||
|
id='OwnerFollowLogin'
|
||||||
|
className='IBMSMSMSSS_Author_Top_NostrLinks'
|
||||||
|
style={{ display: 'flex' }}
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<button className='btn btnMain' type='button'>
|
||||||
|
Follow
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className='IBMSMSplitMainSmallSideSec'>
|
||||||
|
<div className='IBMSMSMSSS_ShortPosts'>
|
||||||
|
{posts.map((post, index) => (
|
||||||
|
<a
|
||||||
|
key={'post' + index}
|
||||||
|
className='IBMSMSMSSS_ShortPostsPostLink'
|
||||||
|
href={post.link}
|
||||||
|
>
|
||||||
|
<div className='IBMSMSMSSS_ShortPostsPost'>
|
||||||
|
<div className='IBMSMSMSSS_ShortPostsPost_Top'>
|
||||||
|
<p className='IBMSMSMSSS_ShortPostsPost_TopName'>
|
||||||
|
{post.name}
|
||||||
|
</p>
|
||||||
|
<div className='IBMSMSMSSS_ShortPostsPost_TopLink'>
|
||||||
|
<svg
|
||||||
|
xmlns='http://www.w3.org/2000/svg'
|
||||||
|
viewBox='-32 0 512 512'
|
||||||
|
width='1em'
|
||||||
|
height='1em'
|
||||||
|
fill='currentColor'
|
||||||
|
className='IBMSMSMSSS_ShortPostsPost_TopLinkIcon'
|
||||||
|
style={{ width: '100%', height: '100%' }}
|
||||||
|
>
|
||||||
|
<path d='M256 64C256 46.33 270.3 32 288 32H415.1C415.1 32 415.1 32 415.1 32C420.3 32 424.5 32.86 428.2 34.43C431.1 35.98 435.5 38.27 438.6 41.3C438.6 41.35 438.6 41.4 438.7 41.44C444.9 47.66 447.1 55.78 448 63.9C448 63.94 448 63.97 448 64V192C448 209.7 433.7 224 416 224C398.3 224 384 209.7 384 192V141.3L214.6 310.6C202.1 323.1 181.9 323.1 169.4 310.6C156.9 298.1 156.9 277.9 169.4 265.4L338.7 96H288C270.3 96 256 81.67 256 64V64zM0 128C0 92.65 28.65 64 64 64H160C177.7 64 192 78.33 192 96C192 113.7 177.7 128 160 128H64V416H352V320C352 302.3 366.3 288 384 288C401.7 288 416 302.3 416 320V416C416 451.3 387.3 480 352 480H64C28.65 480 0 451.3 0 416V128z'></path>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className='IBMSMSMSSS_ShortPostsPost_Bottom'>
|
||||||
|
<p>{post.content}</p>
|
||||||
|
{post.imageUrl && (
|
||||||
|
<div
|
||||||
|
className='IBMSMSMSSS_ShortPostsPost_BottomImg'
|
||||||
|
style={{
|
||||||
|
background: `linear-gradient(0deg, #232323 5%, rgba(255, 255, 255, 0)), url("${post.imageUrl}") top / cover no-repeat`
|
||||||
|
}}
|
||||||
|
></div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<div className='IBMSMSMSSS_Author_Top_AddressWrapper'>
|
))}
|
||||||
<div className='IBMSMSMSSS_Author_Top_AddressWrapped'>
|
|
||||||
<p
|
|
||||||
id='SiteOwnerAddress'
|
|
||||||
className='IBMSMSMSSS_Author_Top_Address'
|
|
||||||
>
|
|
||||||
{author.address}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div className='IBMSMSMSSS_Author_Top_IconWrapper'>
|
|
||||||
<div
|
|
||||||
id='copySiteOwnerAddress'
|
|
||||||
className='IBMSMSMSSS_Author_Top_IconWrapped'
|
|
||||||
>
|
|
||||||
<svg
|
|
||||||
xmlns='http://www.w3.org/2000/svg'
|
|
||||||
viewBox='0 0 512 512'
|
|
||||||
width='1em'
|
|
||||||
height='1em'
|
|
||||||
fill='currentColor'
|
|
||||||
className='IBMSMSMSSS_Author_Top_Icon'
|
|
||||||
>
|
|
||||||
<path d='M384 96L384 0h-112c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48H464c26.51 0 48-21.49 48-48V128h-95.1C398.4 128 384 113.6 384 96zM416 0v96h96L416 0zM192 352V128h-144c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h192c26.51 0 48-21.49 48-48L288 416h-32C220.7 416 192 387.3 192 352z'></path>
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
<div className='IBMSMSMSSS_Author_Top_IconWrapped IBMSMSMSSS_Author_Top_IconWrappedQR'>
|
|
||||||
<svg
|
|
||||||
xmlns='http://www.w3.org/2000/svg'
|
|
||||||
viewBox='-32 0 512 512'
|
|
||||||
width='1em'
|
|
||||||
height='1em'
|
|
||||||
fill='currentColor'
|
|
||||||
className='IBMSMSMSSS_Author_Top_Icon'
|
|
||||||
>
|
|
||||||
<path d='M144 32C170.5 32 192 53.49 192 80V176C192 202.5 170.5 224 144 224H48C21.49 224 0 202.5 0 176V80C0 53.49 21.49 32 48 32H144zM128 96H64V160H128V96zM144 288C170.5 288 192 309.5 192 336V432C192 458.5 170.5 480 144 480H48C21.49 480 0 458.5 0 432V336C0 309.5 21.49 288 48 288H144zM128 352H64V416H128V352zM256 80C256 53.49 277.5 32 304 32H400C426.5 32 448 53.49 448 80V176C448 202.5 426.5 224 400 224H304C277.5 224 256 202.5 256 176V80zM320 160H384V96H320V160zM352 448H384V480H352V448zM448 480H416V448H448V480zM416 288H448V416H352V384H320V480H256V288H352V320H416V288z'></path>
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
<a
|
|
||||||
className='IBMSMSMSSS_Author_Top_IconWrapped'
|
|
||||||
href='https://primal.net/p/npub18n4ysp43ux5c98fs6h9c57qpr4p8r3j8f6e32v0vj8egzy878aqqyzzk9r'
|
|
||||||
target='_blank'
|
|
||||||
rel='noopener noreferrer'
|
|
||||||
>
|
|
||||||
<svg
|
|
||||||
xmlns='http://www.w3.org/2000/svg'
|
|
||||||
viewBox='-32 0 512 512'
|
|
||||||
width='1em'
|
|
||||||
height='1em'
|
|
||||||
fill='currentColor'
|
|
||||||
className='IBMSMSMSSS_Author_Top_Icon'
|
|
||||||
>
|
|
||||||
<path d='M256 64C256 46.33 270.3 32 288 32H415.1C415.1 32 415.1 32 415.1 32C420.3 32 424.5 32.86 428.2 34.43C431.1 35.98 435.5 38.27 438.6 41.3C438.6 41.35 438.6 41.4 438.7 41.44C444.9 47.66 447.1 55.78 448 63.9C448 63.94 448 63.97 448 64V192C448 209.7 433.7 224 416 224C398.3 224 384 209.7 384 192V141.3L214.6 310.6C202.1 323.1 181.9 323.1 169.4 310.6C156.9 298.1 156.9 277.9 169.4 265.4L338.7 96H288C270.3 96 256 81.67 256 64V64zM0 128C0 92.65 28.65 64 64 64H160C177.7 64 192 78.33 192 96C192 113.7 177.7 128 160 128H64V416H352V320C352 302.3 366.3 288 384 288C401.7 288 416 302.3 416 320V416C416 451.3 387.3 480 352 480H64C28.65 480 0 451.3 0 416V128z'></path>
|
|
||||||
</svg>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className='IBMSMSMSSS_Author_Top_Details'>
|
|
||||||
<p className='IBMSMSMSSS_Author_Top_Bio'>{author.bio}</p>
|
|
||||||
<div
|
|
||||||
id='OwnerFollowLogin'
|
|
||||||
className='IBMSMSMSSS_Author_Top_NostrLinks'
|
|
||||||
style={{ display: 'flex' }}
|
|
||||||
></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<button className='btn btnMain' type='button'>
|
|
||||||
Follow
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className='IBMSMSplitMainSmallSideSec'>
|
|
||||||
<div className='IBMSMSMSSS_ShortPosts'>
|
|
||||||
{posts.map((post, index) => (
|
|
||||||
<a
|
|
||||||
key={'post' + index}
|
|
||||||
className='IBMSMSMSSS_ShortPostsPostLink'
|
|
||||||
href={post.link}
|
|
||||||
>
|
|
||||||
<div className='IBMSMSMSSS_ShortPostsPost'>
|
|
||||||
<div className='IBMSMSMSSS_ShortPostsPost_Top'>
|
|
||||||
<p className='IBMSMSMSSS_ShortPostsPost_TopName'>
|
|
||||||
{post.name}
|
|
||||||
</p>
|
|
||||||
<div className='IBMSMSMSSS_ShortPostsPost_TopLink'>
|
|
||||||
<svg
|
|
||||||
xmlns='http://www.w3.org/2000/svg'
|
|
||||||
viewBox='-32 0 512 512'
|
|
||||||
width='1em'
|
|
||||||
height='1em'
|
|
||||||
fill='currentColor'
|
|
||||||
className='IBMSMSMSSS_ShortPostsPost_TopLinkIcon'
|
|
||||||
style={{ width: '100%', height: '100%' }}
|
|
||||||
>
|
|
||||||
<path d='M256 64C256 46.33 270.3 32 288 32H415.1C415.1 32 415.1 32 415.1 32C420.3 32 424.5 32.86 428.2 34.43C431.1 35.98 435.5 38.27 438.6 41.3C438.6 41.35 438.6 41.4 438.7 41.44C444.9 47.66 447.1 55.78 448 63.9C448 63.94 448 63.97 448 64V192C448 209.7 433.7 224 416 224C398.3 224 384 209.7 384 192V141.3L214.6 310.6C202.1 323.1 181.9 323.1 169.4 310.6C156.9 298.1 156.9 277.9 169.4 265.4L338.7 96H288C270.3 96 256 81.67 256 64V64zM0 128C0 92.65 28.65 64 64 64H160C177.7 64 192 78.33 192 96C192 113.7 177.7 128 160 128H64V416H352V320C352 302.3 366.3 288 384 288C401.7 288 416 302.3 416 320V416C416 451.3 387.3 480 352 480H64C28.65 480 0 451.3 0 416V128z'></path>
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className='IBMSMSMSSS_ShortPostsPost_Bottom'>
|
|
||||||
<p>{post.content}</p>
|
|
||||||
{post.imageUrl && (
|
|
||||||
<div
|
|
||||||
className='IBMSMSMSSS_ShortPostsPost_BottomImg'
|
|
||||||
style={{
|
|
||||||
background: `linear-gradient(0deg, #232323 5%, rgba(255, 255, 255, 0)), url("${post.imageUrl}") top / cover no-repeat`
|
|
||||||
}}
|
|
||||||
></div>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
))}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user