Progress on group account search

Added group member search, group removed account, album add styles
This commit is contained in:
mgabdev
2020-12-20 19:28:32 -05:00
parent 67eb9d5890
commit 1a8ecc672c
20 changed files with 225 additions and 94 deletions

View File

@@ -67,6 +67,13 @@ class AccountAlbums extends ImmutablePureComponent {
// }
render() {
const {
account,
isMe,
} = this.props
if (!account) return null
return (
<Block>
<div className={[_s.d, _s.px10, _s.py10].join(' ')}>
@@ -76,18 +83,18 @@ class AccountAlbums extends ImmutablePureComponent {
<TabBar tabs={[
{
title: 'All Photos',
to: '/'
to: `/${account.get('username')}/photos`,
},
{
title: 'Albums',
isActive: true,
to: '/'
to: `/${account.get('username')}/albums`,
},
]}/>
</div>
<div className={[_s.d, _s.w100PC, _s.flexRow, _s.flexWrap, _s.px10, _s.mb15, _s.pb10].join(' ')}>
<Album />
{ isMe && <Album isAddable /> }
<Album />
<Album />
<Album />
@@ -111,7 +118,7 @@ class AccountAlbums extends ImmutablePureComponent {
// account,
// } = this.props
// if (!account) return null
// return (
// <Block>