style: adding header to top of profile page (#5285)
This commit is contained in:
parent
b48af759f1
commit
f1990ff001
@ -33,6 +33,21 @@ const ProfilePageColumn = styled(Column)`
|
|||||||
${ScreenBreakpointsPaddings}
|
${ScreenBreakpointsPaddings}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
const ProfileHeader = styled.div`
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 38px;
|
||||||
|
padding-bottom: 16px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
border-bottom: 1px solid ${({ theme }) => theme.backgroundOutline};
|
||||||
|
|
||||||
|
@media only screen and (max-width: ${({ theme }) => `${theme.breakpoint.sm}px`}) {
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 28px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
`
|
||||||
|
|
||||||
export const DEFAULT_WALLET_ASSET_QUERY_AMOUNT = 25
|
export const DEFAULT_WALLET_ASSET_QUERY_AMOUNT = 25
|
||||||
const FILTER_SIDEBAR_WIDTH = 300
|
const FILTER_SIDEBAR_WIDTH = 300
|
||||||
const PADDING = 16
|
const PADDING = 16
|
||||||
@ -83,6 +98,8 @@ export const ProfilePage = () => {
|
|||||||
{ownerAssets?.length === 0 ? (
|
{ownerAssets?.length === 0 ? (
|
||||||
<EmptyWalletContent />
|
<EmptyWalletContent />
|
||||||
) : (
|
) : (
|
||||||
|
<>
|
||||||
|
<ProfileHeader>My NFTs</ProfileHeader>
|
||||||
<Row alignItems="flex-start" position="relative">
|
<Row alignItems="flex-start" position="relative">
|
||||||
<FilterSidebar />
|
<FilterSidebar />
|
||||||
|
|
||||||
@ -143,6 +160,7 @@ export const ProfilePage = () => {
|
|||||||
</Column>
|
</Column>
|
||||||
)}
|
)}
|
||||||
</Row>
|
</Row>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
{sellAssets.length > 0 && (
|
{sellAssets.length > 0 && (
|
||||||
<Row
|
<Row
|
||||||
|
Loading…
Reference in New Issue
Block a user