Move components into a folder
This commit is contained in:
parent
5db667bd3a
commit
cc24126a47
13 changed files with 14 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import React, {useState, useEffect} from 'react'
|
||||
import './App.css'
|
||||
|
||||
import Header from './Header/Header'
|
||||
import Header from './components/Header/Header'
|
||||
import Main from './Main/Main'
|
||||
|
||||
function App() {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import React from 'react'
|
||||
import './Button.css'
|
||||
|
||||
import New from '../../assets/new.svg'
|
||||
import Menu from '../../assets/menu.svg'
|
||||
import Link from '../../assets/link.svg'
|
||||
import New from '../../../assets/new'
|
||||
import Menu from '../../../assets/menu'
|
||||
import Link from '../../../assets/link'
|
||||
|
||||
interface Props {
|
||||
type: string
|
||||
|
|
@ -22,4 +22,8 @@
|
|||
color: #c9c9c9;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.WeaponGridMainhand:hover .icon {
|
||||
color: #555;
|
||||
}
|
||||
|
|
@ -21,4 +21,8 @@
|
|||
color: #c9c9c9;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.WeaponGridUnit:hover .icon {
|
||||
color: #555;
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
import React from 'react'
|
||||
import WeaponGrid from '../../WeaponGrid/WeaponGrid'
|
||||
import WeaponGrid from '../../components/WeaponGrid/WeaponGrid'
|
||||
|
||||
const New = () => (
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import React from 'react'
|
||||
import {withRouter} from 'react-router'
|
||||
import { withRouter } from 'react-router'
|
||||
|
||||
class Party extends React.Component {
|
||||
render() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue