1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

components reorganisation

This commit is contained in:
Matthias Kretschmann 2019-03-25 18:03:49 +01:00
parent d4c8d05477
commit 19c4d1c662
Signed by: m
GPG Key ID: 606EEEF3C479A91F
13 changed files with 16 additions and 16 deletions

View File

@ -2,8 +2,8 @@ import React, { Component } from 'react'
import Web3 from 'web3'
import { BrowserRouter as Router } from 'react-router-dom'
import { Logger } from '@oceanprotocol/squid'
import Header from './components/Header'
import Footer from './components/Footer'
import Header from './components/organisms/Header'
import Footer from './components/organisms/Footer'
import Spinner from './components/atoms/Spinner'
import { User } from './context/User'
import { provideOcean } from './ocean'

View File

@ -3,7 +3,7 @@ import { Link } from 'react-router-dom'
import { Logger } from '@oceanprotocol/squid'
import { User } from '../../context/User'
import Spinner from '../atoms/Spinner'
import Asset from './Asset'
import Asset from '../molecules/Asset'
import styles from './AssetsUser.module.scss'
export default class AssetsUser extends PureComponent<

View File

@ -1,4 +1,4 @@
@import '../styles/variables';
@import '../../styles/variables';
.footer {
color: $brand-grey-light;

View File

@ -1,8 +1,8 @@
import React from 'react'
import Content from '../components/atoms/Content'
import Content from '../atoms/Content'
import styles from './Footer.module.scss'
import meta from '../data/meta.json'
import meta from '../../data/meta.json'
const Footer = () => (
<footer className={styles.footer}>

View File

@ -1,4 +1,4 @@
@import '../styles/variables';
@import '../../styles/variables';
.header {
width: 100%;
@ -6,7 +6,7 @@
}
.headerContent {
composes: wide from './atoms/Content.module.scss';
composes: wide from '../atoms/Content.module.scss';
display: flex;
align-items: center;
}

View File

@ -1,11 +1,11 @@
import React from 'react'
import { NavLink } from 'react-router-dom'
import { ReactComponent as Logo } from '@oceanprotocol/art/logo/logo.svg'
import AccountStatus from './molecules/AccountStatus/'
import AccountStatus from '../molecules/AccountStatus'
import styles from './Header.module.scss'
import menu from '../data/menu.json'
import meta from '../data/meta.json'
import menu from '../../data/menu.json'
import meta from '../../data/meta.json'
const Header = () => (
<header className={styles.header}>

View File

@ -1,6 +1,6 @@
import React, { PureComponent } from 'react'
import Button from '../atoms/Button'
import AccountStatus from './AccountStatus/'
import AccountStatus from '../molecules/AccountStatus'
import styles from './Web3message.module.scss'
import { User } from '../../context/User'

View File

@ -3,7 +3,7 @@ import Route from '../components/templates/Route'
import Button from '../components/atoms/Button'
import Spinner from '../components/atoms/Spinner'
import { User } from '../context/User'
import Web3message from '../components/molecules/Web3message'
import Web3message from '../components/organisms/Web3message'
import styles from './Faucet.module.scss'
interface FaucetState {

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'
import Route from '../components/templates/Route'
import AssetsUser from '../components/molecules/AssetsUser'
import AssetsUser from '../components/organisms/AssetsUser'
export default class History extends Component {
public render() {

View File

@ -3,7 +3,7 @@ import Button from '../components/atoms/Button'
import Form from '../components/atoms/Form/Form'
import Input from '../components/atoms/Form/Input'
import Route from '../components/templates/Route'
import AssetsUser from '../components/molecules/AssetsUser'
import AssetsUser from '../components/organisms/AssetsUser'
import styles from './Home.module.scss'
import meta from '../data/meta.json'

View File

@ -1,5 +1,5 @@
import React, { PureComponent } from 'react'
import Web3message from '../../components/molecules/Web3message'
import Web3message from '../../components/organisms/Web3message'
import Spinner from '../../components/atoms/Spinner'
import styles from './StepRegisterContent.module.scss'