feat: replace uk-icons with react-icons/go

This commit is contained in:
41666 2020-05-07 23:25:58 -04:00
parent 0c321e8b1e
commit 194cef6abc
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF
13 changed files with 110 additions and 91 deletions

View file

@ -1,18 +1,18 @@
import React, { Fragment } from 'react'
import * as React from 'react'
import { GoX, GoThumbsup } from 'react-icons/go'
import goodImg from './images/whynoroles-good.png'
import badImg from './images/whynoroles-bad.png'
const WhyNoRoles = props => {
const WhyNoRoles = (props) => {
return (
<Fragment>
<>
<h2>Why don't I see any roles in my editor?</h2>
<p>
Roleypoly needs to be a higher role position than other roles in order to assign
them to anyone.
</p>
<h3 className="pages__bad">
Bad <i uk-icon="icon: ban"></i>
Bad <GoX className="smol-bump" />
</h3>
<img src={badImg} className="rp-discord" alt="Bad example" />
<p>
@ -20,13 +20,13 @@ const WhyNoRoles = props => {
any roles above it.
</p>
<h3 className="pages__good">
Good <i uk-icon="icon: check"></i>
Good <GoThumbsup className="smol-bump" />
</h3>
<img src={goodImg} className="rp-discord" alt="Good example" />
<p>
In this example, Roleypoly is above other roles, and will be able to assign them.
</p>
</Fragment>
</>
)
}