Browse Source

Fixed FontAwesome

fixed
master
Unknown 7 years ago
parent
commit
2a410face2
2 changed files with 3 additions and 2 deletions
  1. +1
    -0
      googletrendsgame/public/index.html
  2. +2
    -2
      googletrendsgame/src/components/User.js

+ 1
- 0
googletrendsgame/public/index.html View File

@ -19,6 +19,7 @@
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
<!--<script src="./scripts/index.js"></script>
<script type="text/javascript" src="./scripts/three.min.js"></script>
<script type="text/javascript" src="./scripts/perlin.js"></script>

+ 2
- 2
googletrendsgame/src/components/User.js View File

@ -17,7 +17,7 @@ export default (props) => {
<div>
<div>Name: {name}</div>
<div>Score: {score}</div>
<FontAwesome name='check-circle' />
<i className="far fa-check-circle"></i>
</div>
)
} else {
@ -26,7 +26,7 @@ export default (props) => {
<div>
<div>Name: {name}</div>
<div>Score: {score}</div>
<FontAwesome name='times-circle' />
<i className="far fa-times-circle"></i>
</div>
)
}

Loading…
Cancel
Save