mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
file reorg
This commit is contained in:
parent
4def756c8d
commit
f3c5812ef1
@ -1,12 +1,12 @@
|
|||||||
import React, { ReactElement } from 'react'
|
import React, { ReactElement } from 'react'
|
||||||
import { useUserPreferences } from '../../../providers/UserPreferences'
|
import { useUserPreferences } from '../../../../providers/UserPreferences'
|
||||||
import { accountTruncate } from '../../../utils/web3'
|
import { accountTruncate } from '../../../../utils/web3'
|
||||||
import ExplorerLink from '../../atoms/ExplorerLink'
|
import ExplorerLink from '../../../atoms/ExplorerLink'
|
||||||
import NetworkName from '../../atoms/NetworkName'
|
import NetworkName from '../../../atoms/NetworkName'
|
||||||
import jellyfish from '@oceanprotocol/art/creatures/jellyfish/jellyfish-grid.svg'
|
import jellyfish from '@oceanprotocol/art/creatures/jellyfish/jellyfish-grid.svg'
|
||||||
|
import Copy from '../../../atoms/Copy'
|
||||||
|
import Blockies from '../../../atoms/Blockies'
|
||||||
import styles from './Account.module.css'
|
import styles from './Account.module.css'
|
||||||
import Copy from '../../atoms/Copy'
|
|
||||||
import Blockies from '../../atoms/Blockies'
|
|
||||||
|
|
||||||
export default function Account({
|
export default function Account({
|
||||||
name,
|
name,
|
@ -24,5 +24,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.linksExternal {
|
.linksExternal {
|
||||||
composes: linksExternal from '../../atoms/Publisher/index.module.css';
|
composes: linksExternal from '../../../atoms/Publisher/index.module.css';
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
import React, { ReactElement } from 'react'
|
import React, { ReactElement } from 'react'
|
||||||
import classNames from 'classnames/bind'
|
import classNames from 'classnames/bind'
|
||||||
import { ProfileLink } from '../../../models/Profile'
|
import { ProfileLink } from '../../../../models/Profile'
|
||||||
import { ReactComponent as External } from '../../../images/external.svg'
|
import { ReactComponent as External } from '../../../../images/external.svg'
|
||||||
import styles from './PublisherLinks.module.css'
|
import styles from './PublisherLinks.module.css'
|
||||||
|
|
||||||
const cx = classNames.bind(styles)
|
const cx = classNames.bind(styles)
|
@ -1,20 +1,20 @@
|
|||||||
import { DDO, Logger } from '@oceanprotocol/lib'
|
import { DDO, Logger } from '@oceanprotocol/lib'
|
||||||
import React, { useEffect, useState } from 'react'
|
import React, { useEffect, useState } from 'react'
|
||||||
import { ReactElement } from 'react-markdown'
|
import { ReactElement } from 'react-markdown'
|
||||||
import { useUserPreferences } from '../../../providers/UserPreferences'
|
import { useUserPreferences } from '../../../../providers/UserPreferences'
|
||||||
import {
|
import {
|
||||||
getAccountLiquidityInOwnAssets,
|
getAccountLiquidityInOwnAssets,
|
||||||
getAccountNumberOfOrders,
|
getAccountNumberOfOrders,
|
||||||
getAssetsBestPrices,
|
getAssetsBestPrices,
|
||||||
UserTVL
|
UserTVL
|
||||||
} from '../../../utils/subgraph'
|
} from '../../../../utils/subgraph'
|
||||||
import Conversion from '../../atoms/Price/Conversion'
|
import Conversion from '../../../atoms/Price/Conversion'
|
||||||
import NumberUnit from '../../molecules/NumberUnit'
|
import NumberUnit from '../../../molecules/NumberUnit'
|
||||||
import styles from './Stats.module.css'
|
import styles from './Stats.module.css'
|
||||||
import {
|
import {
|
||||||
queryMetadata,
|
queryMetadata,
|
||||||
transformChainIdsListToQuery
|
transformChainIdsListToQuery
|
||||||
} from '../../../utils/aquarius'
|
} from '../../../../utils/aquarius'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
|
||||||
export default function Stats({
|
export default function Stats({
|
@ -1,5 +1,5 @@
|
|||||||
.grid {
|
.grid {
|
||||||
composes: box from '../../atoms/Box.module.css';
|
composes: box from '../../../atoms/Box.module.css';
|
||||||
background: var(--background-body-transparent);
|
background: var(--background-body-transparent);
|
||||||
backdrop-filter: blur(3px);
|
backdrop-filter: blur(3px);
|
||||||
position: relative;
|
position: relative;
|
@ -1,13 +1,13 @@
|
|||||||
import React, { ReactElement, useEffect, useState } from 'react'
|
import React, { ReactElement, useEffect, useState } from 'react'
|
||||||
import get3BoxProfile from '../../../utils/profile'
|
import get3BoxProfile from '../../../../utils/profile'
|
||||||
import { Profile } from '../../../models/Profile'
|
import { Profile } from '../../../../models/Profile'
|
||||||
import { accountTruncate } from '../../../utils/web3'
|
import { accountTruncate } from '../../../../utils/web3'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import PublisherLinks from './PublisherLinks'
|
import PublisherLinks from './PublisherLinks'
|
||||||
import Markdown from '../../atoms/Markdown'
|
import Markdown from '../../../atoms/Markdown'
|
||||||
import Stats from './Stats'
|
import Stats from './Stats'
|
||||||
import Account from './Account'
|
import Account from './Account'
|
||||||
import styles from './Header.module.css'
|
import styles from './index.module.css'
|
||||||
|
|
||||||
const isDescriptionTextClamped = () => {
|
const isDescriptionTextClamped = () => {
|
||||||
const el = document.getElementById('description')
|
const el = document.getElementById('description')
|
Loading…
Reference in New Issue
Block a user