Browse Source

fix(contacts): rename component folder to contacts

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
fc14bc66b9
  1. 0
      app/components/Contacts/ClosingContact.js
  2. 0
      app/components/Contacts/Contact.scss
  3. 0
      app/components/Contacts/Donut.js
  4. 0
      app/components/Contacts/Donut.scss
  5. 0
      app/components/Contacts/FriendsForm.js
  6. 0
      app/components/Contacts/FriendsForm.scss
  7. 0
      app/components/Contacts/OfflineContact.js
  8. 0
      app/components/Contacts/OnlineContact.js
  9. 0
      app/components/Contacts/OnlineContact.scss
  10. 0
      app/components/Contacts/PendingContact.js
  11. 12
      app/routes/friends/components/Friends.js
  12. 14
      app/routes/friends/components/Friends.scss

0
app/components/Friends/ClosingContact.js → app/components/Contacts/ClosingContact.js

0
app/components/Friends/Contact.scss → app/components/Contacts/Contact.scss

0
app/components/Friends/Donut.js → app/components/Contacts/Donut.js

0
app/components/Friends/Donut.scss → app/components/Contacts/Donut.scss

0
app/components/Friends/FriendsForm.js → app/components/Contacts/FriendsForm.js

0
app/components/Friends/FriendsForm.scss → app/components/Contacts/FriendsForm.scss

0
app/components/Friends/OfflineContact.js → app/components/Contacts/OfflineContact.js

0
app/components/Friends/OnlineContact.js → app/components/Contacts/OnlineContact.js

0
app/components/Friends/OnlineContact.scss → app/components/Contacts/OnlineContact.scss

0
app/components/Friends/PendingContact.js → app/components/Contacts/PendingContact.js

12
app/routes/friends/components/Friends.js

@ -8,11 +8,11 @@ import { FaAngleDown, FaRepeat } from 'react-icons/lib/fa'
import { btc } from 'utils'
import FriendsForm from 'components/Friends/FriendsForm'
import OnlineContact from 'components/Friends/OnlineContact'
import PendingContact from 'components/Friends/PendingContact'
import ClosingContact from 'components/Friends/ClosingContact'
import OfflineContact from 'components/Friends/OfflineContact'
import FriendsForm from 'components/Contacts/FriendsForm'
import OnlineContact from 'components/Contacts/OnlineContact'
import PendingContact from 'components/Contacts/PendingContact'
import ClosingContact from 'components/Contacts/ClosingContact'
import OfflineContact from 'components/Contacts/OfflineContact'
import plus from 'icons/plus.svg'
@ -151,8 +151,6 @@ class Friends extends Component {
<ul className={`${styles.friends} ${filterPulldown && styles.fade}`}>
{
currentChannels.length > 0 && currentChannels.map((channel, index) => {
console.log('channel: ', channel)
if (channel.active) {
return <OnlineContact channel={channel} key={index} />
} else if (!channel.active) {

14
app/routes/friends/components/Friends.scss

@ -88,6 +88,7 @@
display: flex;
flex-direction: row;
justify-content: space-between;
margin-top: 20px;
padding: 20px 40px;
h2, h2 span {
@ -137,10 +138,21 @@
cursor: pointer;
.refresh {
text-decoration: underline;
cursor: pointer;
color: $darkestgrey;
transition: all 0.25s;
&:hover {
color: $main;
}
svg {
font-size: 12px;
color: $darkestgrey;
&:hover {
color: $darkestgrey;
}
}
}
}

Loading…
Cancel
Save